{"uid":"cap_LfvHT_v0XKfXsyyl0-YVB","slug":"powahub-public-holidays-190b9d06","name":"PowaHub Public Holidays","description":"Dated public-holiday list for a country and year.","url":"https://api.powahub.ai/CertainData/holidays/:iso2/:year?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["iso2","year"],"properties":{"iso2":{"type":"string","description":"Country ISO-2 code, e.g. GB."},"year":{"type":"string","description":"Four-digit year, e.g. 2026."}}},"queryParams":{"type":"object","properties":{"type":{"type":"string","description":"Optional. Filter by holiday type, e.g. public or bank. Omit for all."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RxfeUyBAhrN6K_tm4nRIH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a dated list of public holidays for a given country and year, optionally filtered by holiday type.","exampleAgentPrompt":"Can you give me the full list of public holidays in Germany for 2026? Just the official public ones, not bank holidays.","exampleUseCases":[{"title":"Payroll scheduling around holidays","prompt":"What are all the public holidays in the UK for 2025? I need to make sure we don't schedule payroll runs on those days."},{"title":"Travel itinerary planning","prompt":"I'm planning a trip to Japan in 2024 — can you pull up all the national public holidays for that year so I can plan around busy periods?"},{"title":"App calendar integration","prompt":"Can you fetch the complete list of public and bank holidays for Canada in 2026? I need to mark them in our scheduling tool."}],"resultDescription":"A structured list of public holidays for the specified country and year, each entry including the holiday date, name, and type (e.g. public or bank). Optionally filtered to a specific holiday type if the query parameter is provided.","failureModes":["Invalid or unsupported ISO-2 country code returns an error or empty list","Year outside supported range may return no results or an error","Unknown holiday type filter value may return empty results","Network or upstream data unavailability returns a service error"],"whenToPreferThis":"Choose this endpoint when you need a machine-readable, dated list of official public or bank holidays for a specific country and year — especially for scheduling, payroll, travel planning, or calendar integrations. It is ideal when you have the country ISO-2 code and year readily available and need structured output per holiday.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:09:16.747Z","isFirstParty":false,"canonicalSlug":"powahub-public-holidays-190b9d06"}