{"uid":"cap_CXstl91kUGvlGnZwH9BR1","slug":"time-parse-5473e4bb","name":"time-parse","description":"Parse a date/time string (ISO 8601 by default, or a given strptime format) into its components.","url":"https://x402.agentindex.world/time/parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"string","title":"Value"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format","default":null}}},"responseSchema":{"type":"json","example":{"day":15,"iso":"2026-03-15T00:00:00","hour":0,"year":2026,"month":3,"minute":0,"second":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_YxsO-Q99VLES_KqV1Uvmu","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":"Parses a natural language or formatted date/time string into structured datetime components (year, month, day, hour, minute, second, ISO 8601)","exampleAgentPrompt":"Parse the date string '15 March 2026' into structured components so I can get the year, month, day, and ISO timestamp back.","exampleUseCases":[{"title":"Normalize user-entered dates","prompt":"The user typed 'March 15, 2026' in a form field — can you parse that into structured year, month, and day values and give me the ISO timestamp?"},{"title":"Extract date parts from a document","prompt":"I pulled this date text from a contract: '15th of March, 2026' — parse it into individual fields like year, month, day, and hour so I can store it properly."},{"title":"Validate and decompose a scheduled event time","prompt":"I have the string '2026-03-15T00:00:00' from a calendar export — can you parse that and break it down into its year, month, day, hour, minute, and second components?"}],"resultDescription":"Returns a JSON object with the parsed datetime broken into individual numeric fields: year, month, day, hour, minute, second, and a full ISO 8601 timestamp string (e.g. '2026-03-15T00:00:00').","failureModes":["Ambiguous or unrecognizable date string returns an error or null fields","Missing 'value' parameter causes a validation error","Providing an unsupported format hint may lead to incorrect parsing","Timezone-ambiguous strings may be parsed as UTC without warning"],"whenToPreferThis":"Choose this endpoint when you need to reliably decompose a date or datetime string — whether natural language or formatted — into structured numeric fields and an ISO 8601 timestamp. It is ideal for normalizing heterogeneous date inputs from documents, user forms, or scraped content into a consistent machine-readable format, especially within an x402 pay-per-call agent workflow on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T06:46:49.043Z","isFirstParty":false,"canonicalSlug":"time-parse-5473e4bb"}