{"uid":"cap_VdJXXRA0258N-M_HRltlF","slug":"canadian-statutory-holidays-by-province-b4cb088a","name":"Canadian Statutory Holidays by Province","description":"Statutory (general) holidays for a Canadian province or territory in a given year, using the province's local names, with the actual date and the weekday it is observed when it falls on a weekend.","url":"https://onchaincheck.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_f6kiLxQdozOj3g4mE11BC","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 (general) holidays for a specified Canadian province or territory in a given year, with local names, actual dates, and observed dates when a holiday falls on a weekend.","exampleAgentPrompt":"What are all the statutory holidays in Ontario for 2025, including any observed dates when they fall on a weekend?","exampleUseCases":[{"title":"Payroll calendar planning for HR","prompt":"Can you get me all the statutory holidays in British Columbia for 2025 so I can mark them in our payroll calendar, including the observed dates for any that fall on a weekend?"},{"title":"Legal deadline calculation for law firm","prompt":"I need to know all the public holidays in Quebec for 2026 with their local French names and observed dates — we have to avoid scheduling court deadlines on those days."},{"title":"App launch scheduling for product team","prompt":"What are the statutory holidays in Alberta for 2024? We want to avoid launching our product update on a public holiday or its observed date."}],"resultDescription":"A JSON object containing the province code, year, and an array of holiday objects — each with the canonical holiday date, the local province-specific name, and the observed date (which may differ from the actual date if the holiday falls on a Saturday or Sunday).","failureModes":["Invalid or unsupported province code returns an error","Year outside the supported range (2000–2100) returns a validation error","Missing required query parameters (province or year) returns a 400-level error","Payment failure via x402 protocol results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need accurate, province-specific statutory holiday lists for any Canadian province or territory, particularly when you need local holiday names and correct weekend-observed-date resolution. Prefer this over generic calendar APIs when Canadian labour law compliance, payroll, or business-day scheduling in a specific province is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:42:09.778Z","isFirstParty":false,"canonicalSlug":"canadian-statutory-holidays-by-province-b4cb088a"}