National law·France

§ FR — National Law Desk

French law,
as an API.

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.

In short

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.

§ I — Coverage
Legislation

The codes and the lois, ordonnances, décrets and arrêtés in force (Légifrance LEGI).

Case law

Judicial decisions from Judilibre (Cour de cassation open data).

§ II — Sources & Licences

Where it comes from.

SourceLicence / termsPublisher
Légifrance (LEGI)Licence Ouverte 2.0DILA, via PISTE
JudilibreLicence Ouverte 2.0Cour de cassation, via PISTE
Known gaps
  • Administrative courts (Conseil d’État, cours administratives d’appel, tribunaux administratifs) are not included.
  • Consolidated texts are informational; only the Journal officiel is authentic.
  • Judicial decisions are pseudonymised by law. Re-identifying people and any analytics about judges or court clerks are prohibited (art. 33, loi n° 2019-222); the API exposes no field that names or keys on a magistrate.
§ III — One Request

France, as JSON.

Request
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.

Response · abridged
{
  "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": …
  }
}
§ IV — Access

On every plan, Free included.

PlanNational-law calls
Free30 calls / month
Starter500 calls / month
Professional2,000 calls / month
Business · Scale · EnterpriseNo separate limit
  • On Free, Starter and Professional, every call to a national documents or semantic route counts as one call, per account and UTC calendar month; the allowance resets at the start of each month (UTC). Business, Scale and Enterprise have no national counter.
  • On every plan, calls use credits from your pool at the normal weights: 3 per listing page, 5 per semantic search, and 1 per document (reserved at 5 and settled at 1 when the answer is sent, so a document read needs 5 credits available).
  • National documents in the citation graph (a national id on /api/v1/citations/…, or ?includeNational=true) are on Business, Scale and Enterprise only.