{"uid":"cap_a84Fkn9CrSWbbVesyuf8w","slug":"canadian-statutory-holidays-by-province-ed833ac9","name":"Canadian Statutory Holidays by Province","description":"Pay-per-call data for AI agents, paid in USDC on Base with x402: token risk checks (rug check) on Base, Ethereum, Arbitrum, Optimism, Polygon and Solana, onchain reads (balances, transactions, gas, contracts, NFTs, whale trades, new pools, ENS and Basenames), ECB exchange rates, and Canadian sales tax and business days.","url":"https://ca-tax-api-mainnet.lxtap.workers.dev/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":["province","year"],"properties":{"year":{"type":"string","pattern":"^\\d{4}$","description":"Year from 2000 to 2100"},"province":{"enum":["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"],"type":"string","description":"Two-letter Canadian province or territory code"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":2027,"holidays":[{"date":"2027-01-01","name":"New Year's Day","observed":"2027-01-01"},{"date":"2027-06-24","name":"Saint-Jean-Baptiste Day","observed":"2027-06-24"}],"province":"QC"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XxQobDmulzMoJYCt2sAFj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the list of statutory (public) holidays for a specified Canadian province or territory in a given year, including local names, exact dates, and observed weekday adjustments for weekend-falling holidays.","exampleAgentPrompt":"Can you list all the statutory holidays in Ontario for 2025, including the actual dates they're observed if any fall on a weekend?","exampleUseCases":[{"title":"Payroll compliance calendar check","prompt":"List all public holidays in British Columbia for 2025 — I need to know which ones land on weekends and what date they're actually observed so I can set up our payroll calendar correctly."},{"title":"Cross-province holiday comparison","prompt":"What are the statutory holidays in Quebec for 2024, using their local French names, and which ones get shifted because they fall on a weekend?"},{"title":"Project timeline planning","prompt":"I'm planning a project deadline schedule for next year — can you pull up all the statutory holidays in Alberta for 2026 so I know which dates to avoid?"}],"resultDescription":"A structured list of statutory holidays for the requested Canadian province/territory and year, each entry including the holiday's local name, its calendar date, the weekday it falls on, and (where applicable) the observed date when the holiday shifts due to falling on a Saturday or Sunday.","failureModes":["Invalid province code returns an error — must be one of the 13 supported two-letter codes (AB, BC, MB, NB, NL, NS, NT, NU, ON, PE, QC, SK, YT)","Year outside the 2000–2100 range is rejected by schema validation","Missing required query parameters (province or year) results in a 400-style error","Network or worker-side failures may return 5xx errors"],"whenToPreferThis":"Use this endpoint when you need authoritative, province-specific Canadian statutory holiday data with correct local naming conventions and weekend-shift observance rules — especially when building payroll, HR, legal, or scheduling systems that must comply with Canadian provincial labour standards. Prefer this over generic calendar APIs that may not reflect province-level holiday variations or use official local holiday names.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:41:33.822Z","isFirstParty":false,"canonicalSlug":"canadian-statutory-holidays-by-province-ed833ac9"}