{"uid":"cap_mBK0L9vBmfDsxGwobSM2P","slug":"iso-8601-duration-string-validator-0cb03b55","name":"ISO-8601 Duration String Validator","description":"Call when an agent needs whether a string is an ISO-8601 duration. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/check-date-duration first.","url":"https://agentshelf.syntexa.ch/v1/check-date-duration?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["PT1H2M"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IhQfeP2RnccC92y7d5uwO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a given string is a conformant ISO-8601 duration (e.g. P1Y2M3DT4H5M6S) and returns true/false","exampleAgentPrompt":"Is the string 'P1Y2M3DT4H30M' a valid ISO-8601 duration? Just check the format, no parsing needed.","exampleUseCases":[{"title":"Scheduling form field validation","prompt":"Before I save this recurring event, can you check if 'PT1H30M' is a valid ISO-8601 duration string?"},{"title":"API input sanity check","prompt":"A user submitted 'P0.5Y' as a subscription period — is that actually a valid ISO-8601 duration, or should I reject it?"},{"title":"Data pipeline quality gate","prompt":"I'm importing calendar data and need to verify whether 'P3W2DT6H' conforms to the ISO-8601 duration standard before passing it downstream."}],"resultDescription":"Returns a boolean or conformance indicator stating whether the provided string is a valid ISO-8601 duration, with no network calls or LLM involved — a deterministic format check only.","failureModes":["Empty or missing value field returns an error (minLength:1 enforced)","String exceeding 20,000 characters is rejected","Malformed request body returns 4xx","Payment not included or insufficient USDC triggers 402 response"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, server-side check that a string conforms to ISO-8601 duration format (e.g. P1Y, PT30M, P3DT4H5M6S) and don't want to implement or trust a local regex. Prefer the free sandbox POST /v1/sandbox/check-date-duration first to avoid the $0.002 charge during development or testing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:02.966Z","isFirstParty":false,"canonicalSlug":"iso-8601-duration-string-validator-0cb03b55"}