{"uid":"cap_ivthVQd43NwhbqEjivsvk","slug":"time-add-aedd0f5e","name":"time-add","description":"Add a fixed duration (days/hours/minutes/seconds) to an ISO 8601 datetime.","url":"https://x402.agentindex.world/time/add?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"days":{"type":"integer","title":"Days","default":0},"hours":{"type":"integer","title":"Hours","default":0},"minutes":{"type":"integer","title":"Minutes","default":0},"seconds":{"type":"integer","title":"Seconds","default":0},"datetime":{"type":"string","title":"Datetime"}}},"responseSchema":{"type":"json","example":{"datetime":"2026-01-02T02:00:00"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1f0LbLJcrbuOlc3t9Kquj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Add a fixed duration (days, hours, minutes, and/or seconds) to an ISO 8601 datetime string and return the resulting datetime.","exampleAgentPrompt":"What datetime is 2 days, 4 hours, and 30 minutes after 2025-06-15T09:00:00Z?","exampleUseCases":[{"title":"Calculate task deadline from start time","prompt":"My task starts at 2025-07-01T08:00:00Z and is due 3 days and 4 hours later — what's the exact deadline datetime?"},{"title":"Schedule a meeting 90 minutes from now","prompt":"It's 2025-06-20T14:00:00Z right now — what time will it be in 1 hour and 30 minutes?"},{"title":"Compute token expiry time","prompt":"If a session token was issued at 2025-06-18T00:00:00Z, what datetime does it expire after 7 days?"}],"resultDescription":"Returns the resulting ISO 8601 datetime after adding the specified number of days, hours, minutes, and seconds to the input datetime. The output is a shifted timestamp reflecting the exact duration added.","failureModes":["Missing or malformed datetime input (not valid ISO 8601) results in an error response","Non-integer values for days/hours/minutes/seconds may be rejected","Extremely large duration values may cause overflow errors","Payment failure (x402 protocol) prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need to arithmetically shift a known ISO 8601 datetime forward by a fixed duration composed of days, hours, minutes, and/or seconds — especially in agent workflows where datetime math must be offloaded as a reliable utility call. Prefer this over client-side computation when you want a consistent, stateless, pay-per-call service without implementing datetime libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:44:10.838Z","isFirstParty":false,"canonicalSlug":"time-add-aedd0f5e"}