{"uid":"cap_mu0FCBU78k0HU1no_u5mW","slug":"spain-public-holidays-lookup-80d72601","name":"Spain Public Holidays Lookup","description":"Pay-per-call Spain and EU utilities for AI agents over x402 (USDC). No accounts, no API keys. Public open data, live official checks (EU VIES) and offline computation; nothing is stored.","url":"https://es.redtapeapi.com/v1/es/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":["year"],"properties":{"year":{"type":"integer","description":"Year, e.g. 2027"},"region":{"type":"string","description":"Optional ISO 3166-2 region code: ES-AN,ES-AR,ES-AS,ES-CB,ES-CE,ES-CL,ES-CM,ES-CN,ES-CT,ES-EX,ES-GA,ES-IB,ES-MC,ES-MD,ES-ML,ES-NC,ES-PV,ES-RI,ES-VC"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":2027,"region":"ES-MD","holidays":[{"date":"2027-01-01","name":"New Year's Day","localName":"Año Nuevo"}]}},"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_HnFcJkSVRiDtCz_puD3I3","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":"Returns official Spanish public holidays for a given year, optionally filtered by autonomous community (region).","exampleAgentPrompt":"What are the official public holidays in Spain for 2027, specifically for the Madrid region (ES-MD)?","exampleUseCases":[{"title":"Scheduling around Spanish holidays","prompt":"Can you list all the public holidays in Catalonia (ES-CT) for 2026 so I can avoid scheduling meetings on those days?"},{"title":"Payroll non-working day check","prompt":"What are the national and regional public holidays in the Basque Country (ES-PV) for 2025? I need them for payroll processing."},{"title":"Travel planning holiday calendar","prompt":"I'm planning a trip to Andalusia in 2027 — can you pull up all the official public holidays there for the whole year so I know which days things might be closed?"}],"resultDescription":"A JSON object containing the requested year, the optional region code, and an array of holiday objects each with a date (ISO 8601), an English name, and a localName in Spanish.","failureModes":["Missing required 'year' parameter returns a 400 or validation error","Invalid or unrecognized region code may return an empty list or error","Payment not sent or insufficient USDC balance results in HTTP 402 payment required","Year outside supported range may return an empty holidays array or error","Network/service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need an authoritative, up-to-date list of Spanish national or regional public holidays for a specific year — especially for scheduling, payroll, compliance, or travel planning workflows that must respect official Spanish labor calendar rules. It covers all 19 autonomous communities and cities via ISO 3166-2 codes. Prefer this over generic calendar APIs when Spain-specific official data and regional granularity are required. No account setup needed; pay-per-call via USDC x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:11:12.042Z","isFirstParty":false,"canonicalSlug":"spain-public-holidays-lookup-80d72601"}