{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0x7eC21Ee3AA308D2cbB8c65ef0E89af2a30101656","scheme":"exact"}],"description":"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\".","extensions":{"bazaar":{"info":{"input":{"body":{"date":"2026-10-01","entry":"2026-11-01","trips":[{"entry":"2026-06-01","exit":"2026-07-15"},{"entry":"2026-09-10","exit":"2026-09-30"}]},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"date":"2026-10-01","days_remaining":24,"days_used":66,"first_overstay":null,"in_compliance":true,"max_stay":{"days_allowed":24,"entry":"2026-11-01","latest_exit":"2026-11-24"},"next_full_stay_date":"2026-12-30","note":"Entry and exit days both count. A planning aid; border officials and the official calculator have the final say.","overstay_days":0,"rule":{"max_days":90,"window_days":180,"window_end":"2026-10-01","window_start":"2026-04-05"}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"date":{"example":"2026-11-07","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"entry":{"example":"2026-11-07","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"max_days":{"default":90,"maximum":365,"minimum":1,"type":"integer"},"trips":{"description":"Past and planned stays. Entry and exit days both count as days present.","items":{"properties":{"entry":{"example":"2026-11-07","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"exit":{"example":"2026-11-07","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"required":["entry","exit"],"type":"object"},"maxItems":200,"type":"array"},"window_days":{"default":180,"description":"Length of the rolling window, counted back from each day (inclusive)","maximum":730,"minimum":1,"type":"integer"}},"required":["trips"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"date":{"type":"string"},"days_remaining":{"type":"integer"},"days_used":{"description":"Days present in the window ending on date","type":"integer"},"first_overstay":{"description":"First day any trip broke the rule, or null","type":["string","null"]},"in_compliance":{"type":"boolean"},"max_stay":{"description":"Present when entry was given","properties":{"days_allowed":{"type":"integer"},"entry":{"type":"string"},"latest_exit":{"type":["string","null"]}},"required":["entry","days_allowed","latest_exit"],"type":["object","null"]},"next_full_stay_date":{"description":"Earliest date after date from which a full max_days stay is allowed","type":["string","null"]},"note":{"type":"string"},"overstay_days":{"type":"integer"},"rule":{"properties":{"max_days":{"type":"integer"},"window_days":{"type":"integer"},"window_end":{"type":"string"},"window_start":{"type":"string"}},"required":["max_days","window_days","window_start","window_end"],"type":"object"}},"required":["date","rule","days_used","days_remaining","overstay_days","in_compliance","first_overstay","max_stay","next_full_stay_date","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-09T11:11:29.408Z","quality":{"l30DaysTotalCalls":2,"l30DaysUniquePayers":1,"lastCalledAt":"2026-11-09T11:11:29.277Z"},"resource":"https://date-math.datemath.workers.dev/v1/stay","serviceName":"Date Math","tags":["schengen calculator","90/180 rule","visa stay","travel days","schengen days left"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"jl3w53ntdde6caa"}}
