Skip to content
GET /v1/politicians

Search politicians by name

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/bundestag-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/bundestag-api/v1/politicians" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bundestag-api/v1/politicians", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bundestag-api/v1/politicians");
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/politicians",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 20,
        "query": "Scholz",
        "total": 36,
        "politicians": [
            {
                "id": 184179,
                "sex": "m",
                "name": "Samuel Niklas Scholz",
                "party": "Volt",
                "last_name": "Scholz",
                "birth_year": 1997,
                "first_name": "Samuel Niklas"
            },
            {
                "id": 183987,
                "sex": "m",
                "name": "Matthias Michael Maria Scholz",
                "party": "Die PARTEI",
                "last_name": "Scholz",
                "birth_year": null,
                "first_name": "Matthias Michael Maria"
            },
            {
                "id": 183829,
                "sex": "m",
                "name": "Andreas Scholz",
                "party": "FREIE WÄHLER",
                "last_name": "Scholz",
                "birth_year": 1983,
                "first_name": "Andreas"
            },
            {
                "id": 183184,
                "sex": "m",
                "name": "Michael Scholz",
                "party": "Die Linke",
                "last_name": "Scholz",
                "birth_year": 1974,
                "first_name": "Michael"
            },
            {
                "id": 182681,
                "sex": "m",
                "name": "Konstantin Scholz",
                "party": "SPD",
                "last_name": "Scholz",
                "birth_year": 2002,
                "first_name": "Konstantin"
            },
            {
                "id": 181720,
                "sex": "m",
                "name": "Alex Scholze",
                "party": "SPD",
                "last_name": "Scholze",
                "birth_year": 1992,
                "first_name": "Alex"
            },
            {
                "id": 180724,
                "sex": "m",
                "name": "Gregory Scholz",
                "party": "SPD",
                "last_name": "Scholz",
                "birth_year": 1981,
                "first_name": "Gregory"
            },
            {
                "id": 180508,
                "sex": "m",
                "name": "Marco Scholz",
                "party": "BAYERNPARTEI",
                "last_name": "Scholz",
                "birth_year": null,
                "first_name": "Marco"
            },
            {
                "id": 179890,
                "sex": "f",
                "name": "Louisa Scholz",
                "party": "FDP",
                "last_name": "Scholz",
                "birth_year": 2003,
                "first_name": "Louisa"
            },
            {
                "id": 178453,
                "sex": "f",
                "name": "Friederike Scholz",
                "party": "BÜNDNIS 90/­DIE GRÜNEN",
                "last_name": "Scholz",
                "birth_year": 1973,
                "first_name": "Friederike"
            },
            {
                "id":
…