EUR-Lex Scraper API: EU law article text, in force, amendments
get_eu_lawOne call answers "what does Article 50 of the AI Act say today, is it in force, and what amended it?": the article as plain text from the current consolidated version (or the one in force on any date), the act's in-force status and dates, and the acts that amend, correct or repeal it. A second mode lists new acts in the Official Journal L series.
Pass query (GDPR, AI Act, a citation, CELEX or ELI), or ojSince alone to list new Official Journal acts. For UK or Dutch statutes use get_uk_dutch_law.
Inputs: with article (e.g. "6(1)", up to 10) one row per article; without it one row for the whole act with its table of contents. include adds amendments, citing acts or the full text; asOf gives the version in force on a date; language is one of the 24 EU languages (English when a text is missing).
Read-only, no side effects. Charged per row returned, at the price below; a call that fails or runs out of time (55 s) is free. If one source does not answer, the rest still comes back and warnings names the gap. Limit: 60 calls a minute per key (10 on a new free key); past it the call is refused (rate_limited, free): retry after about 10 seconds.
Price: $0.005 per act-lookup.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_eu_law"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | YYYY-MM-DD, e.g. "2025-01-01": return the consolidated version that applied on that date | |
| query | No | The EU act to look up: a short name ("GDPR", "AI Act", "DSA", "NIS2", "DORA", "MiCA", "CSRD"...), a citation ("Regulation | |
| article | No | Article number, optionally with a paragraph: "5", "6(1)", "4a"; several separated by commas ("5, 6(1)", up to 10) | |
| include | No | Any of "metadata" (always on), "amendments" (amended_by, corrected_by, repealed_by, amends, repeals), "citing" (acts and judgments that cite this act, newest first) and "text" | |
| ojSince | No | Switches to Official Journal mode: list acts published in the OJ L series from this date (YYYY-MM-DD, e.g. "2026-11-03") until today, newest first, at most 31 days back | |
| keywords | No | OJ mode only: comma-separated words or phrases; an act is kept when its title (in the chosen language) contains any of them, case-insensitive, e.g. "artificial intelligence, data" | |
| language | No | EU language code of the text and titles: BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, GA, HR, HU, IT, LT, LV, MT, NL, PL, PT, RO, SK, SL, SV | EN |
| maxCiting | No | With include "citing": how many citing acts to list, newest first, e.g. 20 (default) | |
| maxResults | No | OJ mode only: the most acts to return, newest first, e.g. 50 (default) | |
| maxTextChars | No | Cap on article_text and text, in characters, e.g. 30000 (default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| tool | No | ||
| count | Yes | ||
| message | No | ||
| warnings | No | ||
| balance_usd | No | ||
| charged_usd | No | ||
| duration_seconds | No |