{"uid":"cap_VMa2kvhiI_Mg2hD25sRIg","slug":"delx-iso-to-unix-558b6063","name":"Delx ISO To Unix","description":"Convert ISO-8601 to unix seconds. Call when you feed agent schedules into epoch math. Returns unix, iso, ok for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/iso-to-unix","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"iso":{"type":"string","description":"Input field: iso."}}},"responseSchema":{"type":"json","example":{"ok":true,"iso":"2026-08-06T00:00:00Z","unix":1785974400,"schema":"delx/util-iso-to-unix/v1"}},"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_Glyy7kVtb6zFjU7M2QE26","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 to its Unix epoch timestamp in seconds","exampleAgentPrompt":"Convert the ISO datetime 2025-03-15T09:30:00Z to a Unix epoch timestamp in seconds so I can use it in my scheduling logic.","exampleUseCases":[{"title":"Agent schedule trigger timing","prompt":"I need to schedule a task to fire at 2025-07-01T08:00:00Z — can you convert that ISO timestamp to Unix seconds so my agent can do the epoch math for the delay?"},{"title":"Normalize event timestamps for pipeline","prompt":"I have an event timestamp coming in as 2024-12-31T23:59:59-05:00 from our calendar feed. Convert it to Unix epoch seconds so I can feed it into the processing pipeline."},{"title":"Deadline comparison in epoch time","prompt":"My task deadline is 2025-09-30T17:00:00Z — convert that to Unix time so I can compare it against the current epoch and calculate how many seconds remain."}],"resultDescription":"Returns a JSON object containing the original ISO string echoed back, the equivalent Unix timestamp as an integer number of seconds since epoch (1970-01-01T00:00:00Z), and a boolean 'ok' field indicating success. No external network calls are made; computation is local and stateless.","failureModes":["Invalid or malformed ISO-8601 string returns an error or ok:false","Missing 'iso' field in request body causes a validation error","Timezone-ambiguous strings without offset may be parsed as UTC or fail","Extremely far-future or far-past dates may be outside supported range"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to convert ISO-8601 datetime strings to Unix epoch seconds for scheduling, deadline math, or timestamp normalization without setting up date libraries or environment dependencies. Ideal for serverless or constrained agent environments where local date parsing is unavailable. Prefer this over general-purpose code execution when you need a lightweight, stateless, pay-per-call utility with no key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:48.293Z","isFirstParty":false}