Constituencies
by polls.karbach.digital in Other
One Bundestag constituency (1 to 299): 2025 result, 2029 scenario, members, structure data. Use when asked about one Bundestag constituency. Source-attributed, German data, updated every six hours.
https://api.polls.karbach.digital/v1/constituencies/:nr- Price
- $0.02
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 200 ms
- 248 ms slowest 5%
- Last check
- Passed
- 55 min 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
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/:nrExample response
The provider's example. We can't check it without paying.
Example response, 148 lines
{
"data": {
"constituency": 299,
"members": [
{
"name": "Esra Limbacher",
"party": "SPD"
},
{
"name": "Michael „Moses“ Arndt",
"party": "Die Linke"
}
],
"name": "Homburg",
"result_btw2025": {
"erst": {},
"zweit": {
"AfD": 23.7,
"BSW": 5.8,
"CDU/CSU": 26.1,
"FDP": 4.2,
"Grüne": 6.6,
"Linke": 6.7,
"SPD": 22
}
},
"scenario_2029": {
"erst": {
"AfD": {
"ci_high": 35.8,
"ci_low": 26.5,
"pct": 31.2
},
"BSW": {
"ci_high": 1,
"ci_low": 0,
"pct": 0
},
"CDU/CSU": {
"ci_high": 24.7,
"ci_low": 17.7,
"pct": 21.2
},
"FDP": {
"ci_high": 4.7,
"ci_low": 1.9,
"pct": 3.3
},
"Grüne": {
"ci_high": 7.6,
"ci_low": 4.2,
"pct": 5.9
},
"Linke": {
"ci_high": 9.8,
"ci_low": 6,
"pct": 7.9
},
"SPD": {
"ci_high": 31.7,
"ci_low": 23.2,
"pct": 27.4
}
},
"zweit": {
"AfD": {
"ci_high": 36.9,
"ci_low": 27.3,
"pct": 32.1
},
"BSW": {
"ci_high": 5.6,
"ci_low": 2.6,
"pct": 4.1
},
"CDU/CSU": {
"ci_high": 19.9,
"ci_low": 13.9,
"pct": 16.9
},
"FDP": {
"ci_high": 5.5,
"ci_low": 2.5,
"pct": 4
},
"Grüne": {
"ci_high": 11,
"ci_low": 7,
"pct": 9
},
"Linke": {
"ci_high": 10.6,
"ci_low": 6.6,
"pct": 8.6
},
"SPD": {
"ci_high": 21.4,
"ci_low": 15.2,
"pct": 18.3
}
}
},
"similar_constituencies": [
{
"bundesland": "SL",
"name": "St. Wendel",
"similarity": 0.982,
"wk_nr": 298
},
{
"bundesland": "SL",
"name": "Saarlouis",
"similarity": 0.978,
"wk_nr": 297
}
],
"state": "SL",
"structure": {
"abitur_pct": 32.7,
"alo_quote": 6.6,
"alo_quote_frauen": 5.9,
"alter_60_74_pct": 22.2,
"alter_u18_pct": 15.7,
"auslaender_pct": 13.9,
"bev_dichte": 444.8,
"bip_je_ew": 39444,
"einkommen_je_ew": 23126,
"flaeche_km2": 550.2,
"land": "Saarland",
"pkw_je_1000": 661.6,
"wk_name": "Homburg",
"wk_nr": 299
},
"swing_type": "regional"
},
"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": {
"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": "scenario_2029 projects the federal trend onto the constituency (uniform swing with corrections).",
"updated_at": "2026-10-18T15:28:17.464793"
}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'
# 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' \
| 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
const res = await pay("https://api.polls.karbach.digital/v1/constituencies/:nr");
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")
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 |
|---|---|---|---|---|
| 55 min ago | Passed | 402 | 198 ms | $0.02 |
| 5 h ago | Passed | 402 | 213 ms | $0.02 |
| 9 h ago | Passed | 402 | 85 ms | $0.02 |
| 12 h ago | Passed | 402 | 248 ms | $0.02 |
| 15 h ago | Passed | 402 | 205 ms | $0.02 |
Show 4 older checks
| 18 h ago | Passed | 402 | 176 ms | $0.02 |
| 21 h ago | Passed | 402 | 200 ms | $0.02 |
| 24 h ago | Passed | 402 | 216 ms | $0.02 |
| 33 h ago | Passed | 402 | 41 ms | $0.02 |