{"slug":"api-stablecoingateways-com-v1-business-days-8dda52","title":"Business days and public holidays","host":"api.stablecoingateways.com","method":"GET","resource":"https://api.stablecoingateways.com/v1/business-days","category":"code","description":"Business days and public holidays: check if a date is a business day, add or subtract N business days, count business days between dates, or list holidays, for 250 countries, 630 subdivisions (e.g. US-NY, GB-ENG) and 31 stock exchanges, 2025-2030. Use for due dates, T+N settlement and SLAs. Data: py","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":680,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453","eip155:84532","xrpl:0","xrpl:1"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"calendar":"US-NY","date":"2026-12-23","days":"3","op":"add"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"calendar":{"description":"ISO country (US), country-subdivision (US-NY) or exchange (FIN-XNYS); default US","type":"string"},"date":{"description":"YYYY-MM-DD; default today","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"days":{"description":"Business days to add (op=add), integer, |days|<=1000","pattern":"^-?\\d{1,4}$","type":"string"},"end":{"description":"End date for op=between","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"op":{"description":"Operation; default check","enum":["check","add","between","list"],"type":"string"},"year":{"description":"Year for op=list, 2025-2030","pattern":"^20(2[5-9]|30)$","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"calendar":{"type":"string"},"coverage":{"items":{"type":"string"},"type":"array"},"days":{"type":"integer"},"holidays_skipped":{"items":{"type":"object"},"type":"array"},"op":{"type":"string"},"result":{"type":"string"},"source":{"type":"string"},"start":{"type":"string"},"weekend_days":{"items":{"type":"string"},"type":"array"}},"type":"object"},"receipt":{"description":"Ed25519-signed receipt; verify free at POST /v1/verify-receipt","required":["v","endpoint_id","ts","price","tx_hash","request_hash","response_hash","log_seq","sig"],"type":"object"}},"required":["data","receipt"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":680,"error":null}],"description_full":"Business days and public holidays: check if a date is a business day, add or subtract N business days, count business days between dates, or list holidays, for 250 countries, 630 subdivisions (e.g. US-NY, GB-ENG) and 31 stock exchanges, 2025-2030. Use for due dates, T+N settlement and SLAs. Data: python-holidays (MIT). Signed receipt.","last_updated":"2026-10-22T19:54:56.2Z","schemes":["exact"]}