{"uid":"cap_YkEFW9WraZChXX2b2ZSAR","slug":"agentrxi-public-holidays-business-day-calculator-43485e1c","name":"AgentRXI 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://agentrxi.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_QdmyO5PfYWjH1kOZWvxGZ","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 state/province) 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":"What are all the public holidays in Canada (Ontario) for 2025, and how many business days are there between January 1 and June 30?","exampleUseCases":[{"title":"Contract deadline business-day calculation","prompt":"I need to know what date is exactly 30 business days after March 10, 2025 in the United States — can you calculate that for me?"},{"title":"Annual holiday planning for UK employees","prompt":"Can you list all public holidays in the UK for 2025 so I can plan our team's project schedule around them?"},{"title":"Checking if a payment date is a business day","prompt":"Is July 4, 2025 a business day in the US? I need to know if a wire transfer will go through that day."}],"resultDescription":"Returns a list of public holidays for the specified country/region and year, including holiday names and dates. For business-day math queries, also returns 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 country ISO code returns no results or an error","Invalid date format (non-YYYY-MM-DD) causes a bad request","Unsupported region/state code may return no region-specific holidays","Requesting a year far outside supported range may return empty or error"],"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 accounts for local holidays. Prefer it over generic date libraries when local holiday awareness is required and over web search when structured, machine-readable calendar data is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:24.011Z","isFirstParty":false,"canonicalSlug":"agentrxi-public-holidays-business-day-calculator-43485e1c"}