{"uid":"cap_Hoo3mwlZqTOI_iHhiKTnv","slug":"citiview-public-holidays-business-day-calculator-d77babdf","name":"Citiview 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.citiviewgroup.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_GlfYTNuDXvupJ9XSdAnpr","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 arithmetic: 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, what public holidays fall in that range?","exampleUseCases":[{"title":"Invoice payment due date calculation","prompt":"I need to send an invoice to a client in Ontario, Canada today (April 14, 2025) with net-30 business days payment terms — what date will that be, accounting for Canadian and Ontario provincial holidays?"},{"title":"Project deadline planning across countries","prompt":"My team in the UK needs to deliver a project in 15 business days from May 1, 2025 — what date does that land on, considering UK public holidays?"},{"title":"Payroll schedule verification","prompt":"Is November 11, 2025 a business day in Germany? I'm trying to confirm whether we can process payroll on that date."}],"resultDescription":"Returns a JSON object containing a list of public holidays for the specified country (and optional region/year), along with computed business-day 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 a 400 error","Invalid or unsupported ISO country code returns an error or empty holiday list","Malformed date format (not YYYY-MM-DD) causes a parsing error","Missing 'from' date when using 'add_business_days' or date-range parameters returns an error","Unsupported region/province code may return no regional holidays or an error"],"whenToPreferThis":"Choose this endpoint when you need accurate public holiday data across 100+ countries with optional sub-national (state/province) granularity, or when you need to perform business-day arithmetic (count days between dates, add business days, check if a date is a working day) that respects country-specific and regional holiday calendars. It is especially useful for scheduling, payroll, invoice due dates, and SLA calculations that must account for local holidays.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:45:56.116Z","isFirstParty":false,"canonicalSlug":"citiview-public-holidays-business-day-calculator-d77babdf"}