{"uid":"cap_USPQy3HI3QuZUnjHzj7N3","slug":"iso-8601-datetime-to-unix-timestamp-converter-bd9c4ffb","name":"ISO 8601 DateTime to Unix Timestamp Converter","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/iso2unix?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)"}}}},"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":"iso2unix","meta":{"chars_in":20,"chars_out":10,"elapsed_ms":0},"result":1700000000}},"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_2hkY8Mc5WdGCOvF4x3y0b","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":"Converts an ISO 8601 datetime string (or human-readable datetime) to a Unix timestamp integer, with optional timezone support.","exampleAgentPrompt":"Convert '2023-11-14T22:13:20Z' to a Unix timestamp — use Asia/Macau as the timezone if needed.","exampleUseCases":[{"title":"Scheduling event in epoch time","prompt":"I need the Unix timestamp for 2024-06-15T09:00:00 in the America/New_York timezone — can you convert that for me?"},{"title":"Logging system timestamp normalization","prompt":"Convert the ISO datetime '2023-11-14T22:13:20Z' to a Unix timestamp so I can store it in our database."},{"title":"Cross-timezone epoch calculation","prompt":"What's the Unix epoch time for midnight on January 1st 2025 in Asia/Tokyo?"}],"resultDescription":"Returns a JSON object with an 'op' field ('iso2unix'), a 'meta' object with chars_in, chars_out, and elapsed_ms, and a 'result' field containing the Unix timestamp as an integer (e.g. 1700000000).","failureModes":["Missing or malformed 'input' query parameter returns an error","Invalid ISO 8601 string that cannot be parsed","Unrecognized IANA timezone string causes a parsing error","Payment not included or rejected (x402 payment required)","Network timeout on the Cloudflare Worker edge"],"whenToPreferThis":"Choose this endpoint when you need a simple, pay-per-call, no-signup conversion from ISO 8601 or human-readable datetime strings to Unix epoch integers, especially in agent pipelines where you want to avoid dependency on an SDK or API key. It is ideal for lightweight serverless agent tasks that require timestamp normalization with optional IANA timezone context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:43:04.034Z","isFirstParty":false,"canonicalSlug":"iso-8601-datetime-to-unix-timestamp-converter-bd9c4ffb"}