# WritersLogic DST Check — Daylight Saving Time & Timezone Validation

> WritersLogic DST Check — Daylight Saving Time & Timezone Validation is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Validates up to 100 local wall-clock times or offset timestamps against an IANA timezone, reporting whether each moment exists once, is in a spring-forward gap, or is ambiguous due to a fall-back overlap; also lists a timezone's offset transitions for a given year.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/dst-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-dst-check-daylight-saving-time-timezone-validation-af5d0fbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g31AwW8uLsiUS1d2LprcJ

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 writerslogic-dst-check-daylight-saving-time-timezone-validation-af5d0fbf -d '<json body>'
```

Example prompt: Can you check whether 2025-03-09T02:30 is a valid wall-clock time in America/New_York — I want to schedule a cron job then and I'm worried it might fall in the spring-forward gap?

## When to prefer this

Choose this endpoint when an AI agent needs to reason about whether a specific wall-clock time is unambiguous, non-existent, or duplicated due to daylight saving transitions — especially before scheduling meetings, cron jobs, or deadlines in remote IANA timezones. Prefer it over general timezone conversion APIs when the question is specifically about DST validity or gap/overlap classification rather than simple offset arithmetic. It is also the right choice when you need a canonical list of clock-change transitions for a timezone in a specific year. Unlike clock-reading APIs, this service is deterministic and does not depend on the current time.

## Known failure modes

- Invalid IANA timezone name returns a 4xx error indicating the zone is unrecognised
- Malformed datetime string not matching the required pattern is rejected with a validation error
- Submitting both 'local' and 'timestamp' fields in the same item is rejected
- Submitting neither 'local' nor 'timestamp' in an item is rejected
- More than 100 items in a single request exceeds the maxItems limit and is rejected
- Year outside 1900–2199 for transitionsIn is rejected
- Payment failure via x402 protocol returns 402 with payment details

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

For each submitted local datetime or timestamp: a status of 'unique', 'gap' (spring-forward, the time does not exist), or 'overlap' (fall-back, the time occurs twice); the UTC offset(s) in force; and the corresponding real UTC instant(s). For the transitionsIn request: an ordered list of all offset transitions in the specified timezone and year, with the before/after offset and the exact UTC moment of each change. The ICU tzdata version used is also reported.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "timeZone"
    ],
    "properties": {
     "local": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?$",
      "maxLength": 30,
      "description": "Wall time without offset. Exactly one of local or timestamp."
     },
     "timeZone": {
      "type": "string",
      "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(/[A-Za-z0-9_+-]+){0,2}$",
      "maxLength": 64
     },
     "timestamp": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}[Tt ]\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|z|[+-]\\d{2}:?\\d{2})$",
      "maxLength": 36,
      "description": "RFC 3339 timestamp with offset; checked for consistency with the zone's offset at that instant; Z names UTC and makes no local claim, so it is never a mismatch."
     }
    }
   },
   "maxItems": 100,
   "minItems": 1
  },
  "transitionsIn": {
   "type": "object",
   "required": [
    "timeZone",
    "year"
   ],
   "properties": {
    "year": {
     "type": "integer",
     "maximum": 2199,
     "minimum": 1900
    },
    "timeZone": {
     "type": "string",
     "pattern": "^[A-Za-z][A-Za-z0-9_+-]*(/[A-Za-z0-9_+-]+){0,2}$",
     "maxLength": 64
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-dst-check-daylight-saving-time-timezone-validation-af5d0fbf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
