# EUR-Lex Search: EU Regulations, Directives & Decisions (`zaiqltd/eur-lex-search`) Actor

EU legal acts with CELEX number, title, type, date, in-force status, entry-into-force and end-of-validity dates, ELI, adopting institutions, EuroVoc subjects, legal basis, and what each act amends, repeals or is amended by, from EUR-Lex data (EU Publications Office). Search titles or look up CELEX.

- **URL**: https://apify.com/zaiqltd/eur-lex-search.md
- **Developed by:** [Zaiq](https://apify.com/zaiqltd) (community)
- **Categories:** Business, Education
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 eu legal acts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## EUR-Lex Search: EU Regulations, Directives & Decisions

Search official European Union legislation from EUR-Lex and the Publications Office Cellar service. Enter several title searches or CELEX identifiers to get legal-act metadata, dates, status, subjects and relationships.

Tested in Apify's cloud: the default input delivered 12 paid rows. The example below is a real delivered cloud row.

### What you get

| Field | What it holds |
|---|---|
| celex / title / documentType | Official identifier, title and kind of act. |
| documentDate / entryIntoForceDate / endOfValidityDate | Published dates where the source provides them. |
| inForce | Source-reported in-force status; null means unknown. |
| amends / repeals / amendedBy | Relationships to other acts by CELEX identifier. |
| eurovocSubjects / legalBasis / treatyBasis | Published subject and legal-basis metadata. |
| url / pdfUrl / cellarUrl | Links to the official act and source record. |

### What people use it for

- **Legislative monitoring:** Schedule title searches and collect newly matching regulations or directives.
- **Research and citation:** Retrieve official identifiers and links for several acts in one call.
- **Compliance research:** Export source-reported dates and amendment relationships for further review.

### How to use it

1. Enter title searches, CELEX numbers, or both.
2. Choose the language, act types and result limit.
3. Run the Actor and export the dataset. Filter recordType=act for paid results.
4. Read free summary rows and SUMMARY for counts, empty searches and source failures.

### Input

| Field | Example | Notes |
|---|---|---|
| searches | \["artificial intelligence"] | Array of title search terms. |
| celexNumbers | \["32016R0679"] | Array of CELEX identifiers. |
| language | en | Supported two-letter EU language code. |
| documentTypes | \["regulation","directive"] | Optional act-type selection. |
| maxResultsPerSearch | 20 | Upper limit per input. |
| inForceOnly | false | Restrict to acts reported in force. |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "recordType": "act",
  "resultId": "act-32026R1744",
  "celex": "32026R1744",
  "title": "Regulation (EU) 2026/1744 of the European Parliament and of the Council of 8 July 2026 amending Regulations (EU) 2024/1689, (EU) 2018/1139 and (EU) 2023/1230 as regards the simplification of the implementation of harmonised rules on artificial intelligence (Digital Omnibus on AI) (Text with EEA relevance)",
  "language": "en",
  "documentType": "Regulation",
  "documentDate": "2026-07-08",
  "year": 2026,
  "number": "1744",
  "inForce": true,
  "entryIntoForceDate": "2026-07-27",
  "endOfValidityDate": null,
  "eli": "http://data.europa.eu/eli/reg/2026/1744/oj",
  "authors": [
    "Council of the European Union",
    "European Parliament"
  ],
  "eurovocSubjects": [
    "small and medium-sized enterprises",
    "new technology",
    "harmonisation of standards",
    "data protection",
    "market approval",
    "personal data",
    "innovation",
    "artificial intelligence",
    "digital literacy",
    "smart technology"
  ],
  "legalBasis": [
    "12016E114"
  ],
  "treatyBasis": [
    "TFEU_2016"
  ],
  "amends": [
    "32024R1689",
    "32023R1230",
    "32018R1139"
  ],
  "repeals": [],
  "amendedBy": [],
  "amendedByCount": 0,
  "url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32026R1744",
  "pdfUrl": "https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32026R1744",
  "cellarUrl": "http://publications.europa.eu/resource/cellar/b459c07f-86fb-11f1-bf5e-01aa75ed71a1",
  "searchTerm": "artificial intelligence (en)",
  "rank": 1,
  "status": null,
  "totalFound": null,
  "delivered": null,
  "alreadyDelivered": null,
  "byType": null,
  "note": null,
  "sourceUrl": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32026R1744",
  "scrapedAt": "2026-11-12T19:12:32Z"
}
```

Free summary rows and the SUMMARY key-value record report counts, input status, charges and request failures.

### Pricing

- $0.002 per delivered EU legal act ($2 per 1,000).
- Apify's start fee is $0.00005 per run. Summary rows, empty searches, failures and duplicates within a run have no act charge.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 20 acts | $0.04 plus the start fee |
| 1,000 acts | $2.00 plus run start fees |
| No matching acts | $0 in act charges |

Set Maximum cost per run in Apify. A cloud test on 12 November 2026 stopped cleanly at two paid rows with a $0.00505 limit; free summaries are retained.

### Tips

- Use CELEX identifiers for exact lookups.
- Use the source links to inspect the authoritative text and its current status.
- Set Maximum cost per run to control spending.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiqltd/eur-lex-search").call(run_input={"searches": ["artificial intelligence"], "maxResultsPerSearch": 20, "language": "en"})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiqltd/eur-lex-search').call({"searches": ["artificial intelligence"], "maxResultsPerSearch": 20, "language": "en"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiqltd~eur-lex-search/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["artificial intelligence"], "maxResultsPerSearch": 20, "language": "en"}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiqltd/eur-lex-search`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for EU legal acts by title or CELEX number, with dates, amendment relationships and official links. AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Source-reported metadata is not legal advice or a guarantee that the text is consolidated or currently applicable.
- Missing metadata stays null. A title search is not a search of every word in the full legal text.
- Only public, signed-out endpoints are used. Login boundaries stop the source; access checks are not solved.
- The public SPARQL service can be slow or unavailable. Failed inputs are explained in the free summary.

### FAQ

**Do I need an EUR-Lex account?**

No. The Actor reads public endpoints.

**Does this return full legal text?**

It returns metadata and official text/PDF links.

**What does inForce mean?**

It is the source's metadata flag, not an independent legal opinion.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: EUR-Lex API, EU legislation search, CELEX lookup.

# Actor input Schema

## `searches` (type: `array`):

1-20 searches in act titles. Every word must appear; put a phrase in quotes for an exact phrase, e.g. "artificial intelligence".

## `celexNumbers` (type: `array`):

Look up acts by CELEX number, e.g. 32016R0679 (GDPR) or 32024R1689 (AI Act). Up to 200.

## `documentTypes` (type: `array`):

Leave empty for all four (title searches only).

## `inForceOnly` (type: `boolean`):

Only acts EUR-Lex marks as in force.

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

YYYY-MM-DD: only acts dated on or after this day.

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

YYYY-MM-DD: only acts dated on or before this day.

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

Language of the titles searched and returned, subject labels and EUR-Lex links.

## `maxResultsPerSearch` (type: `integer`):

A cap on paid rows per search, newest first. The free summary still counts every match by type.

## Actor input object example

```json
{
  "searches": [
    "artificial intelligence",
    "\"data protection\""
  ],
  "celexNumbers": [],
  "documentTypes": [],
  "inForceOnly": false,
  "language": "en",
  "maxResultsPerSearch": 10
}
```

# Actor output Schema

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

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# 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 = {
    "searches": [
        "artificial intelligence",
        "\"data protection\""
    ],
    "maxResultsPerSearch": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiqltd/eur-lex-search").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 = {
    "searches": [
        "artificial intelligence",
        "\"data protection\"",
    ],
    "maxResultsPerSearch": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("zaiqltd/eur-lex-search").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 '{
  "searches": [
    "artificial intelligence",
    "\\"data protection\\""
  ],
  "maxResultsPerSearch": 10
}' |
apify call zaiqltd/eur-lex-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiqltd/eur-lex-search"
        }
    }
}
```

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/CqIImSVeeI2nLgg7h/builds/W3ImHl37jeOMlXdUp/openapi.json
