Law & official gazettes Agencia Estatal Boletín Oficial del Estado (AEBOE)
BOE Open Data API (Spain’s official gazette)
Read Spain’s official gazette indexes and consolidated legislation through the BOE open data interfaces.
Source review: 2026-10-30 · Imported: 1 November 2026
A practical starting point
What could you build?
A monitoring assistant can collect relevant gazette entries and link a reader to the published legal material.
Before you connect
Credit the source under its reuse terms. Confirm the applicable version and authoritative text when interpreting a law.
Capabilities & requirements
Dated specifications from the licensed source dataset. “Not published” indicates missing information, rather than confirmed absence.
| Capability | Details and source |
|---|---|
| Status | Not published AEBOE gives the open data API no beta, GA or version label and publishes no SLA. Source (external) · Not published by vendor: checked 2026-10-30 on https://www.boe.es/datosabiertos/api/api.php |
| API key required | No key Keyless GET of the 2026-10-30 BOE summary returned HTTP 200 JSON. Source (external) · Verified 2026-10-30 by test request to https://www.boe.es/datosabiertos/api/boe/sumario/20261030 |
| Free tier | Free Offered to the public for access, download and reuse; no paid tier or account is mentioned. Source (external) · Verified 2026-10-30 on https://www.boe.es/datosabiertos/api/api.php |
| Rate limit | Not published No request limit in the API docs, technical guides or FAQs, and no rate-limit headers in our responses. Source (external) · Not published by vendor: checked 2026-10-30 on https://www.boe.es/datosabiertos/api/api.php |
| Official MCP server | Not published AEBOE publishes no MCP server; wrap the GET endpoints as tools yourself. Source (external) · Not published by vendor: checked 2026-10-30 on https://www.boe.es/datosabiertos/api/api.php |
| Official SDK | Not published No official SDK; plain GET with JSON or XML, documented in technical PDFs with XSD schemas. Source (external) · Not published by vendor: checked 2026-10-30 on https://www.boe.es/datosabiertos/api/api.php |
| Data license / terms | Free reuse with source credit AEBOE standard licence of 27 June 2024: cite the source with a link to www.boe.es, no distortion, no implied official status or endorsement; logos and design excluded. Source (external) · Verified 2026-10-30 on https://www.boe.es/informacion/aviso_legal/index.php |
| Commercial use allowed | Allowed with attribution The reuse conditions permit commercial and non-commercial reuse with a source credit. Source (external) · Verified 2026-10-30 on https://www.boe.es/informacion/aviso_legal/index.php |
| CORS / browser use | Access-Control-Allow-Origin: * GET responses carried ACAO *; an OPTIONS preflight returned 204 without it, so stick to simple GETs from browser code. Source (external) · Verified 2026-10-30 by test request to https://www.boe.es/datosabiertos/api/boe/sumario/20261030 |
| Freshness / coverage | Daily except Sunday; since 1960 BOE summaries from September 1960; consolidated laws updated 1 to 3 days after an amendment. Source (external) · Verified 2026-10-30 on https://www.boe.es/datosabiertos/faq/boe.php |
Operational reference
Additional facts and qualifications retained from AgentAPIList’s CC BY 4.0 dataset, with provider references.
Price
Free. AEBOE offers the API to the public for access, download and reuse; the docs mention no paid tier or account.
Provider reference (external)API key / auth
None. Our keyless GET of the 2026-10-30 BOE summary returned HTTP 200 JSON. The technical guide says requests use GET over HTTPS and pick JSON or XML with the Accept header.
Provider reference (external)Rate limit
Not published by AEBOE. The API docs, technical guides and FAQs give no request limit, and our responses carried no rate-limit headers.
Provider reference (external)License / terms
Reuse conditions under AEBOE’s standard licence of 27 June 2024: commercial and non-commercial reuse is allowed if you cite the source with a link to www.boe.es (for derived products, “Basado en datos de la Agencia Estatal Boletín Oficial del Estado”), do not distort the meaning, do not suggest the data is official or that AEBOE endorses you, keep update dates, and follow GDPR for personal data. Logos and site design are excluded.
Provider reference (external)Datasets
Consolidated legislation, the BOE daily summary, the BORME daily summary and auxiliary code tables, each with an FAQ and a technical PDF.
Provider reference (external)Coverage
BOE summaries are available from September 1960. The BOE is published every day except Sunday (plus occasional extra issues); our request for Sunday 2026-10-25 returned 404 “La información solicitada no existe”.
Provider reference (external)Consolidated laws
Consolidated texts have no official value and are informative only; a new consolidated version takes 1 to 3 days after an amendment is published, and estado_consolidacion shows “desactualizado” until then.
Provider reference (external)Setup references
HTTP request example
Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.
curl -sS "https://www.boe.es/datosabiertos/api/boe/sumario/20261030" \
-H "Accept: application/json"Agent connection example
Adapted from the attributed source dataset. Review before running; these examples were not executed by Tech in General.
// Tool definitions for Claude, OpenAI or any function-calling agent
[
{
"name": "boe_daily_summary",
"description": "Table of contents of Spain's official gazette (BOE) or the commercial register gazette (BORME) for one date. Read-only, no key. 404 means no issue that day.",
"input_schema": {
"type": "object",
"properties": {
"gazette": { "type": "string", "enum": ["boe", "borme"] },
"date": { "type": "string", "pattern": "^[0-9]{8}$", "description": "YYYYMMDD" }
},
"required": ["gazette", "date"]
}
},
{
"name": "boe_law_metadata",
"description": "Metadata of a consolidated Spanish law by BOE identifier, e.g. BOE-A-2018-16673. Consolidated texts are informative, not official.",
"input_schema": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
}
}
]
// Implementation (send Accept: application/json):
// GET https://www.boe.es/datosabiertos/api/{gazette}/sumario/{date}
// GET https://www.boe.es/datosabiertos/api/legislacion-consolidada/id/{id}/metadatosA tool schema needs an HTTP implementation; it does not by itself install an MCP server. Keep credentials out of browser code.
Other connections to explore
- TED Search API (external)
- OpenCaseLaw MCP & API (external)
- FinancialFilings MCP (external)
- SEC EDGAR API (external)
- Wikipedia REST API (external)
Source & reuse
Download the complete licensed source snapshot (JSON), including the original source’s caveats, alternative notes and examples.