Electricity Price API for AI Agents

LLMs hallucinate
electricity prices.
Elecz doesn't.

Not a data source — a decision layer.

Real-time electricity price API built for LLMs and AI agents. MCP-native, REST-ready. One call returns the current price, the cheapest hours, and the best available contract options — ready for EV charging, heat pumps, and home automation to act on directly.

40+ countries across Europe, Oceania, North America, Asia, and Africa. No API key required.

40+
countries
100+
zones
8
contract markets
€0
no API key
Connect in Claude → Open in ChatGPT → Connect in Grok → Connect via MCP (any client) → REST API docs

Jump to: Tools · Countries · Integrations · FAQ

Why not just ask an AI assistant?

LLMs without real-time tools are blind to energy markets. The difference between a correct and hallucinated answer is not small — it can be a factor of 200×.

❌ Without Elecz — hallucinated answer
User: "What is the electricity spot price in Germany right now?"
AI: "The electricity price in Germany is typically around 8–12 c/kWh, varying by season."

Meanwhile, the actual market right now:
0.2 c/kWh — wind oversupply, prices near zero
48 c/kWh — crisis hour, gas plants at peak

A historical average is useless for any real decision.
Plausible-sounding. Could be 240× off. No way to tell the difference.
✓ With Elecz — verified real-time answer
User: "What is the electricity spot price in Germany right now?"
AI (via Elecz): "Current spot price in Germany is 3.84 c/kWh. Today's cheapest window is 01:00–04:00. The best available contract options include a spot contract saving €340/year."
Fetched live from ENTSO-E. Verified. Actionable. Contract-aware.

Three tools. Every use case covered.

Elecz exposes three MCP tools and matching REST endpoints that cover everything an AI agent needs for electricity price decisions. Full schemas and setup in the MCP server guide and the AI agent integration guide.

spot_price
Current electricity spot price for any supported zone. Returns price, unit, timestamp, and data source. For ZA and PH, returns regulated tariff data. If the live feed is briefly unavailable, the response includes fallback: true — agents should not present this as a confirmed current price.
price, zone, currency, unit, timestamp, source, fallback
cheapest_hours
Ranked cheapest hours today and tomorrow. Includes current-hour signal, cheap window end time, and next cheap period countdown. Requires public day-ahead market data — not available for AU, NZ, KR, US-TX (ERCOT), ZA, or Philippines (PH-LUZ/PH-VIS/PH-MIN), which publish only current or regulated prices. Full field reference →
ranked_hours, current_hour_signal, cheap_window_ends, next_cheap_hour, hours_until_next_cheap
best_energy_contract
Live contract options for your zone. Returns the best spot contract, the best fixed contract, and an overall recommendation — each as a separate category. Also via REST: /signal/contract
best_spot, best_fixed, recommended, savings_estimate, provider_url
spot_price — response example (zone: US-NY-NYC)JSON
{
  "zone": "US-NY-NYC",
  "price": 4.312,
  "currency": "USD",
  "unit": "c/kWh",
  "timestamp": "2026-05-22T14:00:00Z",
  "source": "NYISO_RT",
  "fallback": false,
  "disclaimer": "NYISO real-time wholesale price. Retail rates include transmission, distribution and taxes on top."
}
cheapest_hours — response example (zone: GB)JSON
{
  "zone": "GB",
  "unit": "p/kWh",
  "current_hour_signal": "low",
  "current_hour_is_cheap": true,
  "current_hour_rank": 3,
  "cheap_window_ends": "2026-05-22T15:00:00+00:00",
  "next_cheap_hour": "2026-05-23T02:00:00+00:00",
  "hours_until_next_cheap": 11,
  "cheapest_hours": [
    { "hour": "2026-05-22T13:00", "price": 12.4, "unit": "p/kWh" },
    { "hour": "2026-05-22T14:00", "price": 13.1, "unit": "p/kWh" },
    { "hour": "2026-05-23T02:00", "price": 11.8, "unit": "p/kWh" }
  ],
  "data_complete": true
}
best_energy_contract — response example (zone: FI)JSON
{
  "signal": "elecz_contract",
  "zone": "FI",
  "currency": "EUR",
  "unit": "c/kWh",
  "spot_price": { "value": 3.84, "unit": "c/kWh" },
  "best_spot": { "provider": "tibber", "type": "dynamic", "annual_cost_estimate": 412 },
  "best_fixed": { "provider": "helen", "type": "fixed", "annual_cost_estimate": 580 },
  "recommended": { "contract": { "provider": "tibber" }, "reason": "Dynamic pricing cheaper given current market conditions." },
  "switch_recommended": true,
  "action": {
    "expected_savings_local_year": 168,
    "savings_currency": "EUR",
    "action_link": "https://elecz.com/go/tibber"
  },
  "powered_by": "Elecz.com"
}

Used in production

Elecz is live across multiple platforms and used in AI agent workflows, home automation, and energy management.

Hundreds of installs on ClawHub
Millions of requests served monthly
Live on Glama, PulseMCP, ClawHub, mcp.so, n8n, RapidAPI, ChatGPT
Appearing in Google AI Overview for targeted queries

What developers actually build with Elecz

From home automation to annual contract switching — Elecz handles the energy signal so the agent can focus on the decision.

⚡ Smart EV charging agent
Agent monitors cheapest_hours and schedules charging automatically. Runs only when price is in the bottom 20% of the day. Saves €200–€600/year on charging alone.
📋 Annual contract switcher
AI checks best_energy_contract once a month. When a better deal appears, it surfaces the recommendation with estimated savings. Average household saves €300–€1200/year on switching.
🏠 Home automation optimizer
Heat pump, dishwasher, and washing machine all defer to cheapest hours. Agent uses current_hour_signal to decide in real time — no custom logic required.
🤖 Energy-aware AI assistant
User asks "should I run the dryer now?" — agent calls spot_price and cheapest_hours, answers with a concrete yes/no and the next cheap window. Works via MCP in Claude, Grok, Copilot, ChatGPT, or any MCP-compatible assistant.

40+ countries. 5 continents.

Spot prices across Europe, Oceania, North America, Asia, and Africa. Contract comparison in 8 markets — orange dot indicates contract data available.

Nordics & Ireland
  • Finland
  • Sweden (SE1–SE4)
  • Norway (NO1–NO5)
  • Denmark (DK1, DK2)
  • Ireland
Contract comparison: FI, SE, NO, DK
Central Europe
  • Germany
  • Austria
  • France
  • Belgium
  • Netherlands
  • Switzerland
  • Poland
  • Czech Republic
  • Hungary
  • Romania
DE contract live
UK & Baltics
  • United Kingdom
  • Estonia
  • Latvia
  • Lithuania
Southern Europe
  • Spain
  • Portugal
  • Italy (6 zones)
  • Bulgaria
  • Croatia
  • Slovenia
  • Slovakia
  • Greece
  • Serbia
  • Bosnia
  • Montenegro
  • N. Macedonia
Oceania
  • Australia (5 zones)
  • New Zealand (NI + SI)
North America
  • USA — California (CAISO)
  • USA — Texas (ERCOT)
  • USA — New York (NYISO)
  • Canada — Ontario (IESO)
Asia
  • South Korea (KPX)
  • Japan — 9 zones (JEPX)
Africa & Other
  • South Africa (Eskom)
  • Philippines — 3 zones
  • Mexico — 14 zones (CENACE)
Contract comparison: AU, NZ

Add to your AI in minutes

No API key. No account. One URL. Works with any MCP-compatible AI assistant.

Claude (MCP)
Settings → Integrations → Add MCP server. Paste the URL. Works in Claude.ai and Claude Desktop.
https://elecz.com/mcp
ChatGPT
Available as a public GPT in the ChatGPT Store. Real-time electricity prices, cheapest hours, and contract options — no setup required.
chatgpt.com → search "Electricity Prices"
Open in ChatGPT →
Glama
Listed on Glama's MCP registry. One-click install for Claude Desktop, Cursor, and VS Code.
glama.ai/mcp/connectors/com.elecz/elecz
Open on Glama →
PulseMCP
Listed on PulseMCP's hand-reviewed MCP server directory.
pulsemcp.com/servers/elecz
Open on PulseMCP →
ClawHub
Hundreds of installs on ClawHub's MCP server directory.
clawhub.ai/zemloai-ctrl/elecz
Open on ClawHub →
mcp.so
Listed on mcp.so, one of the largest MCP server catalogs.
mcp.so/server/elecz/Zemlo AI
Open on mcp.so →
RapidAPI
Available on RapidAPI for REST API access.
rapidapi.com/infozemloai/api/elecz
Open on RapidAPI →
n8n
Install the official Elecz node from n8n community nodes. Spot price, cheapest hours, and contract tools available.
n8n-nodes-elecz
npm package →
REST API
Direct HTTP. No authentication. Returns JSON. Any language, any platform.
GET /signal/spot?zone=DE

Frequently asked questions

Is the Elecz electricity price API free?
Yes. Spot prices and cheapest hours are always free — no API key, no account, no registration. Contract comparison is also free.
Is there a free day-ahead electricity price API?
Yes — Elecz provides day-ahead spot prices for all 40+ supported countries. Next-day prices are available from 13:00–14:00 CET for ENTSO-E zones, ~10:30 JST for Japan (JEPX), daily for Mexico (CENACE MDA). The cheapest_hours tool includes a data_complete flag so agents know whether tomorrow's data is already in. No API key or registration required.
Why can't I just ask ChatGPT, Claude, Gemini, or Grok for the electricity price?
Large language models — ChatGPT, Claude, Gemini, Grok, Copilot, all of them — have no access to live markets. Without a real-time tool, the model will produce a historical average that looks like an answer but is not the current price. The actual spot price can be 0.0 c/kWh during renewable oversupply or 50+ c/kWh during a grid crisis — a guess is useless for any real decision. Elecz gives the AI a verified signal on every call, regardless of which assistant is asking. The Electricity Prices GPT is available directly in ChatGPT, and any MCP-compatible assistant — including Claude, Grok, and Gemini — can connect via https://elecz.com/mcp.
Does Elecz work with Grok?
Yes. Grok can connect to Elecz over MCP at https://elecz.com/mcp — no API key or account required. Once connected, Grok can call spot_price, cheapest_hours, and best_energy_contract the same way any other MCP-compatible assistant does.
Does Elecz work with Gemini?
Yes. Gemini can use Elecz through the MCP endpoint at https://elecz.com/mcp, or via the REST API for setups that don't yet support MCP. Same live spot price, cheapest hours, and contract data as every other integration — no API key needed.
Which countries does Elecz cover?
40+ countries across Europe, Oceania, North America, Asia, and Africa. Europe: all Nordic countries, Germany, UK, Ireland, France, Austria, Belgium, Netherlands, Switzerland, Poland, Czech Republic, Baltics, and Southern Europe. Oceania: Australia (5 zones) and New Zealand. North America: California (CAISO), Texas (ERCOT), New York (NYISO), and Ontario (IESO). Asia: South Korea (KPX) and Japan (JEPX, 9 zones). Africa: South Africa (Eskom regulated tariff). Also: Philippines (3 zones) and Mexico (14 CENACE zones).
Does Elecz cover South Africa, Mexico, or the Philippines?
Yes. South Africa (ZA): Eskom Homepower regulated tariff in ZAR c/kWh (VAT excl), updated annually 1 April. Philippines (PH-LUZ, PH-VIS, PH-MIN): Meralco and ERC regulated tariffs in PHP c/kWh, updated monthly. Mexico (14 zones): CENACE MDA day-ahead wholesale prices in MXN/kWh. cheapest_hours available for Mexico. ZA and PH return price_type: regulated — not spot market prices.
Is there a free electricity price API for Germany or the UK?
Yes — Elecz is free for all supported countries including Germany (DE) and the United Kingdom (GB). Spot price, cheapest hours, and contract comparison available with no API key or registration. Germany data from ENTSO-E, UK from Octopus Agile, both updated hourly.
What is MCP and why does it matter for electricity data?
MCP (Model Context Protocol) is an open standard for connecting AI agents to external tools. Electricity prices change every hour — an agent needs a live tool call, not training data. Elecz is built MCP-first: connect via https://elecz.com/mcp, no setup required. Full setup details in the MCP server guide.
How often is data updated?
Hourly for ENTSO-E zones, every 30 minutes for GB and AU/NZ, every 15 minutes for ERCOT (Texas), every 5 minutes for NYISO and IESO. Japan JEPX day-ahead prices published daily ~10:30 JST. Mexico CENACE updated daily. South Africa updated annually 1 April. Philippines updated monthly ~13th.
Which countries have contract comparison?
Finland, Sweden, Norway, Denmark, Germany, United Kingdom, Australia, and New Zealand. Each market returns the best spot contract option, best fixed contract option, and an overall recommendation. Spot-only coverage for all other countries.
Does it work with home automation?
Yes — EV charging, heat pumps, and dishwashers are primary use cases. An agent can call cheapest_hours to find the optimal run window and use current_hour_signal to decide whether to act right now. No custom logic required — the signal is already decision-ready. See the AI agent integration guide for worked examples.
Why not just fetch ENTSO-E or AEMO directly?
You can — but it takes significant work. Each market uses a different API format, authentication method, time zone, currency, and data structure. ENTSO-E alone requires XML parsing, token management, and zone mapping. AEMO, ERCOT, NYISO, JEPX, and others are all different again. Elecz normalizes 13+ data sources into a single consistent JSON schema across 100+ zones — so an agent can call one endpoint regardless of country. The contract layer and cheapest-hours signals are not available from raw market feeds at all.
Where is the full API documentation?
Full REST reference, MCP tool schemas, and integration guides at elecz.com/docs. Dedicated guides: cheapest_hours field reference, MCP server setup, AI agent integration. OpenAPI spec at github.com/zemloai-ctrl/elecz-api. Also compare electricity price APIs at BotCentrum.
real-time electricity price API electricity spot price API day-ahead electricity price API cheapest electricity hours API electricity price API no auth electricity price MCP server electricity price API for AI agents hourly electricity price API dynamic electricity tariff API electricity price API no registration EV charging price API electricity price API Europe electricity price API Africa electricity price API Mexico electricity price API Philippines South Africa electricity price API CENACE electricity API Eskom electricity API electricity price API 5 continents electricity price API for automation home automation electricity API ChatGPT electricity price

Your AI is guessing electricity prices.
Stop that.

Add Elecz in 60 seconds. No signup. No key. Real-time energy data for 40+ countries.