Date Math Stay-Limit Calculator (Schengen / Rolling Window) 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).
Computes rolling-window stay compliance (e.g. Schengen 90/180 rule): days used, days remaining, overstay check, max stay from a planned entry date, and next date a full stay is possible.
Date Math: Rolling stay-limit math such as the Schengen 90/180 rule: days used in the window, days left, overstay check, the longest stay allowed from a planned entry date, and the next date a full stay is possible. Entry and exit days both count. Custom rules via max_days/window_days. Use for travel planning, visa-free stays and "can I enter on".
A JSON object with: the reference date, days used in the rolling window, days remaining, whether the traveler is in compliance, any overstay days, the first overstay date (if applicable), the max stay allowed from a planned entry date (with latest exit date and days allowed), and the next date on which a full max-days stay would be possible. Also echoes back the rule parameters (max_days, window_days, window start/end).
POSThttps://date-math.datemath.workers.dev/v1/stay?utm_source=zero.xyzUse this endpoint when you need to compute rolling-window stay compliance for any visa-free or visa-on-arrival travel rule, especially the Schengen 90/180 rule. It is purpose-built for this calculation and supports custom max_days and window_days for non-Schengen regimes. Prefer it over generic date-math endpoints when you need overstay detection, compliance flags, or forward-looking planning (longest allowable stay, next full-stay date). It is not a substitute for official government calculators or legal advice.
| Field | Type | Description |
|---|---|---|
| date | string | |
| entry | string | |
| trips | array | Past and planned stays. Entry and exit days both count as days present. |
| max_days | integer | |
| window_days | integer | Length of the rolling window, counted back from each day (inclusive) |
{
"type": "json",
"example": {
"date": "2026-10-01",
"note": "Entry and exit days both count. A planning aid; border officials and the official calculator have the final say.",
"rule": {
"max_days": 90,
"window_end": "2026-10-01",
"window_days": 180,
"window_start": "2026-04-05"
},
"max_stay": {
"entry": "2026-11-01",
"latest_exit": "2026-11-24",
"days_allowed": 24
},
"days_used": 66,
"in_compliance": true,
"overstay_days": 0,
"days_remaining": 24,
"first_overstay": null,
"next_full_stay_date": "2026-12-30"
}
}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"