Public API
Plug Recto into your tools
ID cards for news media are available read-only, with no account, through a JSON API. Explore it below, or import our OpenAPI specification into the tool you prefer: Swagger UI, Redoc, Postman…
Endpoints
The API is read-only, no account needed. A key is optional and raises the limits (see “Token access”). Each endpoint below gives its address, parameters, responses and an example.
Base address : https://www.recto-medias.fr
GET/api/v2/cartes/{domaine}
A site’s card
The ID card of a news website: its four-state lines, origin, motivated absences and sources. This is the version read by the site and recent extensions.
Parameters
- domainein the pathrequired
- The site’s normalised domain name (lowercase, no “www.”).
Responses
- 200Success — the JSON body shown opposite.
- 400Malformed address (domaine-invalide).
- 404No card for this site (carte-inconnue).
- 429Too many requests (trop-de-requetes) — retry after the Retry-After header.
Request
curl https://www.recto-medias.fr/api/v2/cartes/lepetitcourrier-exempleville.frResponse — example
{
"version": 2,
"domaine": "lepetitcourrier-exempleville.fr",
"nom": "Le Petit Courrier d'Exempleville",
"badges": ["Exemple fictif"],
"lien": "https://www.recto-medias.fr/carte/lepetitcourrier-exempleville.fr",
"lignes": [
{
"libelle": "Éditeur",
"statut": "incoherent",
"origine": "registre",
"valeur": "SAS Éditions d'Exempleville",
"source": "Registre national des entreprises · 27/10/2026",
"explication": "Le SIREN affiché correspond à une autre entreprise.",
"sources": [
{ "libelle": "Registre national des entreprises", "date": "2026-10-27" }
]
}
],
"verification": { "etat": "pas-encore-verifiee" }
}GET/api/v1/cartes/{domaine}
A site’s card (v1, frozen)
Frozen version, read by extensions installed up to 0.2. Same rules; for a new project, prefer v2.
Parameters
- domainein the pathrequired
- The site’s normalised domain name (lowercase, no “www.”).
Responses
- 200Success — the JSON body shown opposite.
- 400Malformed address (domaine-invalide).
- 404No card for this site (carte-inconnue).
- 429Too many requests (trop-de-requetes) — retry after the Retry-After header.
Request
curl https://www.recto-medias.fr/api/v1/cartes/lepetitcourrier-exempleville.frResponse — example
{
"domaine": "lepetitcourrier-exempleville.fr",
"nom": "Le Petit Courrier d'Exempleville",
"badges": ["Exemple fictif"],
"lien": "https://www.recto-medias.fr/carte/lepetitcourrier-exempleville.fr",
"lignes": [
{
"libelle": "Éditeur",
"statut": "incoherent",
"valeur": "SAS Éditions d'Exempleville",
"source": "Registre national des entreprises · 27/10/2026",
"explication": "Le SIREN affiché correspond à une autre entreprise."
}
],
"verification": { "etat": "pas-encore-verifiee" }
}GET/api/v2/domaines
Sites that have a card
The list of published sites with their summarised state (reviewed, inconsistent…). Downloaded by the extension for its icon; it never carries a line’s value.
Responses
- 200Success — the JSON body shown opposite.
- 429Too many requests (trop-de-requetes) — retry after the Retry-After header.
Request
curl https://www.recto-medias.fr/api/v2/domainesResponse — example
{
"generee": "2026-11-24T12:00:00.000Z",
"sites": [
{ "domaine": "lemonde.fr", "nom": "Le Monde", "etat": "relue" },
{
"domaine": "lepetitcourrier-exempleville.fr",
"nom": "Le Petit Courrier d'Exempleville",
"etat": "incoherent",
"incoherences": 1
}
]
}GET/api/v2/entites/{id}
An organisation’s record
What a company runs and who runs it, from the registers — never a capital holding. Open outside production for now.
Parameters
- idin the pathrequired
- The organisation’s identifier, as a card returns it.
Responses
- 200Success — the JSON body shown opposite.
- 400Malformed identifier (identifiant-invalide).
- 404Unknown organisation (entite-inconnue).
- 429Too many requests (trop-de-requetes) — retry after the Retry-After header.
Request
curl https://www.recto-medias.fr/api/v2/entites/a1b2c3d4Response — example
{
"id": "a1b2c3d4",
"type": "organisation",
"nom": "SAS Éditions d'Exempleville",
"siren": "000000000",
"detient": [],
"dirige": [
{
"domaine": "lepetitcourrier-exempleville.fr",
"nom": "Le Petit Courrier d'Exempleville"
}
],
"societes": [],
"dirigeants": [{ "nom": "Camille Exemple", "role": "dirigeant_legal" }]
}GET/api/v2/conso
Your key’s usage
Your own key’s figures over a period: requests served, refusals (429), last use. The key is presented in a header.
Key required: present it in the Authorization (Bearer) or X-Recto-Api-Key header.
Responses
- 200Success — the JSON body shown opposite.
- 401Missing or invalid key.
- 429Too many requests (trop-de-requetes) — retry after the Retry-After header.
Request
curl -H "Authorization: Bearer rk_live_…" \
https://www.recto-medias.fr/api/v2/consoResponse — example
{
"prefixe": "rk_live_a1b2",
"limiteParMinute": 600,
"heures": 24,
"releveLe": "2026-12-02T10:00:00.000Z",
"requetes": 1842,
"refus": 3,
"derniereUtilisation": "2026-12-02T09:58:12.000Z"
}Download the OpenAPI specification (JSON) · OpenAPI 3.1 format, to import into Swagger UI, Redoc or Postman.
Token access (third-party tier)
Anonymous access is enough for light use. For a high-volume, server-side integration, a key grants higher limits, specific to your key and revocable at any time.
Get a key
Describe your use in the request form (or at contact@recto-medias.fr). The coordination team reviews it and gives you the key once: we keep only its fingerprint, never the key in plain text, and we can revoke it.
Request a keyPresent the key
In either header, never in the URL:
Authorization: Bearer rk_live_…
X-Recto-Api-Key: rk_live_…Terms of use
The general terms of use apply to the API as they do to the Site: reusing Recto’s data beyond viewing it requires the prior written authorisation of its rights holders, to be requested through the contact form. Public data remain subject to their producer’s licence (legal notice).
- With an authorisation, credit Recto as the source, with the date of the card.
- The data is provided as is, without warranty: these are dated facts from public registers.
- No abuse: respect the limits, do not scrape the database wholesale, and never use the data to target a person.
Usage rules
Open access
Read-only, no account. Anonymous by default; a token is available for high-volume integrations (see “Token access”).
Any origin
Access-Control-Allow-Origin: * header, no cookie: usable from a browser as well as a server.
Rate limits
Per visitor and per minute: 60 requests for cards, 10 for the list. A token raises these limits, per key. Going over returns a 429 response with a Retry-After header.
Errors
A 404 for a site without a card (carte-inconnue), a 400 for a malformed address (domaine-invalide).
Example
A site’s card is read by its normalised domain name.
curl https://www.recto-medias.fr/api/v2/cartes/lepetitcourrier-exempleville.fr