BOE Spain Official Gazette Scraper avatar

BOE Spain Official Gazette Scraper

Pricing

Pay per usage

Go to Apify Store
BOE Spain Official Gazette Scraper

BOE Spain Official Gazette Scraper

Fetches daily summaries from Boletín Oficial del Estado open data JSON API with section and keyword filters.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Rastriq

Rastriq

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Fetches daily summaries from the Boletín Oficial del Estado (BOE) open data JSON API. Extracts all published items with section, department, title, and links to PDF/HTML/XML versions.

No browser required. Uses BOE's official open data API — fast, structured, and reliable.

What does it do?

Queries the BOE API day by day within a date range, extracting every published item (laws, regulations, appointments, tenders, announcements). Supports filtering by BOE section codes and keyword search in titles.

Input parameters

ParameterDescriptionDefault
daysBackNumber of days to fetch7
desde/hastaDate range in YYYYMMDD format (overrides daysBack)-
seccionesComma-separated section codes (e.g. 1,2A,5A)all
keywordKeyword filter on title (case-insensitive)-
maxItemsMax items to return (0 = unlimited)0

Output fields

FieldDescription
identificadorBOE item identifier
controlControl code
tituloFull title of the item
url_htmlLink to HTML version
url_xmlLink to XML version
url_pdfLink to PDF version
seccion_codigoSection code (1, 2A, 2B, 3, 4, 5A, 5B)
seccion_nombreSection name
departamento_codigoDepartment code
departamento_nombreDepartment name
epigrafe_nombreSubsection heading
fecha_publicacionPublication date
diario_numeroGazette number

Example input

{
"daysBack": 30,
"secciones": "5A",
"keyword": "licitación"
}

Notes

  • BOE does not publish on Sundays and public holidays (returns empty for those days)
  • API returns 404 for dates with no gazette; the scraper handles this gracefully
  • Includes 0.3s delay between daily requests to respect the API