{"uid":"cap_g31AwW8uLsiUS1d2LprcJ","slug":"writerslogic-dst-check-daylight-saving-time-timezone-validation-af5d0fbf","name":"WritersLogic DST Check — Daylight Saving Time & Timezone Validation","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/dst-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q9xSnCFkEaNbUTU0aw8Eh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Cross-timezone meeting scheduler validation","prompt":"I'm scheduling a team standup for 2025-11-02T01:30 in America/Chicago — can you tell me whether that time is real, in a gap, or ambiguous because of the fall-back, and if ambiguous, what are the two actual UTC instants it could mean?"},{"title":"Annual DST transition audit for a timezone","prompt":"List all the offset transitions happening in Europe/London during 2025 so I can hardcode the right UTC offsets in my scheduling system."},{"title":"Batch deadline validation across timezones","prompt":"I have three client deadlines I need to verify: 2025-03-30T02:15 in Europe/Paris, 2025-11-01T01:45 in America/Los_Angeles, and 2025-10-05T03:00 in Australia/Sydney — can you check each one to confirm they're real datetimes and not swallowed by a clock change?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:38:00.835Z","isFirstParty":false,"canonicalSlug":"writerslogic-dst-check-daylight-saving-time-timezone-validation-af5d0fbf"}