# polls.karbach.digital Wikipedia Attention Index

> polls.karbach.digital Wikipedia Attention Index 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-27).

Returns daily Wikipedia page-view attention data for German political parties and leading election candidates across Germany, Spain, and France.

## Facts

- Endpoint: GET https://api.polls.karbach.digital/v1/attention?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polls-karbach-digital-wikipedia-attention-index-07dfcb97
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dVxOBesE_EZS9-Rkz8InR

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-wikipedia-attention-index-07dfcb97
```

Example prompt: How much Wikipedia attention has the parties_de group been getting over the last 60 days — is interest rising or falling?

## When to prefer this

Use this endpoint when you need to measure Wikipedia-derived public attention (not polling support) for German political parties or leading candidates in German, Spanish, or French elections. Prefer this over general polling APIs when the user specifically asks about public interest, media attention trends, or Wikipedia traffic — not vote-share forecasts or opinion polls.

## Known failure modes

- 503 Service Unavailable: data older than 50 hours — endpoint refuses to serve stale data
- Invalid group enum value returns a validation error
- days parameter outside 1–730 range returns a validation error
- Network/payment failure if x402 USDC payment is not completed

## How this service works

Attention from Wikipedia page views per day: German parties and the leading candidates of the next elections (Bundestag, Saarland, Schleswig-Holstein, North Rhine-Westphalia, Spain, France). Not a forecast. Use when asked how much public attention a German party or a leading candidate in Germany, Spain or France gets, or whether interest is rising. Not a measure of support. Source-attributed. Refused (503, not charged) if data is older than 50 hours.

## Output

Returns daily Wikipedia page-view counts for the requested group (political parties or election candidates), covering the requested lookback period. Data is source-attributed and guaranteed to be no older than 50 hours; if data is stale the API returns a 503. Output includes attention metrics that indicate relative public interest but explicitly not electoral support.

## 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": {
      "days": {
       "type": "integer",
       "default": 90,
       "maximum": 730,
       "minimum": 1
      },
      "group": {
       "enum": [
        "parties_de",
        "btw-2029",
        "sl-2027",
        "sh-2027",
        "nw-2027",
        "es-2026",
        "fr-2027"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polls-karbach-digital-wikipedia-attention-index-07dfcb97/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)
