# polls.karbach.digital German State Governments

> polls.karbach.digital German State Governments is a paid API for AI agents from api.polls.karbach.digital, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Returns the current coalition governments and heads of government for all 16 German federal states plus the federal government, based on Monte-Carlo election simulation.

## Facts

- Endpoint: GET https://api.polls.karbach.digital/v1/governments?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polls-karbach-digital-german-state-governments-1339a669
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NrA7l-khcTAT9ZXLsiFDx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polls-karbach-digital-german-state-governments-1339a669
```

Example prompt: Who is currently heading the government in each German state, and what coalitions are they running — and who leads the federal government right now?

## When to prefer this

Use this endpoint when you need a structured, up-to-date snapshot of all German state and federal governments in a single call, especially when you need Wikidata-linked head-of-government identifiers or coalition strings. Prefer this over scraping Wikipedia or news sources when you need machine-readable, regularly refreshed data. Best for political dashboards, journalistic tools, or agents reasoning about German political geography.

## Known failure modes

- Network or server timeout if the API is temporarily unavailable
- Stale data if the 6-hour refresh cycle has not yet incorporated a very recent election result
- Coalition labels reflect arithmetic poll-based simulation only, not officially sworn-in governments — may diverge from real-world situation immediately after an election
- No filtering parameters available; always returns all states

## How this service works

Who governs federally and in each of the 16 states: coalition, head of government, since when. Use when asked who governs in Germany or a German state. Source-attributed, German data, updated every six hours.

## Output

A JSON object containing a list of all 16 German states with their current head of government (name, party, Wikidata ID, start date) and ruling coalition string, plus a federal-level entry with the current chancellor, coalition, and a note on the government type. Also includes data source attribution, last update timestamp, and a disclaimer that coalitions are arithmetic majorities from simulation, not formal political agreements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "states": [
    {
     "head": "Dietmar Woidke",
     "party": "SPD",
     "since": "2026-03-18",
     "state": "BB",
     "coalition": "SPD + CDU",
     "head_wikidata": "Q99660"
    },
    {
     "head": "Kai Wegner",
     "party": "CDU",
     "since": null,
     "state": "BE",
     "coalition": "CDU + SPD",
     "head_wikidata": "Q1721361"
    }
   ],
   "federal": {
    "mp": "Friedrich Merz",
    "note": "Große Koalition",
    "coalition": "CDU/CSU + SPD"
   }
  },
  "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...",
  "source": {
   "polls": "dawum.de",
   "processing": "polls.karbach.digital (Max Karbach)",
   "governments": "polls.karbach.digital, heads of government cross-checked with Wikidata (CC0)",
   "polls_license": "ODbL 1.0",
   "polls_license_url": "https://opendatacommons.org/licenses/odbl/1-0/"
  },
  "project": "Ein Projekt von Karbach.Digital (https://karbach.digital)",
  "updated_at": "2026-07-25",
  "uncertainty": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polls-karbach-digital-german-state-governments-1339a669/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polls.karbach.digital](https://www.zero.xyz/host/api.polls.karbach.digital/llms.txt)
