{"uid":"cap_DDi5n3MMecArhjjINDbZF","slug":"agent402-tools-current-time-api-9a5190bd","name":"agent402.tools Current Time API","description":"Current time: UTC ISO, epoch seconds/ms, day of week/year, ISO week - optionally rendered in any IANA timezone via ?tz=.","url":"https://agent402.tools/api/time","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"tz":{"type":"string","description":"IANA timezone (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["utc","epochSeconds","dayOfWeek","local"],"properties":{"utc":{"type":"string"},"local":{"type":"string"},"dayOfWeek":{"type":"string"},"epochSeconds":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"utc":"2026-06-11T10:00:00.000Z","local":"2026-06-11 06:00:00 EDT","dayOfWeek":"Thursday","epochSeconds":1781172000}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"tz":"America/Chicago"}}},"response":{"utc":"2026-06-12T04:30:43.926Z","local":"2026-06-11, 23:30:43 CDT","timezone":"America/Chicago","dayOfWeek":"Friday","dayOfYear":163,"epochMillis":1781238643926,"epochSeconds":1781238643}},"exampleRequest":{"tz":"America/Chicago"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"1.00","successRate":"1.00","reviews":1,"stars":"5.0","state":"rated"},"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_FMJQTolBqpUGb8MIgv7BE","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":"Returns the current UTC time in multiple formats (ISO, epoch seconds/ms, day of week/year, ISO week), with optional IANA timezone conversion.","exampleAgentPrompt":"What's the current time right now — give me UTC and also convert it to America/Chicago so I can see the local time there?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the current time as a UTC ISO 8601 string, Unix epoch in seconds and milliseconds, day of week (name/number), day of year, ISO week number, and if ?tz= is provided, the same moment rendered in the requested IANA timezone.","failureModes":["Invalid or unrecognized IANA timezone string returns an error response","Payment not included or insufficient USDC returns 402 Payment Required","Network timeout on the endpoint returns a connection error"],"whenToPreferThis":"Use this endpoint when an agent needs authoritative current time data in multiple formats simultaneously — especially when epoch seconds/ms, ISO week, and day-of-year are all needed at once, or when timezone conversion is required without a separate conversion step. Prefer over local system time when you need a trusted external time source.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-07-17T19:28:15.229Z","lastSuccessfullyRanAt":"2026-07-17T19:28:15.229Z","lastHealthCheckAt":"2026-09-13T12:54:57.833Z","isFirstParty":false}