Skip to content

DataParl' API API

by DataParl'

API keyHTTPSGovernment
Open documentation ↗

Overview

DataParl' API : le Parlement, pièce par pièce.\ Tous les mouvements de collaborateurs parlementaires, du Sénat depuis 2015 et de l'Assemblée depuis 2017, mis à jour chaque matin. Gratuit, avec une clé personnelle.

DataParl' API is a government API from DataParl'. Requests are authenticated with an API key. It is served over HTTPS.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Government
Base URL
https://api.dataparl.fr

Make a first request

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

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

response = requests.request(
    "GET",
    "https://api.dataparl.fr",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Questions

Does the DataParl' API API need an API key?

Yes. The DataParl' API API uses API key authentication; the documentation explains how to get credentials.

Does the DataParl' API API support HTTPS?

Yes, the DataParl' API API is served over HTTPS.

What are alternatives to the DataParl' API 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).