Europe Prices
by polls.karbach.digital in Onchain & crypto
Household electricity and gas prices in all EU countries (Eurostat), ranked, with change to the previous half-year. Use when comparing electricity or gas prices for households across EU countries. Source-attributed, German data, updated every six hours.
https://api.polls.karbach.digital/v1/energy/europe/prices- Price
- $0.02
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 206 ms
- 1.1 s slowest 5%
- Last check
- Passed
- 12 min ago, next in 18 min
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.polls.karbach.digital/v1/energy/europe/prices
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/energy/europe/pricesExample response
The provider's example. We can't check it without paying.
Example response, 57 lines
{
"data": {
"electricity_households": [
{
"change_pct": -4.2,
"country": "IE",
"eur_per_kwh": 0.3871,
"name": "Ireland",
"period": "2026-S1",
"rank_most_expensive": 1
},
{
"change_pct": -6.5,
"country": "DE",
"eur_per_kwh": 0.3618,
"name": "Germany",
"period": "2026-S1",
"rank_most_expensive": 2
}
],
"gas_households": [
{
"change_pct": 5.2,
"country": "SE",
"eur_per_kwh": 0.2201,
"name": "Sweden",
"period": "2026-S1",
"rank_most_expensive": 1
},
{
"change_pct": -5.4,
"country": "NL",
"eur_per_kwh": 0.1622,
"name": "Netherlands",
"period": "2026-S1",
"rank_most_expensive": 2
}
],
"note": "Household prices incl. all taxes and levies. Electricity band 2,500 to 4,999 kWh/year, gas band 20 to 199 GJ/year. Aggregates like EU27 appear as their own r..."
},
"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": {
"energy_europe": "Eurostat (nrg_pc_204, nrg_pc_202)",
"energy_europe_license": "Eurostat reuse policy, attribution required",
"energy_germany": "SMARD.de, Bundesnetzagentur",
"energy_germany_license": "CC BY 4.0",
"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:31:14+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/energy/europe/prices'
# 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/energy/europe/prices' \
| 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.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%2Fenergy%2Feurope%2Fprices
const res = await pay("https://api.polls.karbach.digital/v1/energy/europe/prices");
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/energy/europe/prices")
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 |
|---|---|---|---|---|
| 12 min ago | Passed | 402 | 206 ms | $0.02 |
| 4 h ago | Passed | 402 | 225 ms | $0.02 |
| 8 h ago | Passed | 402 | 206 ms | $0.02 |
| 11 h ago | Passed | 402 | 1.1 s | $0.02 |
| 14 h ago | Passed | 402 | 191 ms | $0.02 |
Show 4 older checks
| 17 h ago | Passed | 402 | 216 ms | $0.02 |
| 20 h ago | Passed | 402 | 208 ms | $0.02 |
| 23 h ago | Passed | 402 | 123 ms | $0.02 |
| 32 h ago | Passed | 402 | 160 ms | $0.02 |