# EU Law Article Lookup (EUR-Lex)

> EU Law Article Lookup (EUR-Lex) is a paid API for AI agents from api.boscolabs.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-13).

Retrieves the full text and metadata of EU legislation articles (GDPR, AI Act, any regulation or directive) from EUR-Lex, consolidated as of a specified date, or lists newly published Official Journal acts.

## Facts

- Endpoint: POST https://api.boscolabs.dev/v1/eu-law-lookup?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-law-article-lookup-eur-lex-bc84b842
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hAqTk8WFZTMcTRKdYJrsZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-law-article-lookup-eur-lex-bc84b842 -d '<json body>'
```

Example prompt: Can you fetch the text of Article 50 of the EU AI Act (CELEX 32024R1689) in English, consolidated as of 2025-01-01, including its amendment history?

## When to prefer this

Use this endpoint when you need authoritative, official EU legislative text from EUR-Lex — especially when you need a specific article, consolidated as of a particular date, or want structured amendment/citation metadata. Prefer this over general web search when legal accuracy and official source provenance matter, or when building compliance tools, legal research pipelines, or regulatory monitoring workflows. It is the right choice for any GDPR, AI Act, or EU directive article lookup with traceable sourcing.

## Known failure modes

- Act or article not found — returns empty result, no charge
- Invalid CELEX or ELI identifier — error response, no charge
- Requested consolidation date before act came into force — may return empty or error
- OJ mode with no results for the given date range and keywords — empty result, no charge
- Language not available for the requested act — may fall back or return error
- maxResults or maxTextChars out of allowed range — validation error

## How this service works

EU law article text from EUR-Lex: GDPR, AI Act or any regulation or directive by name, CELEX or ELI, as in force on a date; or new Official Journal acts. Typical call $0.005: $0.005 per article or act, min $0.005. upto: pay only for delivered rows; exact: pays the quote (default 10 rows; set maxResults). Nothing is settled on an error or empty result. By Bosco Labs: official sources, source link per row.

## Output

Returns an array of rows, each containing: article text (up to the character cap), act title, CELEX and ELI identifiers, EUR-Lex source URL, in-force status, act type, amendment history (amends, amended_by, repeals, repealed_by, corrected_by), optional list of citing acts, language, retrieval timestamp, consolidation version notice, article title, and document/publication dates. Each row includes a direct source link to EUR-Lex.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOf": {
   "type": "string",
   "pattern": "^(\\d{4}-\\d{2}-\\d{2}(T.*)?)?$",
   "description": "YYYY-MM-DD, e.g. \"2025-01-01\": return the consolidated version that applied on that date"
  },
  "query": {
   "type": "string",
   "pattern": "^[^\\[\\]{}<>\\r\\n]*$",
   "description": "The EU act to look up: a short name"
  },
  "article": {
   "type": "string",
   "pattern": "^\\s*([A-Za-z.\\s]*\\d[0-9A-Za-z\\s().,;]*)?$",
   "description": "Article number, optionally with a paragraph: \"5\", \"6(1)\", \"4a\""
  },
  "include": {
   "type": "array",
   "items": {
    "enum": [
     "metadata",
     "amendments",
     "citing",
     "text"
    ],
    "type": "string"
   },
   "default": [
    "metadata",
    "amendments"
   ],
   "description": "Any of \"metadata\" (always on), \"amendments\""
  },
  "ojSince": {
   "type": "string",
   "pattern": "^(\\d{4}-\\d{2}-\\d{2}(T.*)?)?$",
   "description": "Switches to Official Journal mode: list acts published in the OJ L series from this date"
  },
  "keywords": {
   "type": "string",
   "pattern": "^[^\\[\\]{}<>\\r\\n]*$",
   "description": "OJ mode only: comma-separated words or phrases"
  },
  "language": {
   "enum": [
    "BG",
    "CS",
    "DA",
    "DE",
    "EL",
    "EN",
    "ES",
    "ET",
    "FI",
    "FR",
    "GA",
    "HR",
    "HU",
    "IT",
    "LT",
    "LV",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SL",
    "SV"
   ],
   "type": "string",
   "default": "EN",
   "description": "EU language code of the text and titles: BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, GA, HR, HU, IT..."
  },
  "maxCiting": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "With include \"citing\": how many citing acts to list, newest first, e.g. 20 (default)"
  },
  "maxResults": {
   "type": "integer",
   "default": 10,
   "maximum": 50,
   "minimum": 1,
   "description": "OJ mode only: the most acts to return, newest first, e.g. 50 (default)"
  },
  "maxTextChars": {
   "type": "integer",
   "default": 30000,
   "maximum": 500000,
   "minimum": 1000,
   "description": "Cap on article_text and text, in characters, e.g. 30000 (default)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "eli": "http://data.europa.eu/eli/reg/2024/1689/oj",
    "as_of": null,
    "celex": "32024R1689",
    "query": "AI Act",
    "title": "Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13...",
    "amends": [
     {
      "url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32020L1828",
      "date": "2020-11-25",
      "celex": "32020L1828",
      "title": "Directive (EU) 2020/1828 of the European Parliament and of the Council of 25 ..."
     }
    ],
    "article": "50",
    "repeals": [],
    "act_type": "Regulation",
    "in_force": true,
    "language": "EN",
    "warnings": [],
    "paragraph": null,
    "amended_by": [
     {
      "url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32026R1744",
      "date": "2026-07-08",
      "celex": "32026R1744",
      "title": "Regulation (EU) 2026/1744 of the European Parliament and of the Council of 8 ..."
     }
    ],
    "cellar_url": "http://publications.europa.eu/resource/cellar/b1730fb2-8f1c-11f1-9262-01aa75e...",
    "source_url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02024R1689-20260727",
    "text_celex": "02024R1689-20260727",
    "eur_lex_url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32024R1689",
    "repealed_by": [],
    "summary_url": "https://eur-lex.europa.eu/legal-content/EN/LSU/?uri=CELEX:32024R1689",
    "text_notice": "This text is meant purely as a documentation tool and has no legal effect. Th...",
    "article_text": "1. Providers shall ensure that AI systems intended to interact directly with ...",
    "corrected_by": [
     {
      "url": "https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32024R1689R(04)",
      "date": "2026-05-04",
      "celex": "32024R1689R(04)",
      "title": null
     }
    ],
    "oj_reference": "OJ L, 2024/1689",
    "retrieved_at": "2026-11-05T21:50:10+00:00",
    "text_version": "consolidated",
    "act_type_code": "REG",
    "article_title": "Transparency obligations for providers and deployers of certain AI systems",
    "date_document": "2024-06-13",
    "schema_version": "1",
    "date_publication": "2024-07-12",
    "duration_seconds": 0.7,
    "article_amended_by": [
     {
      "celex": "32026R1744",
      "change": "replaced"
     }
    ],
    "implicitly_repeals": [],
    "date_end_of_validity": null,
    "date_entry_into_force": "2024-08-01",
    "article_text_truncated": false,
    "entry_int
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-law-article-lookup-eur-lex-bc84b842/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.boscolabs.dev](https://www.zero.xyz/host/api.boscolabs.dev/llms.txt)
