# Spain's official gazettes, as data.

Canonical URL: https://www.rastriq.es/en/spain-official-gazette-api/ · Spanish version: https://www.rastriq.es/api-boletines-oficiales/

> Spain's state gazette (BOE) and the Basque regional gazette (BOPV) as open data: every entry with section, issuing body, date and official links, by API.

Two Spanish official gazettes turned into a dataset you query by API: the State Gazette (BOE), read from its open data API, and the regional Basque Country gazette (BOPV), read from the XML summaries euskadi.eus publishes. Every entry arrives with its section, the issuing body, the date and the official link, filterable by keyword and ready to schedule daily.

QUICK ANSWER

**Quick answer:** Spain's State Gazette (BOE) and the Basque Country regional gazette (BOPV) as structured data: every entry with section, issuing body, date, title and official link, filterable by keyword and available through the Apify API or as JSON and CSV. The BOE is read from its open data API and the BOPV from the official XML summaries. Other regional gazettes are built on request.

2

Gazettes: state (BOE) and regional (BOPV)

100–300

BOE entries per day (README)

$0.90–1

Per 1,000 entries

See use cases → See real rows

CONTEXT

## One state gazette and one regional gazette

Both actors read official sources built for machine consumption, so there is no HTML to parse and no protection to work around.

| Gazette | Scope | Where it reads from | Filters | Price per result |
|---|---|---|---|---|
| [BOE](https://apify.com/rastriq/boe-scraper?utm_source=rastriq.es&utm_medium=web&utm_campaign=en-spain-official-gazette-api) | State | BOE open data API (JSON) | Date or range of up to 365 days, section (I to V-C), department and keywords | $0.001 |
| [BOPV](https://apify.com/rastriq/bopv-scraper?utm_source=rastriq.es&utm_medium=web&utm_campaign=en-spain-official-gazette-api) | Basque Country | Official XML summaries from euskadi.eus | Months back, keyword in the title and section | $0.0009 |

Plus a small start fee ($0.0001 for BOE and $0.005 for BOPV per GB of memory). Neither needs a proxy or a browser.

**Which regional gazettes are covered.** Only the BOPV today. Others, such as BOJA, DOGC or BOCM, have no public actor: they are built as a managed scraping project.

**Summary and link, not the full text.** Each row is one entry with its title and metadata. The full text sits behind the official link: for the BOE, in HTML, XML and PDF.

FIGURES

## Two months of BOPV in one run

Rastriq count on a run from 18 October 2026: 785 entries in 57 seconds.

| BOPV section | Entries |
|---|---|
| Otras disposiciones | 273 |
| Autoridades y personal | 257 |
| Anuncios | 250 |
| Disposiciones generales | 5 |

47 bulletins between 12 August and 16 October 2026, signed by 55 bodies. Osakidetza tops the list with 187 entries; 150 titles mention grants or subsidies and 15 mention tenders or contracts.

USE CASES

## What gazette data is used for

Four use cases: who uses them, what you do and which fields you need.

1 · Regulatory monitoring

Law firms, compliance teams and trade associationsSchedule a daily run with your sector's words (for example `energía` or `vivienda`) and the general provisions section.**Result:** every morning, the new rules that affect you.

Fields: `titulo`, `seccion_nombre`, `departamento_nombre`, `url_pdf`

2 · Grants and subsidies

Grant consultancies and companiesFilter the BOPV by `subvención`, `ayuda` or `convocatoria` and keep the issuing body.**Result:** new Basque Government calls as soon as they are published.

Fields: `titulo`, `organismo`, `fecha`, `link`

3 · Tenders in the gazette

Sales teams selling to the public sectorUse BOE section V-A (public procurement) and the word `licitación` in the BOPV.**Result:** procurement notices with their official link.

Fields: `identificador`, `epigrafe_nombre`, `departamento_nombre`

4 · Corpus for search and AI

Data teams, legaltech and researchersDownload ranges of up to 365 days of BOE per run and months of BOPV, and store them with their official ID for indexing.**Result:** your own searchable, citable archive.

Fields: `identificador`, `fecha_publicacion_iso`, `url_xml`

REAL SAMPLE

## Real rows from both gazettes

Extracts from runs in September and October 2026. Titles stay in the original Spanish. The samples download without signing up.

### BOE

| identificador | fecha | section | title |
|---|---|---|---|
| BOE-A-2026-19523 | 2026-09-21 | I. Disposiciones generales | Resolución de 9 de septiembre de 2026, de la Presidencia de la Autoridad Independiente de Protección del… |
| BOE-B-2026-30430 | 2026-09-21 | V. Anuncios. - A. Contratación… | Anuncio de licitación de: Intendente de Ferrol. Objeto: Concesión del servicio de explotación de la… |
| BOE-A-2026-19195 | 2026-09-14 | III. Otras disposiciones | Resolución de 2 de septiembre de 2026, de la Universidad de Castilla-La Mancha, por la que se publica la… |
| BOE-A-2026-18973 | 2026-09-10 | III. Otras disposiciones | Resolución de 12 de junio de 2026, de la Autoridad Portuaria de Huelva, por la que se corrigen errores en la… |
| BOE-A-2026-19523 | 2026-09-21 | I. Disposiciones generales | Resolución de 9 de septiembre de 2026, de la Presidencia de la Autoridad Independiente de Protección del… |

### BOPV

| fecha | section | body | title |
|---|---|---|---|
| 2026-08-12 | OTRAS DISPOSICIONES | TRIBUNAL VASCO DE CUENTAS PÚBLICAS | ACUERDO del Pleno del Tribunal Vasco de Cuentas Públicas, de aprobación definitiva del Informe de… |
| 2026-08-12 | ANUNCIOS | DEPARTAMENTO DE INDUSTRIA, TRANSICIÓN… | ANUNCIO del director de Administración Ambiental, por el que se somete a información pública el proyecto… |
| 2026-08-14 | OTRAS DISPOSICIONES | DEPARTAMENTO DE VIVIENDA Y AGENDA URBANA | ORDEN de 27 de julio de 2026, del consejero de Vivienda y Agenda Urbana, por la que se declara el municipio… |
| 2026-08-14 | OTRAS DISPOSICIONES | SPRI-AGENCIA VASCA DE DESARROLLO… | RESOLUCIÓN de 29 de julio de 2026, del director general de SPRI-Agencia Vasca de Desarrollo Empresarial, por… |
| 2026-08-21 | ANUNCIOS | AYUNTAMIENTO DE ORDIZIA | ANUNCIO relativo a la aprobación definitiva del Plan de Vivienda de Ordizia. |

**What we removed from the samples.** Appointments, dismissals and notifications that name individuals. The actors do return every section.

[BOE CSV](https://www.rastriq.es/muestras/boe.csv) [BOE JSON](https://www.rastriq.es/muestras/boe.json) [BOPV CSV](https://www.rastriq.es/muestras/boletin-bopv.csv) [BOPV JSON](https://www.rastriq.es/muestras/boletin-bopv.json) [Browse all samples](https://www.rastriq.es/en/samples/)

RECIPES

## Inputs ready to copy

Examples from the READMEs. Paste the input into the actor's JSON tab and press Start.

| Task | Input (JSON) | What it is for |
|---|---|---|
| BOE: latest issue | `{"dateMode": "latestIssue", "maxItems": 100}` | The fastest way to try it. |
| BOE: 30 days of tenders | `{"dateMode": "lastNDays", "daysBack": 30, "sections": ["5A"], "includeKeywords": ["licitación"], "maxItems": 200}` | Section V-A, public procurement. |
| BOE: Constitutional Court | `{"dateMode": "lastNDays", "daysBack": 30, "departmentCodes": ["1410"]}` | It is a department, not a section (code 1410). |
| BOPV: 6 months of grants | `{"monthsBack": 6, "keyword": "subvención"}` | The word is matched in the title. |
| BOPV: tenders of the quarter | `{"monthsBack": 3, "keyword": "licitación"}` | About 1,500 entries unfiltered in 3 months. |

A daily run is enough to follow a gazette; both publish on working days only.

FIELDS

## Field dictionary

The BOE actor also stores days without publication, failed days and whether the limit was hit in `SUMMARY`.

| Field | Description |
|---|---|
| `identificador · control · diario_numero` | BOE: official ID (BOE-A-…), control number and issue number |
| `seccion_codigo · seccion_nombre · epigrafe_nombre` | BOE: section and heading |
| `departamento_codigo · departamento_nombre` | BOE: issuing department |
| `url_html · url_xml · url_pdf` | BOE: full text in three formats |
| `boletin · fecha · seccion · subseccion` | BOPV: bulletin number, date and section |
| `organismo · titulo · orden · link` | BOPV: issuing body, title, order in the bulletin and link to euskadi.eus |
| `fecha_publicacion_iso · scraped_at · source` | Normalised date, extraction time and source |

DELIVERY

## How you receive the data

Run it yourself, receive it on a schedule or commission the project.

Apify

You run the actor and download Excel, CSV or JSON, or read it through the Apify API. $1 per 1,000 BOE entries and $0.90 per 1,000 BOPV entries, plus the start fee.

Channels: console, API, MCP

Recurring dataset

A daily feed with your sections and keywords, delivered wherever you need it.

Channels: S3, CSV, JSON

Custom project

Other regional or provincial gazettes, full text and classification by subject.

[Managed scraping](https://www.rastriq.es/en/managed-web-scraping/)

FAQ

## Frequently asked questions about the gazette API

### Does the BOE have an API?

Yes: the BOE publishes each daily summary through its open data API. The actor reads it, applies section, department and keyword filters, and stores a dataset you download or query through the Apify API.

### Which regional gazettes are available?

The Basque Country BOPV. Other regional or provincial gazettes have no public actor and are built as a managed project.

### Does it include the full text of each entry?

Not in the dataset: each row carries the title, metadata and the official link. For the BOE that link exists in HTML, XML and PDF.

### How much does it cost?

According to the READMEs, one day of BOE (100–300 entries) costs $0.10–0.30, and a quarter of BOPV (about 1,500 entries) about $1.36.

### Does it contain personal data?

Titles of appointments and notifications can include people's names, because that is how they are published. The samples on this site exclude them; if you store them, apply your own GDPR rules.

FREE SAMPLE

## Get a feed with your filters

Tell us sections, bodies and keywords and we will send an extract in the schema you would receive.

- BOE and BOPV
- Daily feed
- Other gazettes on request

Received. Meanwhile, download the real samples at [/en/samples/](https://www.rastriq.es/en/samples/).

RELATED PAGES

## Keep exploring

[Public tenders PLACSP, BOE, BOPV and TED.](https://www.rastriq.es/en/spain-public-tenders-data/) [Managed scraping Other regional gazettes.](https://www.rastriq.es/en/managed-web-scraping/) [Public data Every official data source.](https://www.rastriq.es/en/public-data/) [Buy datasets Catalogue with downloadable samples.](https://www.rastriq.es/en/buy-datasets/) [Rastriq for AI How agents read this data.](https://www.rastriq.es/en/ai/)
