Skip to content

PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API

by Association Sankofa

No authHTTPSGovernment
Open documentation ↗

Overview

API REST publique de Poligraph, l'observatoire citoyen de la vie politique française. Expose au format JSON les données de 925+ représentants politiques (députés, sénateurs, ministres), leurs votes parlementaires, affaires judiciaires documentées, partis, mandats et élections. 12 endpoints disponibles avec pagination intégrée (paramètres page et limit). \ \ Spécification OpenAPI 3.0 accessible sur <https://poligraph.fr/api/docs>. \ \ Licence AGPL-3.0, usage libre.

PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) is a government API from Association Sankofa. It needs no API key. It is served over HTTPS.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Government
Base URL
https://poligraph.fr/api

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://poligraph.fr/api" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://poligraph.fr/api", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://poligraph.fr/api",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Questions

Does the PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API need an API key?

No. The PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API support HTTPS?

Yes, the PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API is served over HTTPS.

What are alternatives to the PoliGraph API : Transparence politique, Affaires judiciaires et fact-checks (REST/JSON) API?

Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.

Compare alternatives →

Listed from data.gouv.fr (Licence Ouverte).