{"uid":"cap_RIU5gNXbA34N3ofSMqlG9","slug":"business-day-deadline-api-between-dates-c0827658","name":"Business Day & Deadline API – Between Dates","description":"Verified, always-current business-day arithmetic for ~200 countries incl. subdivisions (German Bundeslaender, US states) and correct per-country weekend rules (e.g. Fri/Sat in Egypt). Informational only — verify legally binding deadlines with the competent authority. Not legal advice.","url":"https://businessdayapi.com/v1/between?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to","country"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"region":{"type":"string","description":"optional ISO 3166-2 subdivision suffix, e.g. BY (Bavaria), CA (California)"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code, e.g. DE, US, JP"},"weekend":{"type":"string","description":"optional override: sat-sun | fri-sat | custom:THU,FRI"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"2026-04-08","from":"2026-04-01","source":"nager.date","country":"DE","holidays":[{"date":"2026-04-03","holidayName":"Karfreitag"}],"verifiedAt":"2026-08-17T00:00:00Z","businessDays":3,"calendarDays":7}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eJwftv_kxnEeI7TsS2VPU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the number of business days between two dates for a given country (and optional subdivision), accounting for local public holidays and country-specific weekend rules.","exampleAgentPrompt":"How many business days are there between April 1 and April 8, 2026 in Germany, taking into account German public holidays?","exampleUseCases":[{"title":"Contract payment deadline calculation","prompt":"I need to know how many business days there are between March 15 and April 15, 2026 in France — I'm trying to figure out if a 30-business-day payment clause is being met."},{"title":"US state-level SLA verification","prompt":"How many business days fall between January 5 and February 5, 2026 in California? I need to check whether a vendor met their 20-business-day SLA."},{"title":"Egypt payroll working day count","prompt":"Can you count the business days between May 1 and May 31, 2026 in Egypt? They use a Friday–Saturday weekend there, so make sure that's accounted for."}],"resultDescription":"A JSON object containing: the number of business days between the two dates, the total calendar days, the country code, the from and to dates, a list of public holidays that fell in that range (with names and dates), the data source (e.g. nager.date), and a verifiedAt timestamp indicating data freshness.","failureModes":["Missing required parameters (from, to, country) returns an error","Invalid or unsupported country code returns an error or empty holiday list","Invalid date format causes a parsing error","Unsupported subdivision code may fall back to country-level holidays or return an error","Invalid custom weekend override format causes a bad request error"],"whenToPreferThis":"Choose this endpoint when you need accurate, up-to-date business day counts across ~200 countries with proper public holiday data and country-specific weekend rules (including non-standard weekends like Fri/Sat in Egypt or Thu/Fri in some Middle Eastern countries). It is especially valuable when you need subdivision-level precision (e.g. German Bundeslaender, US states). Prefer this over generic date math libraries which lack current holiday data and regional rules.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:41:33.699Z","isFirstParty":false,"canonicalSlug":"business-day-deadline-api-between-dates-c0827658"}