{"uid":"cap_nK76yfWejTopk0PUy72tz","slug":"minia2a-x402-date-to-unix-e1a51dd1","name":"minia2a x402-date-to-unix","description":"Convert a date to Unix timestamp.","url":"https://minia2a.uk/x402/dateToUnix?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bGoSMBoqyFlw1O_671PME","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a human-readable date string to a Unix timestamp integer","exampleAgentPrompt":"Can you convert the date '2025-07-15T14:30:00Z' to a Unix timestamp for me?","exampleUseCases":[{"title":"Scheduling event with epoch time","prompt":"I need to schedule a blockchain event for August 20, 2025 at midnight UTC — what's the Unix timestamp for that?"},{"title":"Comparing timestamps in data pipeline","prompt":"Convert '2024-01-01T00:00:00Z' to a Unix timestamp so I can use it as a filter in my time-series query."},{"title":"Smart contract deadline encoding","prompt":"I'm setting a deadline of December 31, 2025 at 11:59 PM UTC in a smart contract — what Unix timestamp value should I use?"}],"resultDescription":"A numeric Unix timestamp (epoch seconds or milliseconds) corresponding to the input date string, suitable for use in smart contracts, databases, or time-based logic.","failureModes":["Invalid or unparseable date string returns an error or null result","Missing required 'input' query parameter causes a 400-level response","Ambiguous date formats without timezone specification may produce unexpected results","Dates outside supported range may fail or return incorrect values"],"whenToPreferThis":"Use this endpoint when you need a lightweight, paid micro-service to convert human-readable dates to Unix timestamps without running local code — especially useful in agent workflows operating on the x402 payment protocol where each micro-call is billed per use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:42:57.102Z","isFirstParty":false,"canonicalSlug":"minia2a-x402-date-to-unix-e1a51dd1"}