{"uid":"cap_o6ba2wHW1PvRa3p9vJZB3","slug":"public-holiday-calendar-api-41b64b2b","name":"Public Holiday Calendar API","description":"Pay-per-call utilities for AI agents over x402, USDC on Base.","url":"https://agents.crowdspark.me/v1/time/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":["country","year"],"properties":{"year":{"type":"string","description":"Year, e.g. 2027"},"country":{"type":"string","description":"ISO 3166 alpha-2"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":2027,"country":"US","holidays":[{"date":"2027-01-01","name":"New Year's Day","global":true,"local_name":"New Year's Day"}]}},"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_E6AUxgbJbZ7NzHCVCFSqh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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 public holidays for a given country and year, covering 100+ countries, for use in scheduling, payroll, and delivery planning.","exampleAgentPrompt":"Can you pull up all the public holidays in the US for 2026? I need to plan around them for payroll and delivery scheduling.","exampleUseCases":[{"title":"Payroll processing around holidays","prompt":"What are all the public holidays in Canada for 2025? I need to make sure we don't schedule payroll runs on those days."},{"title":"International delivery scheduling","prompt":"List all public holidays in Germany for 2026 so I can avoid scheduling deliveries on those dates."},{"title":"Cross-country meeting planning","prompt":"What public holidays fall in France in May 2025? I want to avoid scheduling team meetings on those days."}],"resultDescription":"A JSON object containing the country code, year, and an array of holiday objects — each with a date (YYYY-MM-DD), the official English name, the local-language name, and a boolean indicating whether it is a nationally observed holiday.","failureModes":["Unsupported or invalid country code returns an error or empty list","Invalid year format causes a validation error","Country with no holiday data returns an empty holidays array","Missing required query parameters (country or year) returns a 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a structured, machine-readable list of official public holidays for a specific country and year — ideal for scheduling agents, payroll automation, SLA calculators, and logistics planners. Prefer this over general web search when you need reliable, structured holiday data rather than scraped or unstructured results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:41.030Z","isFirstParty":false,"canonicalSlug":"public-holiday-calendar-api-41b64b2b"}