French Law – Codes, Laws & Legal Changes (Légifrance)
Pricing
from $1.00 / 1,000 articles
French Law – Codes, Laws & Legal Changes (Légifrance)
French codes, laws and decrees from the official Légifrance (LEGI) open data, no API key needed: articles in force today or at any date, keyword search, upcoming and recent legal changes, and RAG-ready chunks with embeddings.
French codes, laws and decrees from the official Légifrance open data (LEGI, published by DILA), no API key or PISTE account needed:
- Articles: any article of 106 codes (Code civil, Code du travail, Code de commerce, Code général des impôts…) or of laws, ordinances and decrees, in force today, at any past date, or with its full history.
- Search: articles containing your keywords or exact phrases, in one code or in all codes in force.
- Legal changes: articles created, amended or ended in a period, including upcoming changes already published, with the previous text of amended articles. Schedule it to monitor regulation that affects you.
- RAG-ready: one row per article or per chunk, with the official BGE-M3 embeddings (1,024 dimensions) for your vector database.
$1 per 1,000 articles.
What data can you get?
| 📜 Article text | 🔢 Article number | 📚 Code or law |
| ✅ Status: in force, repealed, upcoming | 📅 In force from / until | 🗂️ Place in the code (book, title, chapter) |
| 📝 Notes | 🔗 Légifrance link | 🔁 Previous text of amended articles |
| 🧩 RAG chunks | 🧠 BGE-M3 embeddings (1,024 dims) | 📎 Citations |
How to use it
- Click Try for free at the top of this page.
- Choose articles, search or changes.
- Pick one or more codes, then article numbers, keywords or a period.
- Click Start.
- Download as JSON, CSV or Excel, or load the chunks into your vector database.
Why this Actor
- No credentials. The official Légifrance API requires a PISTE account and OAuth setup; this Actor works out of the box.
- Every version of every article, with exact dates in force, the code's structure (book, title, chapter, section) and citations to other texts.
- "What changed?" built in: amendments come with the text before and after.
- Fresh: the data is refreshed every week from DILA's daily publications, and includes changes that are scheduled but not yet in force.
Use cases
- Legal tech and AI assistants: ground LLM answers on the exact text in force, with chunks and embeddings ready for RAG.
- Compliance and HR teams: a weekly list of changes to the Code du travail, Code de la consommation or Code de l'environnement.
- Law firms and students: an article as it stood at the date of the facts.
- Researchers: the full history of a code.
Input examples

Articles in force
{ "mode": "articles", "codes": ["code_civil", "code_du_travail"], "articleNumbers": ["1240", "L1222-9"] }
An article as it was in 2015
{ "mode": "articles", "codes": ["code_civil"], "articleNumbers": ["1382"], "version": "atDate", "atDate": "2015-06-01" }
Every article mentioning an exact phrase
{ "mode": "search", "codes": ["code_du_travail"], "keywords": ["\"rupture conventionnelle\""] }
Changes to the labour code in the last 30 days, and upcoming
{ "mode": "changes", "codes": ["code_du_travail"], "changedFrom": "30 days" }
A whole code as RAG chunks with embeddings
{ "mode": "articles", "codes": ["code_de_la_consommation"], "rowPer": "chunk", "includeEmbeddings": true, "maxResults": 100000 }
Output

{"id": "LEGIARTI000032041571","url": "https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000032041571","collection": "Code civil","articleNumber": "1240","status": "VIGUEUR","inForceFrom": "2016-10-01","inForceUntil": null,"hierarchy": ["Livre III : Des différentes manières dont on acquiert la propriété", "…", "Chapitre Ier : La responsabilité extracontractuelle en général"],"text": "Tout fait quelconque de l'homme, qui cause à autrui un dommage, oblige celui par la faute duquel il est arrivé à le réparer.","citationsCount": 12,"citations": [{ "title": "Loi du 29 juillet 1881 - art. 44 (VD)", "type": "CITATION", "articleId": "LEGIARTI000032043044" }]}
Legal changes add changeType (created, amended, repealed, transferred, ended), changeDate, isUpcoming, and for amendments previousVersionId and previousText. Chunk rows add chunkIndex, chunkText, and with embeddings, embedding and embeddingModel.
Statuses: VIGUEUR (in force), VIGUEUR_DIFF (in force later), MODIFIE (replaced by a newer version), ABROGE (repealed), TRANSFERE (moved to another number).
Pricing
| Event | Price |
|---|---|
| Article or chunk returned | $0.001 |
Good to know
- Source: LEGI (DILA), as processed and embedded by the State's AI team (DINUM / AgentPublic), Licence Ouverte / Etalab 2.0. Updated weekly.
- Coverage: consolidated national legislation and regulations (codes, laws, ordinances, decrees, orders). Case law, collective agreements and the Journal officiel's non-consolidated texts are not included.
- Search across all codes or across decrees and orders reads a lot of data and can take a minute or two; choose specific codes for fast answers.
- This is legal information, not legal advice. For official purposes, rely on Légifrance.
More Actors from this developer
| ⚖️ BODACC French company creations, insolvencies and sales | 🏢 French Company Data Every French company: SIREN, address, NAF, directors | 📑 French Public Tenders & Contracts French public tenders and awarded contracts |
| 🚨 French Product Recalls (RappelConso) French product recalls and barcode checks | 🎓 French Training Organisations Qualiopi check and CPF training prices | 🤖 AI Brand Visibility Tracker See how ChatGPT, Gemini and Perplexity rank your brand |
FAQ
Can I use it through the API, Make, Zapier or Google Sheets?
Yes. Every run can be started and read through the Apify API (JavaScript and Python clients, CLI, MCP), and Apify integrations connect it to Make, Zapier, n8n, Google Sheets, Slack, webhooks and more.
Is it legal to use this data?
The Actor only reads public or official open data and doesn't log in anywhere. Check the source's licence and your local rules (for example GDPR when data concerns people) for your use case; if in doubt, ask a lawyer.
Something isn't working, or you need another field?
Open an issue on the Issues tab: feedback is read and answered.
