Date math agents get wrong
Date math agents get wrong: days and business days between two dates (skipping weekends and a country's public holidays), add or subtract days or business days, and facts about a date (weekday, ISO week, quarter, day of year, leap year).
Answeringour last check, 2026-11-26
7 of 7checks answered this week
33 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://aipaygen.com/v1/date_calc
| Category | Everything else |
|---|---|
| Provider host | aipaygen.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 5 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 28 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 38 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 47 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 33 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 29 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 25 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 43 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 40 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 22 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 36 ms |
| 2026-11-16 | no x402 terms | 429 | 34 ms | |
| 2026-11-15 | valid payment request | 402 | $0.001 | 33 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"country": "US",
"date": "2026-12-22",
"days": 5,
"op": "add_business_days"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"country": {
"description": "Skip this country's public holidays in business-day math, e.g. \"US\".",
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"date": {
"description": "Start date, YYYY-MM-DD.",
"type": "string"
},
"days": {
"description": "Days to add (negative to subtract).",
"maximum": 36500,
"minimum": -36500,
"type": "integer"
},
"end_date": {
"description": "End date for diff, YYYY-MM-DD.",
"type": "string"
},
"op": {
"description": "\"diff\", \"add_days\", \"add_business_days\" or \"info\".",
"enum": [
"diff",
"add_days",
"add_business_days",
"info"
],
"type": "string"
}
},
"required": [
"op",
"date"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}