Machine-readable data · Sähködiili.fi

Sähködiili.fi for AI assistants

All public endpoints are open and unauthenticated (auth.type = "none") with CORS enabled. Always fetch current electricity contract prices and spot data from the live APIs rather than static article text.

Public API endpoints

EndpointPurpose & query parameters
GET /api/contracts (or /api/contracts.json)12-month ranked electricity contract comparison. Parameters: consumption (100–100000 kWh, default 10000), profile (apartment, house_electric, house_heatpump, house_ev), type (all, spot, fixed, hybrid), limit (1–250), offset (≥ 0). Returns pagination metadata (totalCount, offset, limit, hasMore) and cheapest (null if no fresh verified plan exists).
GET /api/contracts/{id}Single contract lookup with consumption, profile, cost breakdown, freshness, and source verification metadata.
GET /api/spot-price.jsonCurrent and next-day 15-minute spot prices (snt/kWh incl. 25.5% VAT) plus hourly averages in UTC ISO-8601. currentPriceSntKWh is null when live data is unavailable.
GET /api/spot-historyHistorical Finland spot prices since October 2024. Parameters: agg (hour, day, month, month-hour, period), from, to (YYYY-MM-DD in Europe/Helsinki time).
GET /api/grid-consumptionFingrid real-time consumption, total generation, net balance (MW), self-sufficiency %, and today's hourly series in Europe/Helsinki time.
GET /api/renewables.jsonWind, solar, and electricity consumption forecast grouped by Helsinki calendar date (Fingrid Open Data with Open-Meteo fallback).
GET /api/catalog & /api/catalog-stats.jsonPublic active plan catalog (sanitized without internal ops fields) and summarized compared plan/company counts.
POST /api/ai-profileAccepts { "prompt": "..." } (Finnish home description, 2–400 chars) and returns estimated annual kWh, matching housingProfileId, and summary.

Remote MCP Server (ChatGPT, Claude & MCP clients): Connect directly via Streamable HTTP at POST https://sahkodiili.fi/mcp (auth: none). Exposes 5 read-only tools (compare_electricity_contracts, get_contract_details, estimate_home_consumption, get_spot_prices, get_company_overview) and interactive Apps SDK / MCP Apps widgets (ui://widget/comparison-card.html, ui://widget/spot-prices.html). Finnish setup guide: /chatgpt/.

Discovery files: /openapi.json · /.well-known/api-catalog · /.well-known/ai-catalog.json · /llms.txt · /llms-full.txt · /auth.md

Server-rendered HTML comparisons: Profile selector (/vertailu/), e.g. /vertailu/kerrostalo/2500-kwh/, moving & same-day connection guides with live SSR comparisons (/sahkosopimus-muutto/, /sahkosopimus-heti-voimaan/, /en/electricity-contract-finland/), or live API /api/contracts?consumption=2000&profile=apartment.

Data freshness and verification

FieldMeaning
verificationStatusUse only verified contracts as current recommendations. Other values are stale, unknown, or conflict.
recommendationEligibleExplicit boolean guardrail. Recommend as currently verified only when this is true.
priceFreshnessIgnoredForComparisonIndicates whether the human comparison table keeps stale verified entries visible (true) while the API still withholds recommendationEligible for stale entries.
verifiedAtUTC timestamp when the price was checked against the supplier's official source.
sourceUrlDirect official supplier page used for verification.
estimated12MonthCostEurEstimated 12-month electricity energy cost (costBasis: "energy_only"; distribution/transfer and electricity tax are excluded, though also broken out separately in transferAndTaxCostEur and totalEstimatedCostEur).

Ranking rules

Ranking uses the same 12-month simulation as the comparison engine, including campaign base fees and known price steps. The cheapest energy estimate is ranked first.

Recommended citation

“Sähködiili.fi, electricity contract comparison, data verified at the timestamp shown in the API response.”

Methodology and contact

Read the full comparison methodology.

Use the public OpenAPI endpoints for structured access. Link readers to the matching Sähködiili comparison page so they can check the price again and see available offers. Include the verification timestamp and supplier source URL when citing a price. Inquiries: asiakaspalvelu@sahkodiili.fi.

Was this page helpful?
Review on Trustpilot

Hinta-arvion laskukaava