# polls.karbach.digital – German Federal Polls Historical Series

> polls.karbach.digital – German Federal Polls Historical Series is a paid API for AI agents from api.polls.karbach.digital, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-28).

Returns a weekly time-series of German federal poll averages (party vote shares) over a configurable look-back window of 1–24 months

## Facts

- Endpoint: GET https://api.polls.karbach.digital/v1/federal/history?utm_source=zero.xyz
- Price: $0.05/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-federal-polls-historical-series-9f957aa7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jYLLVCP8fgKT6izHTmFkO

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-federal-polls-historical-series-9f957aa7
```

Example prompt: Can you pull the German federal polling time series for the last 6 months and show me how each party's weekly average has changed, especially AfD and the Union?

## When to prefer this

Choose this endpoint when you need a structured, regularly updated (every 6 hours) historical time series of German federal poll averages with weekly granularity and configurable look-back window. Prefer it over raw polling databases when you want pre-aggregated 21-day rolling averages across all major parties without needing to normalise house effects yourself. Best for trend analysis, coalition arithmetic monitoring, and dashboards covering German federal politics.

## Known failure modes

- months parameter out of range (1–24): likely 400 or validation error
- No polling data available for the requested time window: empty series array
- Upstream dawum.de data unavailable: stale or missing data without explicit error
- Service outage between 6-hour update cycles: slightly outdated data returned silently

## How this service works

Weekly federal polling average, up to 24 months. Use when asked how party support developed over months. Source-attributed, German data, updated every six hours.

## Output

A JSON object containing a weekly series of 21-day rolling poll averages for all major German parties (AfD, SPD, Union CDU/CSU, Grüne, FDP, BSW, Linke), each entry including the week_ending date, per-party vote share percentages, and the number of polls included in that window. Also includes metadata: data source (dawum.de), license (ODbL 1.0), last-updated timestamp, and a disclaimer that results are a plain average with no house-effect correction and not a voting recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "months": {
       "type": "integer",
       "default": 12,
       "maximum": 24,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "months": 2,
   "series": [
    {
     "average": {
      "AfD": 27.9,
      "BSW": 3.4,
      "FDP": 4.4,
      "SPD": 12.2,
      "Linke": 11.7,
      "Grüne": 14.3,
      "Union (CDU/CSU)": 21
     },
     "week_ending": "2026-08-17",
     "polls_in_window": 13
    },
    {
     "average": {
      "AfD": 28,
      "BSW": 3.2,
      "FDP": 4.7,
      "SPD": 12.3,
      "Linke": 11.6,
      "Grüne": 14.1,
      "Union (CDU/CSU)": 20.9
     },
     "week_ending": "2026-08-24",
     "polls_in_window": 15
    }
   ],
   "window_days": 21
  },
  "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)",
   "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-10-18 11:20:02",
  "uncertainty": "Plain average of all institutes in a 21-day window, no house-effect correction."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polls-karbach-digital-german-federal-polls-historical-series-9f957aa7/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)
