{"slug":"foundry-dap-solutions-api-add-business-days-to-date-21eba0","title":"Use when you need the Canadian business day a count lands on, or to check whethe","host":"foundry.dap.solutions","method":"POST","resource":"https://foundry.dap.solutions/api/add-business-days-to-date","category":"other","description":"Use when you need the Canadian business day a count lands on, or to check whether a date is a business day. Moves a start date forward 0 to 260 business days on the Payments Canada calendar and names each closure day passed. $0.01 USDC on Base per answer via x402; a refusal is free.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":52,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"acknowledge":"no-ruling-v1","business_days":"2","calendar":"ca-payments-canada","freshness_tolerance":"P90D","start_date":"2026-10-09"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"acknowledge":{"enum":["no-ruling-v1"],"type":"string"},"business_days":{"description":"business days to move forward, 0 to 260; 0 moves a day that is not a business day to the next one","oneOf":[{"pattern":"^(0|[1-9][0-9]{0,2})$","type":"string"},{"maximum":260,"minimum":0,"type":"integer"}]},"calendar":{"enum":["ca-payments-canada"],"type":"string"},"freshness_tolerance":{"description":"at most the ratified ceiling","pattern":"^P(0|[1-9][0-9]{0,3})D$","type":"string"},"start_date":{"description":"a real calendar date in a year the calendar covers; it may be a weekend or a closure day","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"required":["start_date","business_days","calendar","acknowledge","freshness_tolerance"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"headers":{"additionalProperties":{"type":"string"},"type":"object"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"queryParams":{"additionalProperties":{"type":"string"},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"refusal":{"type":["object","null"]},"result":{"type":["object","null"]},"status":{"enum":["computed","refused"],"type":"string"},"tool":{"type":"string"}},"required":["tool","status"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":69,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":38,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":64,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":41,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":34,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":52,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":162,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":184,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":309,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":280,"error":null}],"description_full":"Use when you need the Canadian business day a count lands on, or to check whether a date is a business day. Moves a start date forward 0 to 260 business days on the Payments Canada calendar and names each closure day passed. $0.01 USDC on Base per answer via x402; a refusal is free.","last_updated":"2026-11-19T07:37:40.678Z","schemes":["exact"]}