Pandex and Légifrance

French law reaches developers two ways: the Légifrance API on PISTE, which needs an account, OAuth and quotas you only see once inside, and the DILA open data, which is a 1.2 GB tarball of XML with a daily increment. Pandex reads the DILA dumps every day and serves the result as articles, with every version and the decisions that cite them.

Access
the Légifrance API:PISTE account, an application, OAuth2 client credentials; tokens last an hour. Quotas per token, shown only inside PISTE.
Pandex:Free key, made on a page in a minute. 50 requests a day work without one.
What you get back
the Légifrance API:JSON from the API; nested XML in tarballs from the open data, with a DTD that changes over time.
Pandex:JSON, or plain text for a model (format=text). REST and an MCP server with the same six operations.
Search
the Légifrance API:Search per fund (codes, LODA, JORF, JURI, CETAT ...), by words.
Pandex:Words, meaning or both, in every language held. A citation ("§ 823 BGB", an ECLI, a CELEX number) is answered with that text.
Past versions
the Légifrance API:Yes: LEGI keeps every version of every article.
Pandex:Yes, the same versions: the wording on a day is one argument.
Case law
the Légifrance API:JURI, CETAT, CONSTIT through the API; Judilibre is a second API with its own account.
Pandex:Cour de cassation (published and unpublished), Conseil d'État, Conseil constitutionnel, Tribunal des conflits.
Citations
the Légifrance API:Links between texts in the LEGI data; no call for the decisions that cite an article.
Pandex:Per article: which decisions cite it, the most cited first.
Documentation
the Légifrance API:Swagger behind the PISTE login; data.gouv.fr marks the technical documentation as missing.
Pandex:One public page: api.pandex.io/docs.
Cost
the Légifrance API:Free.
Pandex:Free to 1,000 requests a day; then €1 per 1,000.

When to use the Légifrance API instead

Article 1240 of the Code civil

curl -s https://api.pandex.io/v1/document -H "Authorization: Bearer $KEY" \
  -H "content-type: application/json" \
  -d '{"id": "article 1240 code civil"}'

Or connect https://api.pandex.io/mcp to Claude, Cursor or any MCP client and ask in words.

What Pandex holds for France

907,232 documents, 17 November 2026.

  • Parlement · legislationcomplete
  • Gouvernement · legislationcomplete
  • Cour de cassation · decisionspartial

    The decisions the court publishes only through Judilibre since 2020 (not in the DILA dumps) need a registered account there; the dumps run about two months behind.

  • Conseil d'État · decisionscomplete
  • Tribunal des conflits · decisionscomplete
  • Conseil constitutionnel · decisionscomplete

What this page says about the Légifrance API is from its own pages, read on 21 November 2026

Other comparisons