EN
EnglishEspañolDeutschFrançaisSvenskaNederlandsLietuviųไทยPortuguêsРусский中文Українськаहिन्दीBahasa Indonesia

LexGlyph: EU law search API

Ask a compliance question in plain words, in any EU language; LexGlyph returns 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.

Plans from $3 a month Sample answer (JSON)

No account to create. Failed calls are never charged.

One request

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

Python

import os, requests

r = requests.get(
    "https://glyphtools.com/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://glyphtools.com/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",
      "language": "en",
      "paragraph": "1",
      "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",
      "language": "en",
      "score": 0.994
    }
  ],
  "actsIndexed": 185,
  "attribution": "© European Union, https://eur-lex.europa.eu (Commission Decision 2011/833/EU). Only the Official Journal text is authentic. Not legal advice."
}

Pricing

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

$3 a month600 searches each monthStart plan
$9 a month1,800 searches each monthStart plan
$39 a month7,800 searches each monthStart plan
$129 a month25,800 searches each monthStart plan
$349 a month69,800 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
qstringQuestion or keywords in any EU language; the articles are in English (at most 400 characters). Required unless `like` is given
actstringOnly this act: short name (GDPR, AI Act, DSA, VAT Directive…), full name or CELEX number
likestringFind provisions similar to one you name, instead of a question: act and article, for example "GDPR Article 17" or "AI Act recital 47"; the provision itself is left out
areastringOnly acts in this practice area: data, digital, competition, finance, products, tax, contract, ip, environment, corporate, employment, treaties, procurement, trade or public
kindstringarticle or recital (default both)
countintegerResults (1-10, default 5)
langstringLanguage of the legal text returned: en (default) or sv (the official Swedish text of the same provisions)
answerstringtrue: also a short AI-written answer in which every sentence quotes the provision it rests on, checked word for word, with a pinpoint citation (Article 6(1)(f)); sentences whose quote is not found are dropped. Not legal advice
casesstringtrue: each article also lists the Court of Justice judgments that discuss it most (case number, parties, ECLI, date, first paragraph citing it, link)
swedishstringtrue: also the Swedish statute sections that match the question (Swedish law, section by section) and the Swedish statutes implementing the directives found

What it does not do

Also on the same key

Questions

Which acts are covered?

185 acts: the Treaties (TEU, TFEU) and the Charter; GDPR, the AI Act, DSA, DMA, NIS2, DORA, MiCA and the Data Act; employment law (working time, transfers of undertakings, collective redundancies, equal treatment); competition and State aid (Regulation 1/2003, the Merger Regulation, the block exemptions); public procurement; company law, audit and anti-money-laundering; MiFID II, MAR, the Prospectus Regulation, CRR and EMIR; trade marks, designs, copyright and trade secrets; Rome I and II, Brussels Ia and consumer law; VAT and corporate tax directives; customs, export control and sanctions; REACH, waste and emissions trading.

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 is it different from a web search?

A web search returns pages about the law. This returns the provision itself: on 102 held-out questions the right article came first for 74 and was in the top 5 for 94.

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://glyphtools.com/mcp (the first 10 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.