{"uid":"cap__oncgtVyIHiiPyi5dLNPY","slug":"x402-agent-tools-current-time-lookup-1cf595f6","name":"x402 Agent Tools – Current Time Lookup","description":"Pay-per-call tools for AI agents. USDC on Base or Solana via x402 v2; no keys, no accounts.","url":"https://api.gptshopltd.com/v1/util/time?utm_source=zero.xyz","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":"Optional IANA timezone, e.g. America/New_York"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"iso":"2026-10-15T00:00:00.000Z","unix":1792022400}},"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_gs5besAeaSmd9tB7-kl5f","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 (and optionally timezone-adjusted time) as ISO 8601 and Unix timestamp, paid per-call via USDC microtransaction.","exampleAgentPrompt":"What's the current time right now in America/Chicago as an ISO timestamp and Unix epoch?","exampleUseCases":[{"title":"Timestamping agent-generated records","prompt":"Get me the exact current UTC time as a Unix timestamp so I can tag this log entry with when it was created."},{"title":"Timezone-aware scheduling check","prompt":"What's the current local time in Tokyo (Asia/Tokyo) right now? I need to know if business hours are still open there."},{"title":"Reliable server-side clock for automated workflow","prompt":"Fetch the current server time in ISO 8601 format — I need an authoritative timestamp to attach to this contract draft before sending it."}],"resultDescription":"A JSON object containing 'iso' (current datetime as ISO 8601 string, e.g. '2026-10-15T00:00:00.000Z') and 'unix' (current time as a Unix epoch integer in seconds). If a 'tz' query parameter is provided, the ISO time reflects the requested IANA timezone offset.","failureModes":["Invalid or unrecognized IANA timezone string in 'tz' param returns an error or defaults to UTC","Payment failure (insufficient USDC balance or x402 protocol error) results in 402 response and no data returned","Network timeout if the API host is unreachable","Malformed request body causes 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when your agent needs a reliable, authoritative server-side timestamp without managing API keys or accounts — especially useful in autonomous agent workflows that need to timestamp events, check current time against schedules, or convert to a specific timezone, all paid trustlessly per-call via USDC microtransaction on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:40:54.376Z","isFirstParty":false,"canonicalSlug":"x402-agent-tools-current-time-lookup-1cf595f6"}