# BOE & EU Official Journal Monitor (`nemata/boe-eu-official-journal-monitor`) Actor

Keyword alerts on Spain's Boletín Oficial del Estado and the EU Official Journal (L and C series): accent-insensitive search, BOE full text, sections, only new since last run. Daily feed for compliance, legal and tax teams.

- **URL**: https://apify.com/nemata/boe-eu-official-journal-monitor.md
- **Developed by:** [nemata](https://apify.com/nemata) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 publication returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Official Gazette Monitor — Spain BOE & EU Official Journal (DOUE / OJEU)

Get alerts when something that matters to you is published in the **Boletín Oficial del Estado (BOE)** or the **Official Journal of the European Union**. Define keywords once, schedule the Actor daily, and receive only new publications in Slack, e-mail, Sheets or your own system.

- **Two official sources in one feed:** the BOE open-data API and EUR-Lex feeds for the OJ **L series** (legislation) and **C series** (communications and information).
- **Keyword alerts that understand Spanish:** accent- and case-insensitive (`facturacion` finds *facturación*), plus exclusion words.
- **Search inside the full text** of BOE documents, not only titles, with an excerpt around the match.
- **Only new since the last run:** perfect for daily schedules, with separate memories for different alerts.
- **Filters:** BOE sections and ministries/departments, date range, language of the EU acts.
- **Pay per publication returned.**

### En español

**Alertas del BOE y del Diario Oficial de la UE (DOUE)** con tus palabras clave. Programa el Actor cada día y recibe solo las publicaciones nuevas en Slack, e-mail, Google Sheets o tu propio sistema.

- **BOE completo:** disposiciones generales, autoridades y personal, otras disposiciones, anuncios (sección V.A de licitaciones y subvenciones) y más, con filtro por secciones y ministerios.
- **Busca dentro del texto completo** de cada documento del BOE, no solo en el título, y te devuelve el fragmento donde aparece.
- **Entiende el español:** sin distinguir tildes ni mayúsculas (`facturacion` encuentra *facturación*) y con palabras para excluir.
- **DOUE serie L y C:** reglamentos, directivas, decisiones y comunicaciones de la UE en español o en el idioma que elijas.
- **Para despachos, asesorías, compliance, asociaciones y agentes de IA.** Pagas solo por publicación devuelta.

### Use cases

- Law firms, tax advisers and compliance teams: new rules on your topics (e.g. *factura electrónica*, *protección de datos*, *IVA*)
- Companies: subsidies, calls and public contracts in BOE section V.A
- Industry associations and consultants: EU regulations, delegated acts and notices for your sector
- AI agents and newsletters that need a clean daily feed of official publications

### Input

```json
{
  "sources": ["boe", "doue_l", "doue_c"],
  "keywords": ["factura electrónica", "Verifactu", "IVA"],
  "excludeKeywords": ["corrección de errores"],
  "boeSections": ["1", "3"],
  "searchFullText": true,
  "daysBack": 1,
  "language": "es",
  "onlyNew": true,
  "alertName": "fiscal"
}
```

BOE sections: `1` General provisions, `2A` Appointments, `2B` Public exams and competitions, `3` Other provisions, `5A` Public procurement, `5B` Other official notices, `5C` Private notices. The default is 1, 3 and 5A. Section IV (Administration of Justice) is never included because its edicts name private individuals.

### Output

```json
{
  "source": "BOE",
  "id": "BOE-A-2026-24291",
  "date": "2026-11-20",
  "title": "Orden HAC/.../2026, por la que se regula ...",
  "section": "1",
  "sectionName": "I. Disposiciones generales",
  "department": "MINISTERIO DE HACIENDA",
  "epigraph": "Impuestos",
  "matchedKeywords": ["factura electrónica"],
  "matchedIn": "text",
  "excerpt": "…obligación de expedir factura electrónica en las operaciones entre empresarios…",
  "urlHtml": "https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-24291",
  "urlPdf": "https://www.boe.es/boe/dias/2026/11/20/pdfs/BOE-A-2026-24291.pdf"
}
```

```json
{
  "source": "DOUE",
  "series": "L",
  "celex": "32026R2034",
  "documentType": "regulation",
  "date": "2026-11-20",
  "title": "Reglamento Delegado (UE) 2026/2034 de la Comisión, de 4 de septiembre de 2026, ...",
  "author": "Comisión Europea, Dirección General de Asuntos Marítimos y Pesca",
  "matchedKeywords": ["pesca"],
  "urlHtml": "https://eur-lex.europa.eu/legal-content/AUTO/?uri=CELEX:32026R2034",
  "urlPdf": "https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:32026R2034"
}
```

### Good to know

- The BOE is available for any date range (up to 31 days per run). The EU Official Journal comes from EUR-Lex feeds that hold the most recent acts of each series, so it is meant for daily or weekly monitoring rather than for historical searches.
- Full-text search reads up to 1,500 BOE documents per run.
- Without keywords, every publication in the selected sections and dates is returned.

### Use with AI agents

- **MCP:** AI assistants and agents can call this Actor as a tool through the Apify MCP server.
- **No Apify account needed for agents:** agents can pay per run through Apify with x402 (stablecoins) or Skyfire, and then call the Actor with the temporary token they receive.
- Clear JSON input and structured JSON output that an agent can use directly.

### Pricing

Pay per event: you are charged **per publication returned** after filters.

**$0.003 per publication** ($3 per 1,000). The price is the same for every Apify plan you are on, and you can set a maximum cost per run in the run options.

### Sources and licence

Agencia Estatal Boletín Oficial del Estado (open data, reuse permitted with attribution) and EUR-Lex © European Union (reuse authorised, source acknowledged). This Actor is not affiliated with either publisher.

# Actor input Schema

## `keywords` (type: `array`):

Return publications containing any of these words or phrases (accent- and case-insensitive). Empty = everything in the selected sections and dates.

## `excludeKeywords` (type: `array`):

Drop publications that contain any of these words.

## `sources` (type: `array`):

Which gazettes to check.

## `boeSections` (type: `array`):

BOE sections to include. Section IV (Administration of Justice) is never included.

## `boeDepartments` (type: `array`):

Only keep BOE items from departments containing any of these words, e.g. 'Hacienda', 'Trabajo'.

## `searchFullText` (type: `boolean`):

Also look for the keywords inside the text of BOE documents (up to 1,500 per run), not only in titles.

## `daysBack` (type: `integer`):

How many days to check, ending today. 1 = today only.

## `dateFrom` (type: `string`):

Optional start date (YYYY-MM-DD). Overrides 'Days back'.

## `dateTo` (type: `string`):

Optional end date (YYYY-MM-DD). Default today.

## `language` (type: `string`):

Language for EU Official Journal titles and PDF links.

## `onlyNew` (type: `boolean`):

Return only publications not returned before for this alert name. Ideal for daily schedules.

## `alertName` (type: `string`):

Name of the 'only new' memory. Use different names for different alerts.

## `maxResults` (type: `integer`):

Maximum publications to return.

## Actor input object example

```json
{
  "keywords": [
    "factura electrónica",
    "inteligencia artificial"
  ],
  "sources": [
    "boe",
    "doue_l",
    "doue_c"
  ],
  "boeSections": [
    "1",
    "3",
    "5A"
  ],
  "searchFullText": false,
  "daysBack": 1,
  "language": "es",
  "onlyNew": false,
  "alertName": "default"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "factura electrónica",
        "inteligencia artificial"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nemata/boe-eu-official-journal-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": [
        "factura electrónica",
        "inteligencia artificial",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("nemata/boe-eu-official-journal-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "factura electrónica",
    "inteligencia artificial"
  ]
}' |
apify call nemata/boe-eu-official-journal-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nemata/boe-eu-official-journal-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1dNxK8fIMfaWudAhj/builds/nv1hC122URmFNJA9b/openapi.json
