{"uid":"cap_yrdDM6ZNECGF3pai_MdRu","slug":"iso-8601-to-unix-timestamp-converter-5600c083","name":"ISO 8601 to Unix Timestamp Converter","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/date/iso-to-unix?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"timestamp":{"type":"string","maxLength":24,"minLength":20,"description":"UTC ISO timestamp."}}},"responseSchema":{"type":"json","example":{"seconds":0,"milliseconds":0}},"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_BEkSnovxS7m8qnEwIcv1I","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 a UTC ISO 8601 timestamp string into Unix time expressed in both seconds and milliseconds","exampleAgentPrompt":"Convert the ISO timestamp 2024-06-15T08:30:00.000Z to its Unix equivalent in both seconds and milliseconds.","exampleUseCases":[{"title":"Log event timestamp normalization","prompt":"I have a log entry timestamped 2024-11-03T14:22:45.000Z in ISO format — can you convert that to Unix epoch seconds and milliseconds so I can store it in my time-series database?"},{"title":"Scheduled job trigger calculation","prompt":"I need to know the exact Unix timestamp for 2025-01-20T00:00:00.000Z — both in seconds and milliseconds — so I can set up a cron trigger at that moment."},{"title":"API payload timestamp formatting","prompt":"My upstream API gives me 2023-08-07T09:15:30.500Z as the event time, but the downstream service needs Unix epoch milliseconds — can you do that conversion for me?"}],"resultDescription":"A JSON object containing two numeric fields: `seconds` (Unix epoch time in whole seconds) and `milliseconds` (Unix epoch time in milliseconds), both derived from the provided ISO 8601 UTC timestamp string.","failureModes":["Invalid or malformed ISO 8601 string — returns an error or unexpected result","Timestamp string shorter than 20 or longer than 24 characters — schema validation rejection","Non-UTC timezone-aware strings may be rejected or misinterpreted","Missing required `timestamp` field in the request body — likely 400 or validation error","Payment failure or insufficient USDC balance — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-call microservice to convert a single UTC ISO 8601 datetime string to Unix epoch time (seconds and milliseconds) without standing up your own conversion logic. It is especially useful for AI agents operating in workflows that already use x402 micropayment infrastructure and need a bounded, reliable timestamp conversion step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:11.387Z","isFirstParty":false,"canonicalSlug":"iso-8601-to-unix-timestamp-converter-5600c083"}