{
  "format": "delx/intent-card/v1",
  "id": "is-weekend-api",
  "intent": "Weekend Date Check for an agent workflow",
  "title": "Weekend Date Check API for agents",
  "description": "Weekend check for a date. Call when routing work, quiet hours, or business-day logic in agents. Returns whether the date falls on Saturday or Sunday. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.",
  "keywords": [
    "Weekend Date Check API",
    "Weekend Date Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/is-weekend-api",
  "machine_url": "https://commerce.delx.ai/intents/is-weekend-api.json",
  "recommendation": {
    "tool_name": "util_is_weekend",
    "service_name": "Weekend Date Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/is-weekend",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "description": "date"
        }
      },
      "required": [
        "date"
      ]
    },
    "example_input": {
      "date": "2026-08-04T12:00:00Z"
    },
    "example_output": {
      "schema": "delx/is-weekend/v1",
      "date": "2026-08-04",
      "is_weekend": false,
      "weekday": "Tuesday"
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/is-weekend -m POST -H 'x-delx-source: intent-card-is-weekend-api' --max-amount 0.001 -b '{\"date\":\"2026-08-04T12:00:00Z\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-is-weekend-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/is-weekend"
  }
}
