BOE Scraper — Spain Official Gazette
Pricing
from $1.00 / 1,000 results
BOE Scraper — Spain Official Gazette
Scrape publications from the Boletín Oficial del Estado (BOE), Spain's official government gazette. Extract laws, regulations, public contracts, appointments, and legal notices. Filter by date, section, and department. Essential for legal compliance, public procurement, and regulatory monitoring.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Rastriq — Structured data from the world
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 hours ago
Last modified
Categories
Share
Extract publications from the Boletín Oficial del Estado (BOE), Spain's official government gazette. BOE Scraper collects laws, regulations, public contracts, appointments, and legal notices — structured and ready for compliance monitoring, procurement intelligence, and regulatory analysis.
🚀 Try it free — your first $5 of usage is on Apify. No credit card required.
📌 What is BOE Scraper?
BOE Scraper is an automated extractor for Spain's Boletín Oficial del Estado (boe.es), the country's official publication where all laws, royal decrees, public tenders, civil servant appointments, and legal notices are published daily. Instead of manually browsing the BOE website or building your own parser, this scraper delivers structured data from the BOE's open data API — filtered by date, section, and keyword.
Use BOE Scraper to:
- ⚖️ Monitor regulatory changes — track new laws, decrees, and ministerial orders that affect your industry
- 📋 Track public procurement — capture tenders and contract awards (Section V-A) for competitive intelligence
- 👤 Follow appointments — monitor civil servant changes in specific departments or agencies
- 🔍 Search by keyword — filter the entire gazette for terms relevant to your compliance needs
- 🔄 Automate daily compliance feeds — schedule runs to receive fresh BOE data every morning
📋 What data does BOE Scraper extract?
BOE Scraper returns structured records with the following fields:
| Field | Type | Description |
|---|---|---|
boe_id | string | Official BOE item identifier (e.g. BOE-A-2026-12345) |
date | string | Publication date (YYYY-MM-DD) |
section | string | BOE section code (1, 2A, 2B, 3, 4, 5A, 5B, 5C, T) |
section_name | string | Section name in Spanish |
department | string | Issuing government department or body |
title | string | Full title of the publication |
url_html | string | Direct link to the HTML version on boe.es |
url_pdf | string | Direct link to the official PDF |
epigraph | string | Sub-classification within the section |
is_premium | boolean | Whether the item requires paid access (rare) |
💡 BOE does not publish on Sundays or public holidays — those days are skipped automatically.
🚀 How to use BOE Scraper
Extracting BOE data takes under a minute:
- Create a free Apify account at apify.com — your first $5 is free
- Open BOE Scraper in Apify Console or click Try for free on this page
- Set a date range — use "Days back" (default: 7) or set specific start/end dates
- Select sections (optional) — filter by legal category (laws, tenders, appointments, etc.)
- Add a keyword (optional) — only include items matching your search term
- Click Start — results arrive in seconds
- Download your data in JSON, CSV, Excel, or XML — or access via API
⚙️ Input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
daysBack | integer | ❌ | 7 | Number of past days to fetch (1–365). Ignored if dates are set |
desde | string | ❌ | — | Start date (inclusive), overrides daysBack |
hasta | string | ❌ | — | End date (inclusive). Required when desde is set |
keyword | string | ❌ | — | Filter items by title keyword (case-insensitive) |
maxItems | integer | ❌ | 0 | Maximum items to return. 0 = unlimited |
seccion1 | boolean | ❌ | false | Include Section I — General provisions (laws, decrees) |
seccion2A | boolean | ❌ | false | Include Section II-A — Appointments and status changes |
seccion2B | boolean | ❌ | false | Include Section II-B — Public employment calls |
seccion3 | boolean | ❌ | false | Include Section III — Grants, subsidies, resolutions |
seccion4 | boolean | ❌ | false | Include Section IV — Justice administration |
seccion5A | boolean | ❌ | false | Include Section V-A — Public procurement tenders |
seccion5B | boolean | ❌ | false | Include Section V-B — Other official announcements |
💡 If no sections are selected, all sections are fetched.
Example input:
{"daysBack": 30,"keyword": "licitación","seccion5A": true,"maxItems": 100}
📦 Output example
Each item is a structured JSON object. Here's a sample:
{"boe_id": "BOE-B-2026-31542","date": "2026-09-05","section": "5A","section_name": "V-A. Anuncios de licitaciones públicas y adjudicaciones","department": "Ministerio de Transportes y Movilidad Sostenible","title": "Anuncio de licitación de: Subsecretaría. Objeto: Servicio de mantenimiento integral de las instalaciones...","url_html": "https://www.boe.es/diario_boe/txt.php?id=BOE-B-2026-31542","url_pdf": "https://www.boe.es/boe/dias/2026/09/05/pdfs/BOE-B-2026-31542.pdf","epigraph": "Servicios","is_premium": false}
Download results in JSON, CSV, Excel, XML, or HTML from the Output tab, or pull them programmatically using the Apify API.
💰 How much does it cost to use BOE Scraper?
BOE Scraper runs on Apify's standard Compute Unit (CU) pricing. Runs are extremely fast and lightweight — a typical 30-day extraction finishes in under 30 seconds and consumes less than 0.01 CUs.
| Plan | Monthly Credit | Estimated capacity |
|---|---|---|
| Free | $5 (one-time) | Thousands of BOE items |
| Starter ($49/mo) | $49 | Unlimited daily monitoring |
💡 Tip: Leave defaults and click Start — you'll get the last 7 days of all sections in seconds, well within the free tier.
Is scraping the BOE free? Your first $5 of usage is covered by Apify's free trial credit — and BOE Scraper is so lightweight that the free tier covers extensive use.
🔗 Related Rastriq Actors
Explore the full Rastriq intelligence portfolio on Apify Store:
| Actor | Description |
|---|---|
| Google Ads Transparency Scraper | Ad campaigns from Google's Transparency Center |
| Amazon Reviews Scraper | Amazon reviews, ratings & product data |
| TikTok Ad Library Scraper | Ad creatives and performance data from TikTok |
❓ Frequently Asked Questions
Is scraping the BOE legal?
The Boletín Oficial del Estado is public domain data published by the Spanish government for universal access. BOE Scraper accesses the BOE's own open data API (boe.es/datosabiertos), which is explicitly designed for programmatic consumption. There are no legal restrictions on accessing or redistributing BOE content.
Does BOE Scraper require an account or API key?
No. BOE Scraper works entirely with the BOE's public open data API and does not require any account, login, or API credentials.
How far back can I scrape?
BOE Scraper supports up to 365 days back using the daysBack parameter, or any custom date range using the desde/hasta fields. The BOE's online archive goes back decades, but the open data API has practical limits.
What are the BOE sections?
The BOE is organized into sections: I (laws and decrees), II-A (appointments), II-B (public employment), III (grants and resolutions), IV (justice), V-A (public procurement), V-B (other announcements). You can filter by one or more sections.
How do I integrate BOE Scraper with my workflow?
BOE Scraper integrates natively with Make (Integromat), Zapier, Google Sheets, webhooks, and the Apify API. A common pattern is scheduling a daily run at 9am and sending new items to Slack or email via webhook.
I found a bug or my run failed. Where do I report it?
Open an issue in the Issues tab on this page. Include your input configuration and the run ID so we can investigate quickly.
🇪🇸 Versión en español
Esta sección es un resumen en español del README anterior.
¿Qué es BOE Scraper?
BOE Scraper extrae publicaciones del Boletín Oficial del Estado (boe.es) de forma automatizada. Recoge leyes, reales decretos, licitaciones públicas, nombramientos y anuncios oficiales — estructurados y listos para análisis de cumplimiento normativo, inteligencia de contratación pública e investigación regulatoria.
¿Qué datos extrae BOE Scraper?
Cada registro incluye: identificador BOE, fecha de publicación, sección, departamento emisor, título completo, enlaces al HTML y PDF oficial, y epígrafe de clasificación.
¿Cómo usar BOE Scraper?
- Crea una cuenta gratuita en apify.com
- Abre BOE Scraper y configura el rango de fechas
- Filtra por sección (leyes, oposiciones, licitaciones, etc.) y/o palabra clave
- Haz clic en Start — los resultados llegan en segundos
- Descarga en JSON, CSV, Excel o XML
¿Cuánto cuesta usar BOE Scraper?
BOE Scraper usa el modelo de Compute Units (CU) de Apify. Las ejecuciones son extremadamente rápidas y ligeras — una extracción típica de 30 días termina en menos de 30 segundos. El crédito gratuito de $5 de Apify cubre un uso extensivo.