/v1/poll
A single vote
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/bundestag-api/v1/poll" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bundestag-api/v1/poll", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bundestag-api/v1/poll");
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/poll",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"poll": {
"id": 6532,
"url": "https://www.abgeordnetenwatch.de/brandenburg/8/abstimmungen/aufhebung-von-eu-sanktionen",
"date": "2026-04-22",
"title": "Aufhebung von EU-Sanktionen",
"topics": [
"Europapolitik und Europäische Union",
"Recht"
],
"accepted": false,
"committees": [],
"parliament_period": "Brandenburg 2024 - 2029"
}
},
"meta": {
"timestamp": "2026-06-01T08:13:45.347Z",
"request_id": "ba22aec3-7297-4834-8568-9f3f79870d51"
},
"status": "ok",
"message": "Poll retrieved",
"success": true
}