{"uid":"cap_mf-MrzNVvaG5enb-kt8xJ","slug":"toolrail-public-holidays-aa64bac3","name":"Toolrail Public Holidays","description":"Official public holidays for supported countries (any year 1975-2075): date, local and English name, nationwide vs regional flag. Chile enhanced with a curated statutory table. Use when checking whether a date is a public holiday in a country or listing a year's holidays.","url":"https://toolrail.dev/days/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","properties":{"year":{"type":"string"},"country":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"year":{"type":"integer"},"total":{"type":"integer"},"country":{"type":"string"},"holidays":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"name":{"type":"string"},"nationwide":{"type":"boolean"}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qzgUQcUSl9u_G4Fw2mx_F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official public holidays for a given country and year (1975–2075), including date, local name, English name, and nationwide vs. regional flag.","exampleAgentPrompt":"Can you list all official public holidays in Chile for 2025, including whether each one is nationwide or just regional?","exampleUseCases":[{"title":"Payroll cutoff date validation","prompt":"I need to know which days are public holidays in Colombia in 2025 so I can make sure our payroll system skips them — can you pull the full list?"},{"title":"Travel planning around holidays","prompt":"What are all the national holidays in Mexico in 2026? I'm planning a trip and want to know which days everything will be closed."},{"title":"Checking a specific date before scheduling","prompt":"Is November 1st a public holiday in Peru? I'm trying to schedule a meeting for that day and don't want to book it on a national holiday."}],"resultDescription":"Returns a JSON object containing the country code, year, total number of holidays, and an array of holiday objects — each with the ISO date string, the holiday's local-language name, its English name, and a boolean indicating whether it is a nationwide holiday or regional.","failureModes":["Unsupported country code returns an error or empty result","Year outside the 1975–2075 range may return an error","Missing required query parameters (country, year) causes a 400-level error","Regional holiday data may be incomplete for countries other than Chile"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable public holiday data for a specific country and year, especially for Latin American countries where Chile has enhanced statutory accuracy. Prefer it over generic calendar APIs when you need the nationwide-vs-regional distinction or need coverage across historical and future years within the 1975–2075 window.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:16.190Z","isFirstParty":false,"canonicalSlug":"toolrail-public-holidays-aa64bac3"}