{"uid":"cap_W4M-OIzmSsiFAjHXDl62A","slug":"openholidays-regional-api-public-school-holidays-with-subdivision-4bb29d17","name":"OpenHolidays Regional API — Public & School Holidays with Subdivision Granularity","description":"Public holidays and school holidays with subdivision granularity (German Laender, French academies, Spanish communities...) from the OpenHolidays API (data ODbL-1.0, ~36 mostly European countries). Query: ?country=DE&from=2026-07-01&to=2026-12-31&type=public|school&subdivision=DE-BY (optional ISO 3166-2 filter; window max 366 days, default today +6 months). Each entry: dates, English name, nationwide flag, affected subdivision codes. 24h cache.","url":"https://x402-datashop-production.up.railway.app/v1/eu/holidays-regional","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"to":{"type":"string","description":"ISO end date (default: from + 6 months, max +366 days)"},"from":{"type":"string","description":"ISO start date (default: today)"},"type":{"enum":["public","school"],"type":"string","default":"public"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code (e.g. DE, FR, AT)"},"subdivision":{"type":"string","description":"ISO 3166-2 subdivision filter, e.g. DE-BY"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mw2-PsYoGd4yuaqk6N_Y6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns public and school holidays for a given country and date range, optionally filtered by ISO 3166-2 subdivision (e.g. German Länder, French academies, Spanish communities), sourced from the OpenHolidays API.","exampleAgentPrompt":"What are the public holidays in Germany, specifically Bavaria (DE-BY), between July 1 and December 31, 2026?","exampleUseCases":null,"resultDescription":"A list of holiday entries each containing: start and end dates, English holiday name, a boolean indicating whether the holiday is nationwide or region-specific, the holiday type (public or school), and the list of ISO 3166-2 subdivision codes affected. Results are cached for 24 hours.","failureModes":["Missing required 'country' parameter returns a 400 error","Date window exceeding 366 days returns a validation error","Unsupported or misspelled country code may return empty results or 404","Invalid subdivision code may return empty results rather than an error","Non-business or weekend dates are not relevant (holidays can fall any day, but ECB-style gaps don't apply here)","Countries not covered by OpenHolidays (~36 mostly European) will return empty or error responses"],"whenToPreferThis":"Use this endpoint when you need subdivision-level holiday granularity (e.g. German Länder, French académies, Spanish autonomous communities) rather than just nationwide holidays. It is preferable to generic holiday APIs when regional differences matter — for scheduling, HR systems, travel planning, or compliance checks in federated countries. For simpler country-wide holiday lists without subdivision filtering, a lighter endpoint may suffice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:03.987Z","isFirstParty":false}