{"uid":"cap_RGxDwI9rIDPWc55ROVIlC","slug":"vextorium-date-calculator-e1c1369b","name":"Vextorium Date Calculator","description":"244 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/date-calculator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","description":"Date YYYY-MM-DD"},"until":{"type":"string","description":"Second date for the difference (optional)"},"add_days":{"type":"integer"},"add_years":{"type":"integer"},"add_months":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"date":{"date":"2024-02-29","leap":true,"quarter":1,"weekday":"Thursday","weekend":false,"week_iso":9,"year_iso":2024,"day_of_year":60,"days_in_month":29},"result":{"date":"2025-02-28","leap":false,"quarter":1,"weekday":"Friday","weekend":false,"week_iso":9,"year_iso":2025,"day_of_year":59,"days_in_month":28},"difference":{"days":4,"until":"2026-10-02","weeks":135.14,"years":2,"months":7,"total_days":946,"weekdays_mon_fri":676}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wEgDm2sIR1a7kRcrbngD0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs date arithmetic and analysis: calculates date properties, adds/subtracts time intervals, and computes differences between two dates","exampleAgentPrompt":"What day of the week is 2025-07-04, and how many days and weekdays are between 2025-07-04 and 2026-01-01?","exampleUseCases":[{"title":"Project deadline calculation","prompt":"I need to know what date it will be exactly 90 days from 2025-06-01, and whether it falls on a weekend."},{"title":"Days between two contract dates","prompt":"How many total days and weekdays are between 2025-01-15 and 2025-12-31? I need the breakdown in weeks, months, and years too."},{"title":"Calendar properties of a date","prompt":"Tell me everything about 2024-02-29 — what quarter it's in, what ISO week number it is, whether it's a leap year, and what day of the week it falls on."}],"resultDescription":"Returns a JSON object with up to three sections: 'date' (properties of the input date: weekday, quarter, ISO week/year, day of year, days in month, leap year flag, weekend flag), 'result' (same properties for the computed output date after adding days/months/years), and 'difference' (gap between two dates in total days, weeks, months, years, and Mon–Fri weekday count).","failureModes":["Invalid date format (not YYYY-MM-DD) returns an error","Missing required 'date' field returns a validation error","Providing an out-of-range date (e.g. 2024-02-30) may return an error or unexpected result","Network or payment failure (x402 USDC payment not completed) prevents response"],"whenToPreferThis":"Choose this endpoint when you need precise calendar arithmetic without setting up a local date library — especially useful for agents that need weekday counts, quarter detection, ISO week numbers, leap year checks, or date offset calculations across month/year boundaries in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:30.264Z","isFirstParty":false,"canonicalSlug":"vextorium-date-calculator-581d7101"}