Spanish PVPC Electricity API: Hourly PVPC as JSON
A Spanish PVPC electricity API returns the regulated Peninsula tariff for one date, hour by hour. On Energy-API that is GET https://energy-api.com/api/v1/electricity/pvpc?date=2026-06-18 with query api_key. The path is fixed to symbol PVPC_ES_2TD (ESIOS/REE indicator 1001). Fields: hours[].hour, hours[].price_eur_mwh, currency: EUR.
Starter is $19.99/mo (5,000 calls, 5 symbols, trial 7 days / 50 calls). There is no MCP. This is not the OMIE day-ahead wholesale symbol. Docs: energy-api.com/docs.
Request: official PVPC date
curl "https://energy-api.com/api/v1/electricity/pvpc?date=2026-06-18&api_key=YOUR_API_KEY"
Docs do not freeze a 24-hour price array. Live keys from the product contract: success, symbol=PVPC_ES_2TD, date, currency, hours, count. Copy the curl with your key — do not invent hourly ticks.
Sibling: official latest mix (2026-06-11)
The published electricity print on that mix is wholesale OMIE_ES_DA 82.30 EUR/MWh — a different symbol from PVPC:
{
"base": "MIXED",
"date": "2026-06-11",
"rates": {
"OMIE_ES_DA": 82.30
}
}
Do not pass base=USD when you need EUR rows.
Go live
1. Register — 7-day trial / 50 calls.
2. Copy api_key.
3. GET /electricity/pvpc with a date.
4. Chart hours[].price_eur_mwh. No MCP.
Ready to get started?
Get your API key and start querying energy commodity prices in minutes.
Get API KeyRelated posts
Discover how Energy API streamlines meter-to-bill reconciliation for utilities, automating netting, tariff rul...
Read more →
Discover how to build a peer-to-peer local energy marketplace using Energy API. Learn about settlement, order...
Read more →
Discover how to detect and investigate smart-meter tampering at scale using Energy API and graph analytics to...
Read more →
Discover how API retail tariff optimization and dynamic Time-of-Use plans can help utilities reduce customer b...
Read more →
Unlock the power of Energy API for accurate hourly Scope 2 emissions reporting. Discover how to streamline cor...
Read more →