Date Math Pay Dates is a paid API for AI agents from date-math.datemath.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-21).
Generates upcoming pay or billing dates for monthly, semi-monthly, biweekly, or weekly schedules, adjusting for weekends and public holidays.
Date Math: Upcoming pay or billing dates for monthly, semi-monthly (e.g. 15th and last day), biweekly or weekly schedules, moved off weekends and public holidays (to the previous, next or nearest business day). Use for payroll calendars, invoice due dates and recurring billing.
Returns a JSON object containing the count of dates returned, the schedule type, the adjustment rule applied, and an array of pay date objects each with the scheduled date, the (possibly adjusted) pay date, the weekday name, and a flag indicating whether the date was adjusted from the original.
POSThttps://date-math.datemath.workers.dev/v1/pay_dates?utm_source=zero.xyzUse this endpoint when you need to generate sequences of future pay or billing dates on standard payroll schedules (monthly, semi-monthly, biweekly, weekly) with automatic adjustment for weekends and public holidays across 207 countries. Prefer it over generic date arithmetic endpoints when the use case involves payroll calendars, invoice due dates, or recurring billing cycles that must respect business-day constraints and country-specific holidays.
| Field | Type | Description |
|---|---|---|
| days | array | monthly: 1 day, semi_monthly: 2 days of the month (1–31 or "last"; 31 clamps to month end). Defaults: ["last"] and [15, "last"] |
| from | string | |
| count | integer | How many pay dates to return |
| adjust | string | Where to move a pay date that falls on a weekend or holiday |
| anchor | string | |
| country | string | ISO 3166-1 alpha-2 country code (207 countries); its public holidays (2000–2050) are excluded from business days |
| holidays | array | Extra dates excluded from business-day counts (rest days from workdays are always excluded) |
| schedule | string | |
| workdays | array | Working days of the week, 0 = Sunday. Default [1,2,3,4,5] (Mon–Fri); e.g. [0,1,2,3,4] for Sun–Thu or [1,2,3,4,5,6] for Mon–Sat |
{
"type": "json",
"example": {
"count": 4,
"adjust": "previous",
"schedule": "semi_monthly",
"pay_dates": [
{
"weekday": "Tuesday",
"adjusted": false,
"pay_date": "2026-12-15",
"scheduled": "2026-12-15"
}
]
}
}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"