Government Legal
BOE (Spain) logo

BOE (Spain) API

boe.es

Spain's official gazette - BOE, BORME, and consolidated legislation search and detail.

Actions
7
Category
Government Legal
Login
Not required
Output
JSON

Call the BOE (Spain) API

Submit a task, then poll the job until it settles. This example runs act_boe_es_boe_calendar_index.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_boe_es_boe_calendar_index",
    "params": {}
  }'

7 actions on boe.es

Read

  • BOE Calendar Index

    act_boe_es_boe_calendar_indexread1 credit / call

    Returns the monthly BOE calendar with publication dates and daily issue links.

  • BOE Daily Record Details

    act_boe_es_boe_daily_record_detailread1 credit / call

    Returns full BOE gazette record text plus title, section, department, and publication metadata for a record ID.

    record_id
    string · required
  • BORME Calendar Index

    act_boe_es_borme_calendar_indexread1 credit / call

    Returns the monthly BORME calendar with publication dates and daily issue links.

  • BORME Daily Record Details

    act_boe_es_borme_daily_record_detailread1 credit / call

    Returns full BORME bulletin record text and metadata for a BORME-A record identifier.

    record_id
    string · required
  • BORME Daily Summary Listing

    act_boe_es_borme_daily_summary_listingread1 credit / call

    Returns the daily BORME summary listing with record identifiers and section entries for a publication date.

    publication_date
    string · required
  • BORME Section Filtered Listing

    act_boe_es_borme_section_filtered_listingread1 credit / call

    Returns BORME summary records filtered to a specific section or jurisdiction code for a publication date.

    publication_date
    string · required
    section_code
    string · required
  • Legislation Search Results

    act_boe_es_legislation_search_resultsread1 credit / call

    Searches BOE legislation by keyword and returns matching record identifiers and titles.

    search_keyword
    string · required

BOE (Spain) API questions

Is there an API for BOE (Spain)?
BOE (Spain) does not offer a public data API for this, but Anakin Wire provides 7 maintained endpoints for boe.es. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape BOE (Spain) data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when boe.es changes its markup, Anakin updates the action.
Do I need a BOE (Spain) account?
No. Every BOE (Spain) action listed here runs anonymously — no account and no credentials required.
What does the BOE (Spain) API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Government Legal APIs

All Government Legal sites