{"uid":"cap_d4EzGOUDUwK4BZd12ATt2","slug":"business-day-public-holiday-checker-247-countries-ce938a22","name":"Business Day & Public Holiday Checker (247 Countries)","description":"Use when an agent must know if a date is a business day in a country, or compute a due date: weekend or holiday (with name), previous/next business day, date plus N business days (add=), business days until a date (to=). 247 countries, 2026-2028, optional state/province (region=), local weekends (e.g. Fri-Sat). Bad input: HTTP 400, no charge.","url":"https://handelskalender-api.pages.dev/v1/business-day?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":["country"],"properties":{"to":{"type":"string","description":"Optional end date YYYY-MM-DD (>= date): count business days from date to it, both included."},"add":{"type":"string","description":"Optional: number of business days to add (negative = go back), -260 to 260."},"date":{"type":"string","description":"Day as YYYY-MM-DD. Optional, default: today (UTC)."},"region":{"type":"string","description":"Optional state/province for regional holidays, e.g. BY or DE-BY (Bavaria), CA (California), 9 (Vienna). Listed per country in GET /v1/holiday-countries."},"country":{"type":"string","description":"2-letter ISO country code, e.g. AT, DE, US, GB, FR, JP, IN, BR, AE. 247 countries; free list: GET /v1/holiday-countries."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2027-01-06","note":"Statutory public holidays. Dates marked estimated depend on moon sighting or a later official decision and can shift by a day. Regional holidays only with region=.","reason":"holiday","region":"BY","source":"Public holidays from statutory rules as encoded in python-holidays (MIT licence, github.com/vacanza/holidays), data built 2026-11-02.","country":{"code":"DE","name":"Germany","weekend":["Sat","Sun"]},"holiday":{"date":"2027-01-06","name":"Epiphany","scope":"regional","weekday":"Wednesday","estimated":false,"localName":"Heilige Drei Könige"},"weekday":"Wednesday","isBusinessDay":false,"addBusinessDays":{"n":10,"date":"2027-01-20"},"nextBusinessDay":"2027-01-07","businessDaysUntil":null,"previousBusinessDay":"2027-01-05"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hxK-8MxecDMwCT_EFB3HF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given date is a business day in a specified country, identifies public holidays, and calculates next/previous business days or counts business days between dates.","exampleAgentPrompt":"Is January 6, 2027 a business day in Germany (Bavaria region), and if not, what's the next business day after it? Also tell me what date falls 10 business days later.","exampleUseCases":[{"title":"Payment deadline scheduling in France","prompt":"I need to schedule a payment that must land on a business day — can you check if March 29, 2026 is a business day in France, and if not, tell me the next business day after it?"},{"title":"Counting business days for SLA tracking","prompt":"How many business days are there between February 1 and February 28, 2026 in the United States? I need to calculate our SLA window."},{"title":"Regional holiday check for German state","prompt":"Is May 30, 2026 a business day in Bavaria, Germany? I want to know if our Munich office will be open that day."}],"resultDescription":"A JSON object containing: whether the date is a business day, the weekday name, holiday details (name, local name, scope, estimated flag) if applicable, the reason it is not a business day (weekend or holiday), the next and previous business days, optionally the date N business days from now, and optionally the count of business days until a target date. Also includes country metadata (name, weekend days) and data source attribution.","failureModes":["Missing required 'country' parameter returns an error","Invalid or unsupported country code returns an error","Invalid date format (not YYYY-MM-DD) returns an error","Region code not valid for the specified country may return no regional holidays","'add' parameter outside -260 to 260 range is rejected","Network or payment failure via x402 results in no response"],"whenToPreferThis":"Choose this endpoint when you need authoritative public holiday and business day data for any of 247 countries, especially with support for regional/state-level holidays (e.g. US states, German Länder, Canadian provinces). It is ideal for scheduling, SLA calculations, payment deadlines, or any workflow that must respect local non-working days. Prefer it over generic date libraries when regional holiday granularity, estimated holidays (moon-sighting based), or multi-country coverage is required. No API key or account setup needed — pay per call with USDC via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:31:38.787Z","isFirstParty":false,"canonicalSlug":"business-day-public-holiday-checker-247-countries-ce938a22"}