BOE Data Loader
BOE Data Loader queries the open data of the Boletín Oficial del Estado (BOE), Spain’s official state gazette. With it you can search the consolidated legislation, read the data and text of a norm, get the BOE or BORME summary for a day, and look up the reference tables the BOE uses, such as subjects or departments.
It is a public service: you don’t need a credential.
When to use it
- Every morning you want a summary of that day’s BOE.
- You want to know which norms on a subject were updated in a period.
- You need the consolidated text of a law so an AI agent can answer questions about it.
- You want to read one specific article of a norm without downloading the whole norm.
- You want to keep an eye on the daily BORME summary.
Configuration
| Field | What it does |
|---|---|
| API | The BOE data group: Legislación Consolidada, BOE Sumario, BORME Sumario or Datos Auxiliares. Default: Legislación Consolidada. Changing it changes the Operation list. |
| Operation | What to query within the chosen group. See Operations. |
| Norm ID or URL | The norm’s identifier, for example BOE-A-2015-8147, or its address on boe.es. It appears in the operations on a norm. |
| Block ID | Only in Bloque de texto. The block of the norm you want, for example a1 for article 1 or preambulo. The identifiers come from Índice de texto. |
| Query | Text to search for. In Buscar legislación, it searches the norms; in Buscar en sumarios, the titles of the provisions. |
| Date From | Start date, in yyyymmdd format, for example 20260101. In Buscar legislación it filters by last update date. Required in Buscar en sumarios. |
| Date To | End date, in the same format. Required in Buscar en sumarios. |
| Limit | Only in Buscar legislación. Maximum number of results; -1 returns all. Default: 50. |
| Date | In Sumario del día. The day of the summary, in yyyymmdd format. |
Operations
The operation names are in Spanish, as the BOE names them.
Legislación Consolidada
| Operation | What it does |
|---|---|
Buscar legislación | Searches norms by text and by update date. |
Metadatos de norma | Returns a norm’s descriptive data, such as its title and dates. |
Análisis de norma | Returns the analysis the BOE publishes for the norm, such as its subjects. |
Índice de texto | Returns the list of the norm’s blocks (preamble, articles, provisions) with their identifiers. |
Bloque de texto | Returns the text of one specific block of the norm. |
Texto consolidado | Returns the full consolidated text of the norm. |
Norma completa | Returns the complete norm as the BOE publishes it. |
Metadatos ELI | Returns the norm’s data in the European ELI format. |
BOE Sumario
| Operation | What it does |
|---|---|
Sumario del día | Returns the BOE summary for the given date. |
Buscar en sumarios | Goes through the summaries between two dates and returns the provisions whose title contains the Query text. |
BORME Sumario
| Operation | What it does |
|---|---|
Sumario del día | Returns the BORME summary for the given date. |
Datos Auxiliares
The operations Materias, Ámbitos, Estados de consolidación, Departamentos, Rangos, Relaciones anteriores and Relaciones posteriores each return the BOE reference table with that name: the list of possible values and their codes. They don’t ask for any other field.
Advanced options
| Field | What it does |
|---|---|
| Offset | Only in Buscar legislación. Which result to start from, counting from 0. Useful to fetch results in batches. Default: 0. |
| Timeout (seconds) | How many seconds to wait for the BOE’s answer. Default: 30. |
Output
The Results output returns the BOE’s answer. When the answer is a list, such as search results or a norm’s index, you get one item per entry, with its title as text. When it is a single piece of data, such as a norm’s text or a summary, you get one item.
If the BOE answers with an error or a required value is missing, the component does not stop the flow: it returns one item with the error text.
You can connect the result to an agent that summarises it, to a component that filters the data, or to an email component. The component can also be connected to an Agent as a tool, so the agent queries the BOE when it needs to. See Tool Mode.
Example
A law firm wants to receive the BOE news every morning.
- Schedule the flow to run every working day. See Scheduler.
- Add BOE Data Loader with API set to
BOE Sumarioand Operation set toSumario del día. - In Date connect the day’s date in
yyyymmddformat. - Connect Results to an agent that summarises the provisions that affect your practice areas and to an email component that sends the summary to the team.
Good practices
- For a long norm, use
Índice de textofirst and thenBloque de textowith the article you need, instead of fetching the full text. - Always write dates as
yyyymmdd, without dashes or slashes. - If you want an AI to answer questions about a norm, try BOE Norm Agent, which finds the articles for you.
Related components
- BOE Norm Agent: answers questions about BOE norms with their articles.