AMF BDIF: French Director Dealings (Déclarations des Dirigeants) as an API
In France, managers' transactions under Article 19 of the Market Abuse Regulation are filed with the Autorité des marchés financiers (AMF). The AMF publishes them in BDIF, its Base de Données des Informations Financières, as déclarations des dirigeants (information type DD). It is public, free and needs no login.
It is also built for people, not programs. Each filing is a PDF.
What BDIF looks like from the outside
bdif.amf-france.org is a single-page application. The human URLs (/fr/details/2026DD1137702) return an empty shell; the data arrives from a JSON API under /back/api/v1/. That prefix matters: plain /api/v1/ returns a page that looks like a firewall block, but is only the app's handler for unknown routes.
Three calls cover most needs:
UA="Mozilla/5.0"
# Search: director dealings published in a date range, 100 per page
curl -s -A "$UA" "https://bdif.amf-france.org/back/api/v1/informations?typesInformation=DD&dateDebut=2026-10-01&dateFin=2026-10-31&from=0&size=100"
# One filing's metadata: issuer, dates, the PDF's path
curl -s -A "$UA" "https://bdif.amf-france.org/back/api/v1/informations/2026DD1137702"
# RSS of the latest ~100 filings
curl -s -A "$UA" "https://bdif.amf-france.org/back/api/v1/rss?lang=en&typesInfo=DD"
Paging uses from and size. Other paging names (page, pageSize, limit) are silently ignored, so a loop over page= returns the first page forever.
The metadata is not the filing
The metadata has the issuer's name, the publication time and a document path. It has no person, no ISIN, no price and no volume. Those are only in the PDF, which renders the EU notification template (Commission Implementing Regulation 2016/523) in French, with an English copy in newer filings.
Downloading the PDF needs a cd parameter: the Base64 of attachment; filename=<file name>. Without it, or with a wrong one, the server answers with zero bytes and no error.
Traps in the PDF
- Name and position share one field. "Holding company X, personne morale liée à Y, Président Directeur Général" is one block of text. Splitting it into a person, a role and a closely associated entity is a heuristic.
- Two levels of bundling. A filing can hold several transactions (
DETAIL DE LA TRANSACTION 1,2, …), and each transaction several fills at different prices. The aggregated price and volume (INFORMATIONS AGREGEES) is the figure to store. - Numbers and dates are French. Period decimal, space thousands (
17 000.0000), month names (25 mars 2021), and1erfor the first of the month. - The nature is free text. "Acquisition" and "Cession" are most filings, but an acquisition d'actions gratuites is a share award, not a purchase, and many "Acquisition" lines are employee savings fund (FCPE) units bought under a plan. Read the instrument too, or plan purchases look like conviction buys.
- Cancelled filings stay online. A corrected filing says "annule et remplace l'information …"; the old one gets a banner. One 2026 filing had price and volume swapped by the filer, a €52,124 "price" per share. Drop the replaced filing, or your averages carry it.
History starts in February 2021
BDIF's search returns nothing for director dealings before February 2021, when the AMF migrated the database, although MAR applied from July 2016. From then on it is complete: 2021 to 2023 hold 4,500 to 4,900 filings a year. Searches are capped at 10,000 results, so a backfill has to be split into ranges of a year or less.
French director dealings as JSON
Duceus reads every BDIF director-dealings PDF, splits the bundles into one row per transaction, classifies the nature and withdraws cancelled filings:
curl "https://api.duceusapi.com/transactions?country=FR&transaction_type=BUY&limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
r = requests.get(
"https://api.duceusapi.com/transactions",
params={"country": "FR", "transaction_type": "BUY", "limit": 50},
headers={"Authorization": "Bearer YOUR_API_KEY"},
)
for t in r.json()["items"]:
print(t["transaction_date"], t["issuer_name"], t["person_role"], t["volume"], t["unit_price"], t["currency"])
Each row keeps the filing's own wording in transaction_type_raw and a link to the PDF in source_url. French threshold crossings (franchissements de seuils, information type SPDE in BDIF) are in the same API under /holdings.
Summary
- BDIF's data comes from
/back/api/v1/; the search pages withfrom/size. - Person, ISIN, price and volume are only in the PDF.
- Use the aggregated figures, read the instrument as well as the nature, and drop cancelled filings.
- History starts February 2021.
- See coverage and pricing, or get an API key.