Python ESIOS
Access Spanish electricity market data with a powerful Python library and CLI. Query indicators, download archives, and analyze energy data with ease.
Key Features
Electricity Market Data
Access 600+ indicators including prices, generation, demand, and more from ESIOS/REE API
Archive Downloads
Download I90 settlement files and 150+ other archives with automatic caching
Intelligent Caching
Built-in parquet-based caching for fast data access and reduced API calls
Multi-Geography Support
Automatic pivoting and geo-name resolution for multi-country indicators
Pandas Integration
All data returned as pandas DataFrames for seamless analysis
Async & Sync Clients
Choose between synchronous ESIOSClient or async AsyncESIOSClient
CLI Tool
Command-line interface for quick data exploration and export
Offline Catalog
Browse indicators and archives offline without API calls
Quick Start
Configure your API token
Get a token from REE and configure it:
Popular Use Cases
Market Prices
Track PVPC and day-ahead electricity prices
Generation & Demand
Monitor renewable generation and electricity demand
I90 Files
Download settlement files for billing analysis
Common Indicators
| ID | Name | Description |
|---|---|---|
| 600 | PVPC | Voluntary price for small consumers |
| 1001 | Day-ahead price | OMIE spot market price |
| 10033 | Demand | Real-time electricity demand |
| 10034 | Wind generation | Real-time wind generation |
| 10035 | Solar PV generation | Real-time solar generation |
Explore all indicators
Search and discover 600+ available indicators
