/v1/meta
Usage notes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/bundestag-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bundestag-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bundestag-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bundestag-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "German parliaments (Bundestag, the 16 state Landtage and the EU Parliament). /v1/politicians?query=Scholz (or last_name=) = search politicians by name, returning id, party, birth year; /v1/politician?id=79475 = a politician's profile (party, education, residence, occupation, question statistics); /v1/parliaments = the parliaments; /v1/polls?parliament=132&limit=25 = recent votes (Abstimmungen) with date and whether they were accepted (newest first; filter by a parliament-period id); /v1/poll?id=6532 = a single vote with its committees and topics; /v1/committees?parliament=132 = parliamentary committees. Data from abgeordnetenwatch.de (CC BY-SA). German federal & state politics. For US Congress see the Congress API; for the UK the UK Parliament API.",
"source": "abgeordnetenwatch.de API v2 (German parliaments)",
"endpoints": [
"/v1/politicians",
"/v1/politician",
"/v1/parliaments",
"/v1/polls",
"/v1/poll",
"/v1/committees",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-06-01T08:13:47.050Z",
"request_id": "ed0d6619-6a9e-4f26-a893-a3275a038ed3"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}