EU law search: GDPR, AI Act, DSA, VAT and 40+ EU acts
EU law search API: code samples in curl, Python and Node, and monthly plans.
Search 47 EU acts article by article: GDPR, AI Act, DSA, DMA, NIS2, DORA, MiCA, Data Act, VAT Directive, CSRD, PSD2 and more, in their latest consolidated English text, plus recitals. Ask in plain words; get the matching articles with act, article number, heading, full text, EUR-Lex link and version. Our own index (keyword + meaning, reranked), hosted in the EU. Use for compliance questions and citing EU law. Not legal advice.
Inputs
| Name | Type | Description |
|---|---|---|
q (required) | string | Question or keywords, in English (at most 400 characters) |
act | string | Only this act: short name (GDPR, AI Act, DSA, VAT Directive…), full name or CELEX number |
kind | string | article or recital (default both). One of: article, recital. |
count | integer | Results (1-10, default 5) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/law/search?q=which%20AI%20practices%20are%20banned"
Or one of your 3 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/law/search?q=which%20AI%20practices%20are%20banned&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"query": "which AI practices are banned",
"count": 5,
"results": [
{
"act": "Artificial Intelligence Act",
"short": "AI Act",
"celex": "32024R1689",
"citation": "AI Act, Article 5 (part 1 of 11)",
"kind": "article",
"label": "Article 5",
"heading": "Prohibited AI practices",
"text": "1. The following AI practices shall be prohibited:\n(a) the placing on the market, the putting into service or the use of an AI system that deploys subliminal techniques beyond a person’s consciousness or purposefully manipulative or deceptive techniques…",
"url": "https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:02024R1689-20260727#art_5",
"version": "consolidated text of 2026-07-27",
"score": 1.084
},
{
"act": "Artificial Intelligence Act",
"short": "AI Act",
"celex": "32024R1689",
"citation": "AI Act, Recital 45",
"kind": "recital",
"label": "Recital 45",
"text": "(45) Practices that are prohibited by Union law, including data protection law, non-discrimination law, consumer protection law, and competition law, should not be affected by this Regulation.",
"url": "https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32024R1689#rct_45",
"version": "recital as published in the Official Journal",
"score": 0.994
}
],
"actsIndexed": 47,
"attribution": "© European Union, https://eur-lex.europa.eu (Commission Decision 2011/833/EU). Only the Official Journal text is authentic. Not legal advice."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is law_search, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp