get_indicator_data
Retrieve historical time-series data for REE electricity indicators (demand, generation, prices) for a specified date range. Returns data with statistical summary. Requires indicator ID, start/end dates, and time granularity.
Instructions
Get time-series data for a specific electricity indicator.
Retrieves historical data for any REE indicator (demand, generation, prices, etc.) for a specified date range. Returns the data with statistical summary.
Args: indicator_id: The indicator ID (e.g., 1293 for real demand, 549 for nuclear) start_date: Start datetime in ISO format (YYYY-MM-DDTHH:MM) end_date: End datetime in ISO format (YYYY-MM-DDTHH:MM) time_granularity: Time aggregation level (raw, hour, day, fifteen_minutes)
Returns: JSON string with indicator metadata, time-series values, and statistics.
Examples: Get hourly real demand for Oct 8, 2025: >>> await get_indicator_data(1293, "2025-10-08T00:00", "2025-10-08T23:59", "hour")
Get 5-minute wind generation data:
>>> await get_indicator_data(2038, "2025-10-08T00:00", "2025-10-08T03:00", "raw")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indicator_id | Yes | ||
| start_date | Yes | ||
| end_date | Yes | ||
| time_granularity | No | raw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |