{"uid":"cap_-6ZrplFODCyGD-baIUSxi","slug":"agent-hub-public-holidays-business-day-calculator-a8c20764","name":"Agent Hub Public Holidays & Business Day Calculator","description":"Public holidays for 100+ countries (optional state/province), plus business-day math: count business days between two dates, add N business days to a date, or check if a date is a business day.","url":"https://agents.torbrooknews.com/v1/holidays?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":"YYYY-MM-DD, counts business days from..to"},"from":{"type":"string","description":"YYYY-MM-DD"},"year":{"type":"integer"},"region":{"type":"string","description":"Optional state/province code, e.g. ON"},"country":{"type":"string","description":"ISO 2-letter code, e.g. US, CA, GB"},"add_business_days":{"type":"integer","description":"Adds N business days to from"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_mrSUSd0ARz07TwU1BKmP7","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":"Returns public holidays for 100+ countries (with optional region/state) and performs business-day math: count business days between dates, add N business days to a date, or check if a date is a business day.","exampleAgentPrompt":"How many business days are there between March 3 and April 18, 2025 in the US? Also, can you list the public holidays in that period?","exampleUseCases":[{"title":"Project deadline business day calculation","prompt":"I need to know how many business days there are between February 1 and March 31, 2025 in the UK — I'm planning a project timeline and need the exact count."},{"title":"Add working days to contract start date","prompt":"If a contract starts on April 7, 2025, what date is 15 business days later in Ontario, Canada? Factor in Canadian holidays."},{"title":"Check if a specific date is a holiday","prompt":"Is November 11, 2025 a business day in Germany? I need to know before scheduling a payment for that date."}],"resultDescription":"Returns a list of public holidays (names, dates) for the requested country and optional region/year, plus business-day computation results such as the count of business days between two dates, the resulting date after adding N business days, or a boolean indicating whether a given date is a business day.","failureModes":["Missing required 'country' query parameter returns an error","Invalid or unsupported ISO country code returns an error or empty result","Region/province code not recognized for the given country may return no regional holidays","Date format not in YYYY-MM-DD causes a parsing error","Year out of supported range may return empty or error","No public holidays data available for an obscure country"],"whenToPreferThis":"Choose this endpoint when you need authoritative public holiday data for a specific country or subnational region, or when you need to perform business-day arithmetic (counting, adding, or validating) that correctly accounts for local public holidays. Prefer this over generic calendar APIs when regional holidays (e.g., Ontario vs. Quebec) matter, or when you need to combine holiday lookup with business-day math in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:49.191Z","isFirstParty":false,"canonicalSlug":"agent-hub-public-holidays-business-day-calculator-a8c20764"}