Constituencies Dossier
by polls.karbach.digital in Weather & location
Everything on one Bundestag constituency in one call: structure data, postcodes, results since 2013, 2029 forecast, direct-mandate chances, its members (committees, speeches, votes), state government and next state election. Use when you need a complete briefing on one German constituency in a single call. Source-attributed, German data, updated every six hours.
https://api.polls.karbach.digital/v1/constituencies/:nr/dossier- Price
- $0.1
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 235 ms
- 498 ms slowest 5%
- Last check
- Passed
- 28 min ago, next in 5 min
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.polls.karbach.digital/v1/constituencies/:nr/dossier
Each call costs $0.1 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/dossierExample response
The provider's example. We can't check it without paying.
Example response, 245 lines
{
"data": {
"constituency": {
"name": "Homburg",
"number": 299,
"postcodes": [
"66280",
"66287"
],
"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"
},
"forecast_2029": {
"direct_mandate": {
"expected_margin_points": 6.78,
"favourite": "AfD",
"rating": "sicher",
"win_probability": {
"AfD": 0.6933,
"CDU/CSU": 0.1164,
"FDP": 0,
"Linke": 0.0002,
"SPD": 0.1901
}
},
"second_vote": {
"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
}
},
"swing_type": "regional"
},
"members_of_bundestag": [
{
"against_party_line": 0,
"committees": [
{},
{}
],
"detail": "https://api.polls.karbach.digital/v1/members/esra-limbacher",
"id": 138463,
"latest_speech": {
"datum": "2026-09-08",
"exzerpt": "Sehr geehrter Herr Präsident! Liebe Kolleginnen und Kollegen! Dieser Sommer hat uns allen gezeigt, was Klimawandel ganz konkret bedeutet: extreme Hitze, Dürr...",
"pdf_url": "https://dserver.bundestag.de/btp/21/21091.pdf",
"protokoll_nr": "21/91"
},
"mandate": "constituency",
"name": "Esra Limbacher",
"party": "SPD",
"printed_papers_12m": 0,
"roll_call_votes": 22,
"slug": "esra-limbacher",
"speeches_this_period": 25
},
{
"against_party_line": 0,
"committees": [
{},
{}
],
"detail": "https://api.polls.karbach.digital/v1/members/michael-moses-arndt",
"id": 183266,
"latest_speech": {
"datum": "2026-10-08",
"exzerpt": "Frau Präsidentin! Kolleginnen und Kollegen! Sehr geehrte Gäste! Heute geht es um eine Petition bezüglich der Gesundheitsversorgung. Es soll die Möglichkeit e...",
"pdf_url": "https://dserver.bundestag.de/btp/21/21099.pdf",
"protokoll_nr": "21/99"
},
"mandate": "list",
"name": "Michael „Moses“ Arndt",
"party": "Die Linke",
"printed_papers_12m": 0,
"roll_call_votes": 22,
"slug": "michael-moses-arndt",
"speeches_this_period": 2
}
],
"model_reliability": {
"backtest_34_elections": {
"baseline_poll_avg_5_mae": {
"mean_mae": 1.3,
"n": 34
},
"brier": 0.0711,
"ci95_hit": 96.9,
"mae": 1.27,
"methodology": "v4.16 — punkt=weighted-poll-avg-fenster5 (CLR-sim nur fuer verteilung/CI/sitze/koalitionen; ablation A6/A7 2026-06-10) + per-partei-sigma + party-correlation...",
"n_wahlen": 34,
"updated_at": "2026-10-18 04:30:24",
"winner_correct": 31,
"winner_total": 34
},
"out_of_sample_2026": {
"im_band": 17,
"mae": 2.17,
"sieger": 3,
"slots": 21,
"wahlen": 3
}
},
"results": {
"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
}
},
"history": {
"btw2013": {
"erst_pct": {},
"gewaehlt_partei": null,
"waehlende": 142644,
"wahlberechtigt": 198117,
"wahlbeteiligung_pct": 72,
"zweit_pct": {}
},
"btw2017": {
"erst_pct": {},
"gewaehlt_partei": null,
"waehlende": 145992,
"wahlberechtigt": 192410,
"wahlbeteiligung_pct": 75.88,
"zweit_pct": {}
},
"btw2021": {
"erst_pct": {},
"gewaehlt_partei": null,
"waehlende": 142288,
"wahlberechtigt": 185941,
"wahlbeteiligung_pct": 76.52,
"zweit_pct": {}
},
"btw2025": {
"erst_pct": {},
"gewaehlt_partei": "Sozialdemokratische Partei Deutschlands",
"waehlende": 147979,
"wahlberechtigt": 180479,
"wahlbeteiligung_pct": 81.99,
"zweit_pct": {}
}
}
},
"state": {
"government": {
"coalition": "SPD",
"head": "Anke Rehlinger",
"party": "SPD"
},
"next_state_election": {
"data_quality": "grob",
"date": "2027-04-18",
"date_status": "official",
"detail": "https://api.polls.karbach.digital/v1/elections/sl-2027",
"election": "sl-2027",
"name": "Landtagswahl Saarland",
"parties": [
{},
{}
]
}
},
"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
}
},
"docs": "https://api.polls.karbach.digital/v1/",
"model": {
"version": "4.16"
},
"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": "Forecasts carry 95 percent bands (ci_low/ci_high, ci95); direct-mandate chances come from simulation. Structure data and past results are official (Bundeswah...",
"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.1.
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/dossier'
# 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/dossier' \
| 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.1 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.1" });
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.1 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.polls.karbach.digital%2Fv1%2Fconstituencies%2F%3Anr%2Fdossier
const res = await pay("https://api.polls.karbach.digital/v1/constituencies/:nr/dossier");
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.1 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.1"})
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/dossier")
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 |
|---|---|---|---|---|
| 28 min ago | Passed | 402 | 235 ms | $0.1 |
| 5 h ago | Passed | 402 | 213 ms | $0.1 |
| 8 h ago | Passed | 402 | 239 ms | $0.1 |
| 11 h ago | Passed | 402 | 271 ms | $0.1 |
| 14 h ago | Passed | 402 | 210 ms | $0.1 |
Show 4 older checks
| 17 h ago | Passed | 402 | 498 ms | $0.1 |
| 20 h ago | Passed | 402 | 238 ms | $0.1 |
| 23 h ago | Passed | 402 | 217 ms | $0.1 |
| 32 h ago | Passed | 402 | 36 ms | $0.1 |