{"uid":"cap_h_uatf5stWvUW3-y4GySA","slug":"spain-boe-official-gazette-search-3994e98b","name":"Spain BOE Official Gazette Search","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/boe/search?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":[],"properties":{"q":{"type":"string","description":"Keywords (Spanish works best, accent-insensitive, all terms must match)"},"date":{"type":"string","description":"YYYYMMDD or YYYY-MM-DD. Defaults to today. No issue on Sundays."},"limit":{"type":"integer","description":"Max items (1-500, default 100)"},"sections":{"type":"string","description":"Comma-separated BOE section codes: 1,2B,3,4,5A,5B,5C"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"20261021","count":1,"items":[{"id":"BOE-A-2026-21872","pdf":"https://www.boe.es/boe/dias/2026/10/21/pdfs/BOE-A-2026-21872.pdf","title":"Real Decreto-ley ...","section":"1","department":"JEFATURA DEL ESTADO"}]}},"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_gGaoi-IpyXs1B0BcKBL1r","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":"Search the Spanish Official State Gazette (BOE) by keyword, date, and section, returning matching publication titles, IDs, and PDF links","exampleAgentPrompt":"Search today's Spanish Official Gazette (BOE) for publications about 'contrato laboral' in sections 1 and 2B, return up to 50 results with their PDF links.","exampleUseCases":[{"title":"Monitor new Spanish labor regulations","prompt":"Search the BOE for today's publications containing 'contrato' or 'empleo' in sections 1 and 2B — give me the titles, departments, and PDF links for anything relevant to employment law."},{"title":"Track Spanish Royal Decrees on a date","prompt":"Look up BOE publications from October 21 2026 about 'Real Decreto' in section 1, up to 100 results — I need the official document IDs and PDF URLs."},{"title":"Research Spanish tax legislation changes","prompt":"Search the Spanish Official Gazette for recent publications mentioning 'impuesto sobre la renta' — limit to 30 results and show me the section, department, and a link to each PDF."}],"resultDescription":"A JSON object with the queried date, a count of matching items, and an array of BOE entries each containing the official document ID (e.g. BOE-A-2026-21872), the publication title, the BOE section code, the issuing department name, and a direct PDF URL on boe.es.","failureModes":["No results returned when query terms do not match any BOE entry for the given date (count=0)","Date falls on a Sunday when no BOE is issued, returning empty results","Invalid section code provided causing no matching items","Keywords entered in a language other than Spanish may yield fewer or no matches","Future or very old dates may return empty datasets","Result count capped at 500; queries needing more require multiple paginated calls"],"whenToPreferThis":"Use this endpoint when you need to search Spain's official legislative and administrative publications (BOE) by keyword, date, or section — particularly for monitoring new laws, royal decrees, ministerial orders, or official announcements without needing an API key or account. Prefer this over general web search when you need structured, authoritative data with direct PDF links from the official gazette.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:05:34.732Z","isFirstParty":false,"canonicalSlug":"spain-boe-official-gazette-search-3994e98b"}