FastX402 Date Difference Calculator is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-18).
Calculates the number of days, weeks, business days, and calendar breakdown (years, months, days) between two dates
200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.
Returns a JSON object with total days, total weeks, business days, and a calendar breakdown of years, months, and days between the two input dates. Example: {start:'2024-02-29', end:'2026-03-01', days:731, weeks:104, business_days:522, calendar:{years:2, months:0, days:1}}
GEThttps://fastx402.tools/date-diff?utm_source=zero.xyzUse this endpoint when an agent needs to calculate the exact number of days, weeks, business days, or calendar-unit breakdown between two specific dates without requiring account setup or API keys. It is ideal for lightweight, pay-per-call date math in automated workflows where spinning up a full calendar library is overkill. Prefer this over manual computation when business day accuracy (excluding weekends) is required.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"end": "2026-03-01",
"days": 731,
"start": "2024-02-29",
"weeks": 104,
"calendar": {
"days": 1,
"years": 2,
"months": 0
},
"business_days": 522
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"