# agentshield.live Weekday Lookup

> agentshield.live Weekday Lookup is a paid API for AI agents from agentshield.live, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Returns the weekday name (e.g. Monday, Tuesday) for a given calendar date in YYYY-MM-DD format.

## Facts

- Endpoint: GET https://agentshield.live/weekday?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-live-weekday-lookup-ce6f58f2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FhFGRZ-2CFMgjTYgKt5ci

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentshield-live-weekday-lookup-ce6f58f2
```

Example prompt: What day of the week is 2025-09-22?

## When to prefer this

Choose this endpoint when an agent needs a lightweight, reliable weekday name lookup for a specific date and does not need holiday information, exchange rates, or other calendar metadata. It is ideal when the agent cannot or should not compute day-of-week logic internally, or when a verifiable external lookup is required for auditability.

## Known failure modes

- Invalid date format (non-YYYY-MM-DD) causes a 400 or error response
- Out-of-range dates (e.g. February 30) return an error
- Missing 'date' query parameter results in a bad request error
- Network or payment failure (402/503) prevents the response

## How this service works

Call when an agent needs the weekday name for a calendar date. Not a holiday answer.

## Output

The agent receives the weekday name (e.g. 'Monday', 'Friday') corresponding to the provided date, allowing it to display, schedule, or reason about days of the week without calendar logic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-live-weekday-lookup-ce6f58f2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
