78trust / 100

Europe Parliament

by polls.karbach.digital in Other

x402 APIPassing, checked 1 h ago

European Parliament 2024: seats per political group, EU-wide and per country (official results). Use when asked about the European Parliament's political groups and seats. Source-attributed, German data, updated every six hours.

GET
https://api.polls.karbach.digital/v1/europe/parliament
Price
$0.02
per call in USDC
Uptime
100%
last 30 days
Response time
214 ms
255 ms slowest 5%
Last check
Passed
1 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://api.polls.karbach.digital/v1/europe/parliament

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/europe/parliament

Example response

The provider's example. We can't check it without paying.

Example response, 189 lines
{
  "data": {
    "by_country": {
      "AT": {
        "seats": 20,
        "seats_by_group": {
          "EPP": 5,
          "GREENSEFA": 2,
          "PfE": 6,
          "Renew": 2,
          "SD": 5
        }
      },
      "BE": {
        "seats": 22,
        "seats_by_group": {
          "ECR": 3,
          "EPP": 3,
          "GREENSEFA": 2,
          "PfE": 3,
          "Renew": 5,
          "SD": 4,
          "Theleft": 2
        }
      },
      "BG": {
        "seats": 17,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 6,
          "ESN": 3,
          "Renew": 5,
          "SD": 2
        }
      },
      "CY": {
        "seats": 6,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 2,
          "NI": 1,
          "SD": 1,
          "Theleft": 1
        }
      },
      "CZ": {
        "seats": 21,
        "seats_by_group": {
          "ECR": 3,
          "EPP": 5,
          "ESN": 1,
          "GREENSEFA": 1,
          "NI": 2,
          "PfE": 9
        }
      },
      "DE": {
        "seats": 96,
        "seats_by_group": {
          "EPP": 31,
          "ESN": 14,
          "GREENSEFA": 15,
          "NI": 10,
          "Renew": 8,
          "SD": 14,
          "Theleft": 4
        }
      },
      "DK": {
        "seats": 15,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 2,
          "GREENSEFA": 3,
          "PfE": 1,
          "Renew": 4,
          "SD": 3,
          "Theleft": 1
        }
      },
      "EE": {
        "seats": 7,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 2,
          "Renew": 2,
          "SD": 2
        }
      },
      "EL": {
        "seats": 21,
        "seats_by_group": {
          "ECR": 2,
          "EPP": 7,
          "NI": 4,
          "PfE": 1,
          "SD": 3,
          "Theleft": 4
        }
      },
      "ES": {
        "seats": 61,
        "seats_by_group": {
          "EPP": 22,
          "GREENSEFA": 4,
          "NI": 4,
          "PfE": 6,
          "Renew": 1,
          "SD": 20,
          "Theleft": 4
        }
      },
      "FI": {
        "seats": 15,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 4,
          "GREENSEFA": 2,
          "Renew": 3,
          "SD": 2,
          "Theleft": 3
        }
      },
      "FR": {
        "seats": 81,
        "seats_by_group": {
          "ECR": 4,
          "EPP": 6,
          "ESN": 1,
          "GREENSEFA": 5,
          "PfE": 30,
          "Renew": 13,
          "SD": 13,
          "Theleft": 9
        }
      },
      "HR": {
        "seats": 12,
        "seats_by_group": {
          "ECR": 1,
          "EPP": 6,
          "GREENSEFA": 1,
          "SD": 4
        }
      },
      "HU": {
        "seats": 21,
        "seats_by_group": {
          "EPP": 7,
          "ESN": 1,
          "PfE": 11,
          "SD": 2
        }
      }
    },
    "election": "European Parliament 2024",
    "note": "Group seats as at the constitutive session; national lists (COALITION rows) carry no group.",
    "seats_by_group": [
      {
        "group": "EPP",
        "name": "Group of the European People's Party (Christian Democrats)",
        "seats": 188,
        "seats_pct": 26.11
      },
      {
        "group": "SD",
        "name": "Group of the Progressive Alliance of Socialists and Democrats in the European Parliament",
        "seats": 136,
        "seats_pct": 18.89
      }
    ],
    "seats_total": 720
  },
  "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": {
    "european_parliament": "European Parliament, results.elections.europa.eu (official data sheets 2024-2029)",
    "indicators": "Eurostat (une_rt_m, prc_hicp_minr, nrg_pc_204, nrg_pc_202)",
    "note": "National parliamentary elections are not included yet (no current open source for all EU countries).",
    "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": null,
  "updated_at": "2026-10-18T14:35:37+00:00"
}

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/europe/parliament'

# 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/europe/parliament' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: 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%2Feurope%2Fparliament
const res = await pay("https://api.polls.karbach.digital/v1/europe/parliament");
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/europe/parliament")
    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

WhenResultHTTPTimePrice
1 h agoPassed402255 ms$0.02
5 h agoPassed402206 ms$0.02
9 h agoPassed40241 ms$0.02
12 h agoPassed402214 ms$0.02
15 h agoPassed402227 ms$0.02
Show 4 older checks
18 h agoPassed402107 ms$0.02
21 h agoPassed40246 ms$0.02
24 h agoPassed402255 ms$0.02
32 h agoPassed402220 ms$0.02