{"uid":"cap_ocxFv3hxk7Jfn1iRXN6NW","slug":"saylor-innovations-public-holidays-by-country-035b662f","name":"Saylor Innovations Public Holidays by Country","description":"Public holidays by country — Real-world Data","url":"https://saylorinnovations.com/api/util/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","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","properties":{"country":{"type":"string","description":"ISO 3166 alpha-2 code, e.g. US, DE, JP (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["country","holidays"],"properties":{"year":{"type":["number","null"]},"country":{"type":"string"},"holidays":{"type":"array","items":{"type":"object"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__T4Gpx5cOi4ArEm1ZSjwx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a list of public holidays for a given country identified by its ISO 3166 alpha-2 country code","exampleAgentPrompt":"What are the public holidays in Japan this year? Use the country code JP to look them up.","exampleUseCases":[{"title":"Travel itinerary holiday awareness","prompt":"I'm planning a business trip to Germany next month — can you pull up all the public holidays there so I know which days offices will be closed?"},{"title":"Payroll scheduling around national holidays","prompt":"Our payroll team needs to know all public holidays in Brazil this year so we can plan payment processing dates — can you fetch that list using country code BR?"},{"title":"International meeting scheduler","prompt":"I need to schedule a call with our teams in the US, France, and Japan — can you look up the public holidays for US, FR, and JP so we can avoid scheduling on those days?"}],"resultDescription":"A JSON object containing the country identifier, the year (if applicable), and an array of public holiday objects — each likely including the holiday name and date — for the requested country.","failureModes":["Missing or invalid country code returns an error or empty result","Unsupported country code (not all countries may be in the dataset) may return empty holidays array","Network or service unavailability results in a non-200 response","Payment failure (insufficient USDC balance for x402 micropayment) blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a structured, machine-readable list of public holidays for a specific country, especially in agentic workflows involving scheduling, payroll, travel planning, or compliance checks. At $0.001 per call it is cost-effective for on-demand lookups. Prefer alternatives if you need multi-year bulk holiday datasets or require holidays for subdivisions (states/provinces) rather than the national level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:46.485Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-public-holidays-by-country-035b662f"}