EU law search API

Ask a compliance question in plain words; get the exact EU articles that answer it, with act, article number, full text and the EUR-Lex link. GDPR, AI Act, DSA, DMA, NIS2, DORA, MiCA, VAT and more.

Get a free API key Try it free Plans from $9 a month Sample answer (JSON)

A free key makes 100 calls a month: leave an e-mail address, open the link, paste the key. Failed calls are never charged.

One request

curl -H "Authorization: Bearer $API_KEY" \
  "https://tools.funwords.eu/law/search?q=which%20AI%20practices%20are%20banned"

Python

import os, requests

r = requests.get(
    "https://tools.funwords.eu/law/search",
    params={
    "q": "which AI practices are banned",
    },
    headers={"Authorization": f"Bearer {os.environ['API_KEY']}"},
    timeout=60,
)
r.raise_for_status()
print(r.json())

Node.js

const params = new URLSearchParams({
  q: "which AI practices are banned",
});
const r = await fetch(`https://tools.funwords.eu/law/search?${params}`, {
  headers: { Authorization: `Bearer ${process.env.API_KEY}` },
});
if (!r.ok) throw new Error(await r.text());
console.log(await r.json());

The answer

{
  "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."
}

Try it on your own input

Question or keywords, in English (at most 400 characters)

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Pricing

One API key, paid by card through Stripe. $0.005 per successful call with a key; failed calls cost nothing.

$9 a month3,000 searches each monthStart plan
$19 a month8,000 searches each monthStart plan
$1 once200 searchesBuy
$5 once1,000 searchesBuy
$20 once4,400 searchesBuy
$100 once25,000 searchesBuy

A plan adds its credits each month when the payment succeeds; unused credits stay, and you can cancel at any time. Packs never expire. After paying you get your key on the next page. The same key works on every tool in the catalog. Details: credits and plans.

Inputs

NameTypeDescription
q (required)stringQuestion or keywords, in English (at most 400 characters)
actstringOnly this act: short name (GDPR, AI Act, DSA, VAT Directive…), full name or CELEX number
kindstringarticle or recital (default both)
countintegerResults (1-10, default 5)

What it does not do

Also on the same key

Questions

Which acts are covered?

47 acts businesses ask about most: GDPR, AI Act, DSA, DMA, NIS2, DORA, MiCA, the Data Act, the Cyber Resilience Act, eIDAS, PSD2, the anti-money-laundering package, the VAT Directive and its implementing regulation, ViDA, consumer law, product safety and liability, CSRD, the Accounting Directive, CSDDD, SFDR and more.

How current is the text?

Each act is the latest consolidated version in force when the index was built (monthly), and every result names that version. Recitals come from the text as published in the Official Journal.

How does it compare with a web search API?

A web search returns pages about the law. This returns the provision itself. On our 20-question test the right article came first for 10 questions and was in the top 5 for 19; Exa's search had 5 and 13, scored leniently. The questions and method are published.

Can I limit the search to one act?

Yes: act=GDPR (or the full name, or the CELEX number). kind=article or kind=recital narrows further.

Is there a subscription?

There is a monthly plan and there are one-off credit packs. Both give one API key; a plan adds credits each month and unused credits stay.

Guides

For AI agents

The same tool is on the MCP server https://tools.funwords.eu/mcp (the first 25 successful calls are free), and an agent with a wallet can pay per call in USDC: the tool URL answers 402 Payment Required with x402 and MPP terms. Reference: tool page · OpenAPI · docs for agents.