EU law · 24 official languagesArticle-level JSON · typed citation graphMCP server · Claude, Cursor, VS CodeSDKs · Python, TypeScriptFree plan · 500 credits to start
Brussels · CET
Vol. II·Section S — Solutions Desk
Directives · Notified measures · Publications Office

§ Transposition measures API — For developers

What each member state notified for a directive, as JSON.

Give the CELEX number of an EU directive and get the national measures each member state notified to the Commission for it, as the Publications Office publishes them. A notification is not a finding that a measure transposes the directive, or transposes it completely.

The free plan starts with 500 credits, no card. Your API key is on the dashboard once you confirm your email.

Create a free accountQuickstart

§ 01 — Measures

The measures notified for a directive.

You need: curl in bash or zsh, and an API key

This asks for the measures Spain notified for Directive (EU) 2016/680. Run it with your key in place of lex_your_key.

curl
curl "https://lex-api.com/api/v1/citations/transposition/32016L0680?jurisdictions=es" \
  -H "x-api-key: lex_your_key"
Example response (abridged)
{
  "success": true,
  "document": { "celexNumber": "32016L0680", "title": "Directive (EU) 2016/680 …", … },
  "source": {
    "cellar": {
      "attribution": "Source: Publications Office of the European Union, national implementing measures notified by the member states (reuse under Decision 2011/833/EU).",
      …
    },
    …
  },
  "note": "Measures are those the member state notified to the Commission for this act. A notification is not a finding that the measure transposes the act, or transposes it completely.",
  "jurisdictions": [
    {
      "jurisdiction": "ES",
      "measures": [
        {
          "provenance": "cellar-nim",
          "citationType": "transposition",
          "title": "Ley Orgánica 7/2021, de 26 de mayo, de protección de datos personales tratados para fines de prevención …",
          "typeAct": "Ley Orgánica",
          "officialJournal": { "name": "Boletín Oficial del Estado", "number": "126/2021", "date": "2021-05-27" },
          "reference": "BOE-A-2021-8806",
          "link": "https://www.boe.es/boe/dias/2021/05/27/pdfs/BOE-A-2021-8806.pdf",
          "cellar": { "dateDocument": "2021-05-27", "dateNotification": "2021-06-02", "entryIntoForce": "2021-06-16", … },
          …
        }
      ],
      …
    }
  ],
  "truncated": false,
  "credits": { "operation_weight": 5, … }
}
  • Measures are grouped by country, in code order.
  • jurisdictions takes ISO-2 country codes, comma-separated (EL for Greece, UK for the United Kingdom). Without it you get every country that has a measure.
  • Every answer carries the note above. Show it with the measures.
  • Costs 5 credits, on every plan.

Transposition reference

§ 02 — Fields

What a measure carries.


FieldWhat it holds
titleThe measure’s title as notified.
typeActThe kind of measure as notified.
officialJournalWhere the measure was published, as notified: name, number, date.
referenceThe member state’s own reference for the measure.
linkA link to the measure, as notified.
cellar.dateNotificationThe date of the notification in the Publications Office’s record.
citationTypetransposition for a directive or framework decision, implementation otherwise.

Every measure has the same keys in every country. A field the record lacks is null, never left out.

§ 03 — Limits

What the list is not.


  • Not an assessment. LexAPI lists what a member state notified. It does not assess whether, or how far, a measure transposes the directive.
  • Not a statement about a country that is missing. A country is in the answer when at least one measure is listed for the act.
  • Not a history. Measures the Publications Office no longer lists are left out.
  • Not unbounded. A call returns a capped number of measures; truncated: true says the cap was reached. Narrow the call with jurisdictions.

The route also takes a regulation or a framework decision. Keep source.cellar.attribution with anything you republish.

§ 04 — SDKs and MCP

The same call with the SDKs.


Install with pip install lexapi-client or npm install @lexapi/client.

Python
from lexapi import LexAPI

client = LexAPI(api_key="lex_your_key")

resp = client.citations.transposition("32016L0680", jurisdictions="es")

print(resp.note)
for country in resp.jurisdictions:
    for measure in country.measures:
        print(country.jurisdiction, measure.title, measure.link)
TypeScript
import { LexAPI } from "@lexapi/client";

const client = new LexAPI({ apiKey: "lex_your_key" });

const resp = await client.getTransposition("32016L0680", {
  jurisdictions: "es",
});

console.log(resp.note);
for (const country of resp.jurisdictions) {
  for (const measure of country.measures) {
    console.log(country.jurisdiction, measure.title, measure.link);
  }
}

Both print the note, then one line per measure: country code, title and link. In an MCP client the tool is lex_transposition. A prompt to try: Using LexAPI, list the measures Spain notified for Directive (EU) 2016/680 (CELEX 32016L0680).

MCP setup for agents

§ 05 — FAQ

Asked & answered.

N° 01What is a national transposition measure?+
A measure that a member state notifies to the European Commission for an EU directive, for example a law or a decree. The Publications Office of the European Union publishes these notifications, and LexAPI returns them as JSON by the directive’s CELEX number.
N° 02Does a notified measure mean the directive has been transposed?+
No. A notification is not a finding that the measure transposes the act, or transposes it completely. LexAPI lists what was notified; it does not assess transposition.
N° 03Which countries are covered?+
The 27 member states and the United Kingdom, as the Publications Office publishes the notifications. A country is in an answer when at least one measure is listed for the act.
N° 04Where does the data come from?+
From the Publications Office of the European Union: the national implementing measures notified by the member states, recorded in its Cellar repository. Keep the attribution the answer carries with anything you republish.
§ 06 — Next

Keep building.


  • QuickstartA first request by curl, MCP, Python and TypeScript.
  • API referenceEvery endpoint, parameter, response field and error.
  • MCP serverSetup for Claude, Cursor and VS Code, and the tool list.
  • PricingPlans, credit pools and what each call costs.

LexAPI returns source texts and their identifiers. It does not assess compliance and gives no legal advice.