French legislation and case law from Légifrance and Judilibre, as structured JSON next to EUR-Lex — on the same API key and credit pool once France is live.
LexAPI is a REST API for EU law (EUR-Lex) that adds national law country by country. For France, the scope is the codes and the lois, ordonnances, décrets and arrêtés in force (Légifrance LEGI) and judicial decisions from Judilibre, as structured JSON in the same document shape as every other country, on the same API key and credit pool as EU law. Whether France is live right now is shown in the coverage list and at GET /api/v1/national/coverage.
The codes and the lois, ordonnances, décrets and arrêtés in force (Légifrance LEGI).
Judicial decisions from Judilibre (Cour de cassation open data).
| Source | Licence / terms | Publisher |
|---|---|---|
| Légifrance (LEGI) | Licence Ouverte 2.0 | DILA, via PISTE |
| Judilibre | Licence Ouverte 2.0 | Cour de cassation, via PISTE |
curl -H "x-api-key: $LEX_KEY" \
"https://lex-api.com/api/v1/fr/documents/FR-LEGITEXT000006070721"FR-LEGITEXT000006070721 is a code, by its LEGI text id. A document costs 1 credit (reserved at 5 and settled at 1 when the answer is sent, so a document read needs 5 credits available); list France’s documents with GET /api/v1/fr/documents.
{
"document": {
"id": "FR-LEGITEXT000006070721",
"jurisdiction": "FR",
"language": "fr",
"documentKind": "act",
"title": "…",
"documentType": "…",
"ecli": …,
"eli": …,
"dateOfDocument": …,
"version": 1,
"fetchedAt": "…",
"validTo": …,
"inForce": …,
"decision": null,
"content": { "fullText", "articles", … },
"textAvailability": { "available": true },
"attribution": "…",
"textBasis": …
}
}| Plan | National-law calls |
|---|---|
| Free | 30 calls / month |
| Starter | 500 calls / month |
| Professional | 2,000 calls / month |
| Business · Scale · Enterprise | No separate limit |
/api/v1/citations/…, or ?includeNational=true) are on Business, Scale and Enterprise only.