BOE Scraper — Spain Official Gazette avatar

BOE Scraper — Spain Official Gazette

Pricing

from $1.00 / 1,000 results

Go to Apify Store
BOE Scraper — Spain Official Gazette

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

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

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:

FieldTypeDescription
boe_idstringOfficial BOE item identifier (e.g. BOE-A-2026-12345)
datestringPublication date (YYYY-MM-DD)
sectionstringBOE section code (1, 2A, 2B, 3, 4, 5A, 5B, 5C, T)
section_namestringSection name in Spanish
departmentstringIssuing government department or body
titlestringFull title of the publication
url_htmlstringDirect link to the HTML version on boe.es
url_pdfstringDirect link to the official PDF
epigraphstringSub-classification within the section
is_premiumbooleanWhether 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:

  1. Create a free Apify account at apify.com — your first $5 is free
  2. Open BOE Scraper in Apify Console or click Try for free on this page
  3. Set a date range — use "Days back" (default: 7) or set specific start/end dates
  4. Select sections (optional) — filter by legal category (laws, tenders, appointments, etc.)
  5. Add a keyword (optional) — only include items matching your search term
  6. Click Start — results arrive in seconds
  7. Download your data in JSON, CSV, Excel, or XML — or access via API

⚙️ Input parameters

ParameterTypeRequiredDefaultDescription
daysBackinteger7Number of past days to fetch (1–365). Ignored if dates are set
desdestringStart date (inclusive), overrides daysBack
hastastringEnd date (inclusive). Required when desde is set
keywordstringFilter items by title keyword (case-insensitive)
maxItemsinteger0Maximum items to return. 0 = unlimited
seccion1booleanfalseInclude Section I — General provisions (laws, decrees)
seccion2AbooleanfalseInclude Section II-A — Appointments and status changes
seccion2BbooleanfalseInclude Section II-B — Public employment calls
seccion3booleanfalseInclude Section III — Grants, subsidies, resolutions
seccion4booleanfalseInclude Section IV — Justice administration
seccion5AbooleanfalseInclude Section V-A — Public procurement tenders
seccion5BbooleanfalseInclude 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.

PlanMonthly CreditEstimated capacity
Free$5 (one-time)Thousands of BOE items
Starter ($49/mo)$49Unlimited 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.

Explore the full Rastriq intelligence portfolio on Apify Store:

ActorDescription
Google Ads Transparency ScraperAd campaigns from Google's Transparency Center
Amazon Reviews ScraperAmazon reviews, ratings & product data
TikTok Ad Library ScraperAd creatives and performance data from TikTok

❓ Frequently Asked Questions

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?

  1. Crea una cuenta gratuita en apify.com
  2. Abre BOE Scraper y configura el rango de fechas
  3. Filtra por sección (leyes, oposiciones, licitaciones, etc.) y/o palabra clave
  4. Haz clic en Start — los resultados llegan en segundos
  5. 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.