{"slug":"saylorinnovations-com-api-calendar-business-days-0a6736","title":"Count business days between two dates excluding weekends and optionally national","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/calendar/business-days","category":"other","description":"Count business days between two dates excluding weekends and optionally national public holidays for a country, with the next working day after the end","price_listed":0.01,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 404 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"country":"US","end":"2026-12-31","start":"2026-12-01"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"properties":{"country":{"description":"optional 2-letter country code for public holidays","type":"string"},"end":{"description":"YYYY-MM-DD","type":"string"},"start":{"description":"YYYY-MM-DD","type":"string"}},"required":["start","end"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"business_days":{"description":"Number of business days","type":"number"},"calendar_days":{"description":"Calendar days","type":"number"},"country":{"description":"Country name","type":["string","null"]},"end":{"type":"string"},"holiday_days_on_weekdays":{"description":"Holiday days on weekdays","type":"number"},"holidays_skipped":{"description":"Holidays skipped","type":"array"},"include_end_date":{"description":"Include end date","type":["boolean","null"]},"next_business_day_after_end":{"description":"Next business day after end","type":["string","null"]},"note":{"description":"Caveat or context for reading the result","type":"string"},"source":{"description":"Data source the values come from","type":"string"},"start":{"type":"string"},"weekend_days":{"description":"Weekend days","type":"number"}},"required":["start","end","business_days"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":404,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":16,"error":null}],"description_full":"Count business days between two dates excluding weekends and optionally national public holidays for a country, with the next working day after the end","last_updated":"2026-10-17T10:21:42.304Z","schemes":["exact"]}