{"uid":"cap_pQSCfcnN57gOcV68f5l3L","slug":"holidays-openverbs-com-check-public-holiday-943996f2","name":"holidays.openverbs.com – Check Public Holiday","description":"Check whether a specific date is a public holiday in a country (optionally by state/region).","url":"https://holidays.openverbs.com/v1/check","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["country","date"],"properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Date to check (YYYY-MM-DD)."},"state":{"type":"string","description":"Optional state/province code (e.g. \"CA\" for US-California, \"BY\" for DE-Bavaria)."},"types":{"type":"array","items":{"enum":["public","bank","school","optional","observance"],"type":"string"},"description":"Optional filter: only these holiday types. Defaults to all."},"region":{"type":"string","description":"Optional sub-region code, where the country/state defines one."},"country":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"ISO 3166-1 alpha-2 country code, e.g. \"US\", \"DE\", \"GB\"."},"language":{"type":"string","pattern":"^[A-Za-z]{2}$","description":"Optional 2-letter language for holiday names (e.g. \"en\")."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UNcttURsCIldoJsKBS3Th","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a specific date is a public holiday in a given country, optionally filtered by state/region, sub-region, holiday type, and language.","exampleAgentPrompt":"Is December 26 a public holiday in Germany for Bavaria (state code BY)? Check for the date 2024-12-26.","exampleUseCases":[{"title":"Verify payroll processing date","prompt":"Is November 11 2024 a public holiday in France? I need to know if it's a bank holiday before scheduling payroll runs."},{"title":"Check US state holiday for scheduling","prompt":"Is September 2 2024 a public holiday in the US, specifically in California? I want to make sure we don't schedule any deliveries that day."},{"title":"Confirm travel date is not a holiday","prompt":"I'm arriving in Japan on May 3 2025 — is that a public holiday there? I want to know if shops will be closed."}],"resultDescription":"Returns a boolean or structured response indicating whether the specified date is a holiday in the given country (and optional state/region), along with the holiday name, type, and any relevant metadata such as localized name in the requested language.","failureModes":["Invalid or unrecognized country code returns an error","Date not in YYYY-MM-DD format is rejected by schema validation","Unsupported state/region code for a country may return no result or an error","Holiday type filter with no matching types returns a non-holiday result","Network or service timeout if upstream holiday data provider is unavailable"],"whenToPreferThis":"Use this endpoint when you need a simple yes/no check for a single specific date in a country or state — for example, to validate a scheduled task, payroll date, or shipment date. Prefer this over the sibling list endpoint when you already have the specific date and don't need the full annual calendar.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:22.266Z","isFirstParty":false}