Glyphcall
Company, compliance and checksUpdated 28 November 2026From $0.005 per call · failed calls are never charged

EU law search: GDPR, AI Act, DSA, VAT and 180+ EU acts

$0.005 per call · failed calls are never charged · no account needed: a card key or USDC

LexGlyph: EU law search API: code samples in curl, Python and Node, and monthly plans.

Search 185 EU acts article by article: Treaties, Charter, GDPR, AI Act, NIS2, DORA, MiFID II, employment, competition, procurement, company, IP, consumer and tax law, latest consolidated text in English (Swedish with lang=sv). Get act, article, heading, full text, EUR-Lex link and version; answer=true adds quote-checked sentences with pinpoint citations. Our own EU-stored index. Use for compliance questions and citing EU law. Not legal advice.

Buy credits by card (from $1) Example result (JSON)

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. One of: data, digital, competition, finance, products, tax, contract, ip, environment, corporate, employment, treaties, procurement, trade, public.
kindstringarticle or recital (default both). One of: article, recital.
countintegerResults (1-10, default 5)
langstringLanguage of the legal text returned: en (default) or sv (the official Swedish text of the same provisions). One of: en, sv.
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

Request

Over HTTP, with a card key from /credits:

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

Node.js

const r = await fetch("https://glyphtools.com/law/search?q=which%20AI%20practices%20are%20banned", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://glyphtools.com/law/search?q=which%20AI%20practices%20are%20banned", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

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

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is law_search, paid from the first call:

https://glyphtools.com/mcp

Related tools