get_pvpc_rate
Retrieve the PVPC regulated electricity rate for a specific date and hour in Spain. Provides the official retail price for small consumers (Precio Voluntario para el Pequeño Consumidor).
Instructions
Get the PVPC regulated electricity rate at a specific time.
Returns the PVPC (Precio Voluntario para el Pequeño Consumidor) rate, which is the regulated retail electricity price for consumers in Spain.
Args: date: Date in YYYY-MM-DD format hour: Hour in HH format (00-23, default: 12)
Returns: JSON string with PVPC rate data.
Examples: Get PVPC rate at noon on Oct 8: >>> await get_pvpc_rate("2025-10-08", "12")
Get PVPC rate at midnight:
>>> await get_pvpc_rate("2025-10-08", "00")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| hour | No | 12 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |