{"uid":"cap_-ZFvsA9Ic3WbYBYiH-nCC","slug":"datetime-format-tool-time-formatter-34f82cb8","name":"Datetime Format Tool (Time Formatter)","description":"Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.","url":"https://lin-desk-x402.lindesk.workers.dev/v1/timetools/format?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["input"],"properties":{"tz":{"type":"string","description":"IANA timezone, e.g. Asia/Tokyo"},"input":{"type":"string","description":"Datetime / unix / ISO string (empty for diff with a,b)"},"pattern":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"op":{"type":"string"},"meta":{"type":"object","properties":{"chars_in":{"type":"integer"},"chars_out":{"type":"integer"},"elapsed_ms":{"type":"integer"}}},"result":{}}}}}}},"responseSchema":{"type":"json","example":{"op":"format","meta":{"chars_in":20,"chars_out":16,"elapsed_ms":0},"result":"2026-10-03 18: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_8VBu5rGNqqKsIvPYzGO23","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":"Formats a datetime string, Unix timestamp, or ISO date into a human-readable string using a specified timezone and pattern.","exampleAgentPrompt":"Can you format the datetime '2026-10-03T18:00:00Z' into a readable string using the Asia/Macau timezone?","exampleUseCases":[{"title":"Timezone-aware event display","prompt":"I have a Unix timestamp 1759600000 — can you format it into a readable date and time in the America/New_York timezone?"},{"title":"Custom pattern datetime formatting","prompt":"Format the ISO string '2026-10-03T18:00:00Z' using the pattern 'YYYY-MM-DD HH:mm' in the Europe/London timezone."},{"title":"Localized datetime for user interface","prompt":"Convert '2025-07-15T09:30:00Z' to a human-readable datetime string in the Asia/Tokyo timezone so I can display it to my Japanese users."}],"resultDescription":"Returns a JSON object with the operation name ('format'), metadata including input/output character counts and elapsed milliseconds, and the formatted datetime string as the result (e.g. '2026-10-03 18:00').","failureModes":["Missing required 'input' query parameter returns an error","Invalid IANA timezone string may produce unexpected or error results","Malformed datetime string may fail to parse correctly","Empty input string may only work for diff operations (a,b parameters), not single format calls"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call datetime formatting service with no API key or signup. It is ideal for agents that occasionally need to format timestamps or ISO strings into human-readable output with timezone awareness, without integrating a full datetime library or managing credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:57.528Z","isFirstParty":false,"canonicalSlug":"datetime-format-tool-time-formatter-34f82cb8"}