# time-iso-week

> time-iso-week is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Returns the ISO week number, ISO year, and ISO weekday for a given date

## Facts

- Endpoint: GET https://x402.agentindex.world/time/iso-week?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/time-iso-week-14102a75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i8sB6aCE2R0QL6bq17WA-

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 time-iso-week-14102a75
```

Example prompt: What ISO week number and weekday does January 5, 2026 fall on?

## When to prefer this

Use this endpoint when you need standards-compliant ISO 8601 week numbering, especially for business reporting, sprint planning, payroll cycles, or any system that requires week numbers rather than just day/month — particularly when year-boundary edge cases matter (e.g. Dec 29–31 may belong to ISO week 1 of the following year).

## Known failure modes

- Missing or malformed date string returns an error or unexpected result
- Dates near year boundaries may return an iso_year different from the calendar year, which can surprise callers
- No date provided defaults to current date or returns an error depending on implementation

## How this service works

Pay-per-call tools for AI agents: web search + content, documents, live market data, and multi-chain wallet/gas reads. Mainnet test from $0.000001 USDC on Base. Pay-per-call tools for AI agents in USDC on Base (x402/MPP): search, pdf, web-read, extract, summarize, fact-check, translate, jobs, discover. See GET /capabilities.

## Output

A JSON object containing three fields: iso_week (integer, 1–53), iso_year (integer, which may differ from the calendar year near year boundaries), and iso_weekday (integer, 1=Monday through 7=Sunday), following the ISO 8601 week-date standard.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "title": "Date"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "iso_week": 1,
  "iso_year": 2026,
  "iso_weekday": 7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/time-iso-week-14102a75/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
