Constituencies Results
by polls.karbach.digital in Other
Official Bundestag results of a constituency 2013 to 2025 (first and second vote, turnout). Use when asked for past official results of a constituency. Source-attributed, German data, updated every six hours.
https://api.polls.karbach.digital/v1/constituencies/:nr/results- Price
- $0.02
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 221 ms
- 250 ms slowest 5%
- Last check
- Passed
- 1 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.polls.karbach.digital/v1/constituencies/:nr/results
Each call costs $0.02 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
Built from the input schema. Replace the values with your own.
GET https://api.polls.karbach.digital/v1/constituencies/:nr/resultsExample response
The provider's example. We can't check it without paying.
Example response, 207 lines
{
"data": {
"constituency": 299,
"history": {
"btw2013": {
"erst_pct": {
"AfD": 4.64,
"CDU": 39.77,
"FDP": 1.36,
"GRÜNE": 3.57,
"Linke": 9.06,
"NPD": 1.61,
"PIRATEN": 2.37,
"SPD": 37.62
},
"gewaehlt_partei": null,
"waehlende": 142644,
"wahlberechtigt": 198117,
"wahlbeteiligung_pct": 72,
"zweit_pct": {
"AfD": 5.6,
"CDU": 36.59,
"FAMILIE": 1.71,
"FDP": 3.79,
"FW": 0.67,
"GRÜNE": 5.12,
"Linke": 10.19,
"MLPD": 0.05,
"NPD": 1.75,
"PIRATEN": 2.48,
"SPD": 31.89,
"pro Deutschland": 0.16
}
},
"btw2017": {
"erst_pct": {
"AfD": 11,
"CDU": 33.56,
"FDP": 5.14,
"FW": 1.24,
"Grüne": 4.97,
"Linke": 10.97,
"Marxistisch-Leninistische Partei Deutschlands": 0.15,
"Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative": 1.54,
"SPD": 31.41
},
"gewaehlt_partei": null,
"waehlende": 145992,
"wahlberechtigt": 192410,
"wahlbeteiligung_pct": 75.88,
"zweit_pct": {
"AfD": 11.67,
"Bündnis Grundeinkommen": 0.15,
"CDU": 31.03,
"Deutsche Mitte": 0.18,
"FDP": 7.73,
"FW": 0.89,
"Grüne": 5.65,
"Linke": 12.38,
"Marxistisch-Leninistische Partei Deutschlands": 0.08,
"Nationaldemokratische Partei Deutschlands": 0.54,
"Partei der Vernunft": 0.08,
"Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative": 1.23,
"Piratenpartei Deutschland": 0.45,
"SPD": 27.68
}
},
"btw2021": {
"erst_pct": {
"AfD": 11.61,
"Basisdemokratische Partei Deutschland": 1.49,
"CDU": 26.12,
"FDP": 7.89,
"FW": 3.16,
"Grüne": 4.89,
"Linke": 5.24,
"Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative": 2.35,
"SPD": 36.59,
"Ökologisch-Demokratische Partei": 0.64
},
"gewaehlt_partei": null,
"waehlende": 142288,
"wahlberechtigt": 185941,
"wahlbeteiligung_pct": 76.52,
"zweit_pct": {
"AfD": 11.49,
"Basisdemokratische Partei Deutschland": 1.34,
"CDU": 22.88,
"Die Heimat (2021: Nationaldemokratische Partei Deutschlands)": 0.26,
"FDP": 11.24,
"FW": 2.4,
"Linke": 6.61,
"Marxistisch-Leninistische Partei Deutschlands": 0.06,
"PARTEI MENSCH UMWELT TIERSCHUTZ": 2.89,
"Partei für Arbeit, Rechtsstaat, Tierschutz, Elitenförderung und basisdemokratische Initiative": 1.57,
"Piratenpartei Deutschland": 0.58,
"SPD": 37.24,
"Team Todenhöfer – Die Gerechtigkeitspartei": 0.38,
"Ökologisch-Demokratische Partei": 0.46
}
},
"btw2025": {
"erst_pct": {
"AfD": 23.35,
"CDU": 28.02,
"FDP": 3.21,
"FW": 3.83,
"Grüne": 4.44,
"Linke": 6.64,
"SPD": 30.52
},
"gewaehlt_partei": "Sozialdemokratische Partei Deutschlands",
"waehlende": 147979,
"wahlberechtigt": 180479,
"wahlbeteiligung_pct": 81.99,
"zweit_pct": {
"AfD": 23.73,
"BSW": 5.77,
"BÜNDNIS DEUTSCHLAND": 0.25,
"CDU": 26.05,
"FDP": 4.24,
"FW": 1.71,
"Grüne": 6.59,
"Linke": 6.69,
"Marxistisch-Leninistische Partei Deutschlands": 0.05,
"PARTEI MENSCH UMWELT TIERSCHUTZ": 2.06,
"Piratenpartei Deutschland": 0.28,
"SPD": 22.04,
"Volt Deutschland": 0.55
}
}
},
"name": "Homburg",
"results_by_year": {
"2017": {
"bundesland_id": "10",
"gebiet": "Homburg",
"gueltige_zweit": 139102,
"turnout": 72,
"waehlende": 142644,
"wahlberechtigte": 198117,
"wk_nr": 299,
"zweit_pct": {
"AfD": 0.56,
"CDU": 32.02,
"FDP": 7.98,
"FW": 0.27,
"Grüne": 5.83,
"Linke": 12.78,
"SPD": 28.56
}
},
"2021": {
"bundesland_id": "10",
"gebiet": "Homburg",
"gueltige_zweit": 143525,
"turnout": 75.88,
"waehlende": 145992,
"wahlberechtigte": 192410,
"wk_nr": 299,
"zweit_pct": {
"AfD": 11.2,
"CDU": 22.3,
"FDP": 10.95,
"FW": 1.31,
"Linke": 6.44,
"SPD": 36.29,
"SSW": 0.59
}
},
"2025": {
"bundesland_id": "10",
"gebiet": "Homburg",
"gueltige_zweit": 146668,
"turnout": 81.99,
"waehlende": 147979,
"wahlberechtigte": 180479,
"wk_nr": 299,
"zweit_pct": {
"AfD": 23.73,
"BSW": 5.77,
"CDU": 26.05,
"FDP": 4.24,
"FW": 0.55,
"Grüne": 6.59,
"Linke": 6.69,
"SPD": 22.04,
"SSW": 0.25
}
}
}
},
"docs": "https://api.polls.karbach.digital/v1/",
"model": null,
"notice": "Scenario analysis based on published opinion polls. Not a prediction and not a voting recommendation. Coalitions are arithmetic majorities only, not statemen...",
"project": "Ein Projekt von Karbach.Digital (https://karbach.digital)",
"source": {
"official_results": "Die Bundeswahlleiterin, Wiesbaden",
"official_results_license": "Datenlizenz Deutschland Namensnennung 2.0",
"polls": "dawum.de",
"polls_license": "ODbL 1.0",
"polls_license_url": "https://opendatacommons.org/licenses/odbl/1-0/",
"processing": "polls.karbach.digital (Max Karbach)"
},
"uncertainty": null,
"updated_at": "2026-10-01T07:00:01.779851"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.polls.karbach.digital/v1/constituencies/:nr/results'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.polls.karbach.digital/v1/constituencies/:nr/results' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.polls.karbach.digital%2Fv1%2Fconstituencies%2F%3Anr%2Fresults
const res = await pay("https://api.polls.karbach.digital/v1/constituencies/:nr/results");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.polls.karbach.digital/v1/constituencies/:nr/results")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 47 ms | $0.02 |
| 5 h ago | Passed | 402 | 201 ms | $0.02 |
| 9 h ago | Passed | 402 | 200 ms | $0.02 |
| 11 h ago | Passed | 402 | 247 ms | $0.02 |
| 15 h ago | Passed | 402 | 221 ms | $0.02 |
Show 4 older checks
| 18 h ago | Passed | 402 | 238 ms | $0.02 |
| 21 h ago | Passed | 402 | 241 ms | $0.02 |
| 24 h ago | Passed | 402 | 250 ms | $0.02 |
| 32 h ago | Passed | 402 | 34 ms | $0.02 |