{"uid":"cap_V9mrt9e6gsqDNplxN7Kxn","slug":"x402-toolbox-date-difference-calculator-8b38212e","name":"x402-toolbox Date Difference Calculator","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/time/date-difference-calculator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1pyB1TLCcCeyI9CoNOtFG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the difference between two dates, returning a deterministic result for a $0.001 USDC pay-per-call fee over x402.","exampleAgentPrompt":"How many days are there between January 15, 2024 and March 28, 2025?","exampleUseCases":[{"title":"Project deadline countdown","prompt":"How many days are left between today, June 10 2025, and my project deadline on August 31 2025?"},{"title":"Age in days calculation","prompt":"Calculate how many days old I am — I was born on April 3, 1990, and today is June 10, 2025."},{"title":"Contract duration check","prompt":"How many days is the span between the contract start date of March 1, 2024 and its end date of February 28, 2025?"}],"resultDescription":"Returns a JSON object with ok: true and paid: true, along with the computed difference between the two input dates — likely expressed in days, and possibly also in weeks, months, or other units depending on the schema provided.","failureModes":["Missing or malformed date inputs returns an error response","Unsupported date format schema may result in a parsing error","Payment failure over x402 (insufficient USDC balance) blocks the call","Invalid schema string causes computation to fail"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-signup, pay-per-use date difference computation accessible to AI agents via the x402 micropayment protocol. Ideal when you want deterministic results without managing API keys or subscriptions, and USDC micropayments on Base are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:08.475Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-date-difference-calculator-8b38212e"}