EU Legislation (EUR-Lex) API

EU regulations, directives and decisions from the Publications Office: CELEX number, English title, document date, in-force flag, author and ELI, with a link to the text on EUR-Lex. Filter by type, date and title words.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 8 fieldsv1.0

Data from publications.europa.eu/webapi/rdf/sparql

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Document typesoptional
Kinds of act: regulation, directive or decision. Default: all three. One per line, or separated by commas.
Date fromoptional
Earliest document date (YYYY-MM-DD).
Example: 2026-11-01
Searchoptional
Words that must appear in the English title.
Example: batteries

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/eur-lex-legislation/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/eur-lex-legislation/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"document_types":["regulation"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

document_typeslist
Kinds of act: regulation, directive or decision. Default: all three.
example: regulationone of: regulation, directive, decision
date_fromtext
Earliest document date (YYYY-MM-DD).
example: 2026-11-01
searchtext
Words that must appear in the English title.
example: batteries

What's in each record

8 fields.

Basics

  • Celex

    CELEX number, the act's unique EU identifier.

    Example 42026X2583

  • English title

    Example UN Regulation No. 10 – Uniform provisions concerning the approval of vehicles with regard to electromagnetic…

  • Document type

    regulation, directive or decision.

    Example regulation

  • In force

    Yes when the act is in force, when the source says.

    Example Yes

  • Author

    Institutions that made the act.

    Example UNECE

Dates

  • Document date

    Example Dec 3, 2026

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
celextextCelex3 of 3
titletextEnglish title3 of 3
document_typetextDocument type3 of 3
document_datedateDocument date3 of 3
in_forceyes or noIn force3 of 3
authortextAuthor3 of 3
elilinkEli3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordEnglish titleCelexDocument typeIn forceAuthorDocument dateEliLink
1UN Regulation No. 10 – Uniform provisions concerning the approval of vehicles with regard to electromagnetic compatibility [2026/2583]42026X2583regulationYesUNECEDec 3, 2026data.europa.eu/eli/reg/2026/2583/ojeur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:42026X2583
2Regulation No. 48 of the Economic Commission for Europe of the United Nations (UNECE) - Uniform provisions concerning the approval of vehicles with regard to the installation of lighting and light-signalling devices [2026/2595]42026X2595regulationYesUNECEDec 3, 2026data.europa.eu/eli/reg/2026/2595/ojeur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:42026X2595
3UN Regulation No 185 - Uniform provisions concerning the approval of motor vehicles with regard to their Automated Driving Systems [2026/2601]42026X2601regulationNoUNECEDec 3, 2026data.europa.eu/eli/reg/2026/2601/ojeur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:42026X2601

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Source: the EU Publications Office's public data service, reused under the EU's reuse policy (Commission Decision 2011/833/EU); keep the source named when you publish.
  • Metadata only (title, dates, identifiers, link): the legal text itself is not returned.
  • Only acts with an English title are returned; newest first within each type, types in the order given.
  • Title search matches every word you give (up to 5) as a part of the English title, any case, and large searches over old dates can be slow.
  • in_force and eli are empty for many acts (for example recent or non-binding ones); author lists the institutions named by the source, such as the European Commission or the Council of the EU.
  • One run returns at most 5,000 acts, and the source is read one request every half second.

Version history

A run uses the live version unless the request names another one with version.