{"uid":"cap_WJiCoHOR_Eeo88gRfex-Z","slug":"public-holidays-business-days-200-countries-ebf41d74","name":"Public Holidays & Business Days (200+ Countries)","description":"Public holidays for 200+ countries and their regions and states: list a year's holidays, check whether a date is a business day, add or subtract N business days, or count business days between two dates, honouring national and optional regional holidays and configurable weekend days. Use when an agent must compute a payment, delivery or legal deadline in business days, or check whether a date is a public holiday in a given country or region.","url":"https://business-days-production.up.railway.app/v1/calendar/business-days?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":{"add":{"type":"integer","description":"Business days to add (negative to subtract)"},"date":{"type":"string","description":"Start date YYYY-MM-DD (default today)"},"year":{"type":"integer","description":"Year to list all public holidays"},"until":{"type":"string","description":"End date YYYY-MM-DD to count business days between"},"region":{"type":"string","description":"Optional state/region code, e.g. BY"},"country":{"type":"string","description":"ISO2 country, e.g. DE"},"weekend":{"type":"string","description":"Weekend days as numbers 0-6 (0=Sunday), default 0,6"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"add":3,"date":"2026-12-23","legal":{"terms":"https://business-days-production.up.railway.app/terms","privacy":"https://business-days-production.up.railway.app/privacy"},"status":"ok","country":"DE","skipped":[{"date":"2026-12-25","name":"Weihnachtstag"},{"date":"2026-12-26","name":"Zweiter Weihnachtstag"}],"use_when":"Use when an agent must compute a payment, delivery or legal deadline in business days, or check whether a date is a public holiday in a given country or region.","result_date":"2026-12-29","is_business_day":true}},"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_564AC_gk2TO36iwtqWEJ2","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":"Lists public holidays, checks business day status, and adds/subtracts/counts business days for 200+ countries and their regions.","exampleAgentPrompt":"Is December 23rd 2026 a business day in Germany, and if not, what date falls 3 business days after it — accounting for German public holidays?","exampleUseCases":[{"title":"Payment deadline calculation","prompt":"Our invoice is dated January 15th 2026 and payment terms are net 10 business days in France — what date does payment come due, skipping French public holidays?"},{"title":"Cross-country delivery SLA check","prompt":"Is March 17th 2026 a business day in Ireland? I need to know if we can promise same-day processing for orders placed that day."},{"title":"Annual holiday planning","prompt":"Can you list all the public holidays in Japan for 2026 so I can plan around them for our Q1 and Q2 deadlines?"}],"resultDescription":"Returns a JSON object containing the result date after adding/subtracting business days, whether the start date is a business day, a list of public holidays skipped during calculation, the country and optional region used, and the number of days added. For year-listing mode, returns all public holidays for that country and year.","failureModes":["Missing required 'country' parameter returns a validation error","Invalid ISO2 country code returns an error or empty holiday list","Unsupported region/state code may be silently ignored or return an error","Invalid date format (not YYYY-MM-DD) causes a parsing error","Conflicting parameters (e.g. both 'add' and 'until') may produce unexpected behavior","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an agent needs to compute business-day-aware deadlines, delivery dates, or payment due dates for any of 200+ countries and their sub-regions, especially when national public holidays must be honoured. Prefer this over generic date arithmetic libraries when country-specific public holiday data is required or when regional holidays (e.g. German Bundesländer) matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T06:39:57.278Z","isFirstParty":false,"canonicalSlug":"public-holidays-business-days-200-countries-ebf41d74"}