Serie histórica
historicoPrice series of an identifier between two dates (weekly since 2017 for the Valencia region, since 2019 for the national averages and since 2005 for the Lonja de Salamanca; daily since October 2026 for diesel). If there are more points than max_puntos, it returns the most recent ones (by default 104, at most 520); the whole series is in the linked CSV. Points are figures, not weeks or days (out of season there is no price): for a period, use desde and hasta. — La serie de precios entre dos fechas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desde | No | YYYY-MM-DD, optional. | |
| hasta | No | YYYY-MM-DD, optional. | |
| serie | Yes | Series identifier (from buscar_producto). | |
| max_puntos | No | Optional: maximum number of points to return; if the range has more, the most recent ones (104 by default, at most 520). |