BOE Scraper – Spain Official Gazette Daily API
Pricing
from $3.00 / 1,000 gazette items
BOE Scraper – Spain Official Gazette Daily API
Scrape Spain's Official Gazette (BOE) daily summary: every law, grant, job call and notice with PDF/HTML links. Filter by date, section, ministry, keyword.
Pricing
from $3.00 / 1,000 gazette items
Rating
0.0
(0)
Developer
Pablo Navarro
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
BOE scraper for the Boletín Oficial del Estado, Spain's Official State Gazette. It reads the official BOE open-data API and returns every item of the daily summary as clean JSON: laws, royal decrees, grants, public job calls (oposiciones), appointments and announcements, each with links to the HTML, PDF and XML versions. No login, no browser, no proxies.
What does it do?
- Reads one day or a date range (up to 92 days) of the BOE summary.
- Filters by section (e.g.
1general provisions,2Bjob calls,5Atenders), department/ministry and title keywords. - Skips days without a gazette automatically (BOE is not published on Sundays).
Use cases
- Legal and compliance alerts: new regulations that affect your business, every morning.
- Grants and public job calls: watch for subvenciones and oposiciones.
- Gestorías, law firms and consultants: daily digests for clients.
- AI agents and RAG: feed LLMs the official source, with PDF links for citations.
- Newsletters, Telegram and X bots: post today's key items automatically.
Input
| Field | Description |
|---|---|
dateFrom | First day (YYYY-MM-DD). Empty = today. Example: 2026-10-26 |
dateTo | Last day (YYYY-MM-DD), max 92 days after dateFrom. Empty = same as dateFrom. |
keywords | Keep items whose title contains any keyword. Example: subvención, oposiciones, inteligencia artificial |
sections | BOE section codes: 1 (General provisions), 2A, 2B (Appointments, job calls), 3 (Other provisions), 4 (Justice), 5A, 5B (Announcements, tenders). Example: 1, 5A |
departments | Text contained in the department/ministry name. Example: MINISTERIO DE HACIENDA |
maxItems | 0 = no limit. Example: 100 |
Example input:
{"dateFrom": "2026-10-26","sections": ["1","3"],"maxItems": 25}
Output
Real output (first items of a run on 26 Oct 2026):
[{"id": "BOE-A-2026-22391","date": "2026-10-26","issue": "265","sectionCode": "3","section": "III. Otras disposiciones","department": "CORTES GENERALES","heading": "Becas","title": "Acuerdo de 13 de octubre de 2026, de la Mesa de la Diputación Permanente, por el que se convocan becas para la formación práctica en estudios y tareas aplicadas de carácter documental, estadístico, informativo y analítico relacionadas con los órganos y actividades de la Unión Europea en general y con el sistema constitucional y parlamentario español.","htmlUrl": "https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-22391","pdfUrl": "https://www.boe.es/boe/dias/2026/10/26/pdfs/BOE-A-2026-22391.pdf","xmlUrl": "https://www.boe.es/diario_boe/xml.php?id=BOE-A-2026-22391"},{"id": "BOE-A-2026-22392","date": "2026-10-26","issue": "265","sectionCode": "3","section": "III. Otras disposiciones","department": "CORTES GENERALES","heading": "Becas","title": "Acuerdo de 13 de octubre de 2026, de la Mesa de la Diputación Permanente, por la que se convocan becas de formación práctica sobre comunicación institucional.","htmlUrl": "https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-22392","pdfUrl": "https://www.boe.es/boe/dias/2026/10/26/pdfs/BOE-A-2026-22392.pdf","xmlUrl": "https://www.boe.es/diario_boe/xml.php?id=BOE-A-2026-22392"}]
Export the results as JSON, CSV or Excel, read them through the API, or send them to Google Sheets, Make, Zapier, n8n or webhooks. You can also run this Actor from AI agents through the Apify MCP server.
Pricing
Pay per event: $3.00 per 1,000 gazette items plus $0.00005 per run start. There is no extra platform usage charge.
FAQ
Is this the official data? Yes. It uses the BOE open-data API (/datosabiertos/api/boe/sumario/YYYYMMDD).
Does it download the full text? No. It returns the summary entries with links to the official HTML, PDF and XML. Pass htmlUrl to any web/RAG Actor to get the full text.
Can I monitor every day? Yes. Schedule it daily with an empty date (it defaults to today) and your keywords.
Do I need a login or API key? No. It uses the source's public API; you only need an Apify account.
Can AI agents use it? Yes. Call it through the Apify API, or from Claude, Cursor or any MCP client via the Apify MCP server.
Data source and license
Source: BOE open data, reused under the BOE reuse conditions: "Las presentes condiciones permiten la reutilización de los documentos sometidos a ellas para fines comerciales y no comerciales". Under those conditions you must cite the source and must not alter the content or its meaning.
This Actor is not affiliated with or endorsed by the data source. You are responsible for using the data in line with the source's license and terms.