Learn how to discover and search for specific indicators in the ESIOS catalog
The ESIOS API provides access to hundreds of energy market indicators. This guide shows you how to explore the catalog and find the indicators you need.
Retrieve the complete catalog of available indicators:
from esios import ESIOSClientclient = ESIOSClient(token="your_api_key")# Get all indicators as a DataFrameindicators = client.indicators.list()print(f"Total indicators: {len(indicators)}")print(indicators.head())
The catalog is cached locally for 24 hours by default, so subsequent calls are fast and don’t hit the API.
Use the search() method to find indicators by name (case-insensitive substring match):
# Find all price-related indicatorsprice_indicators = client.indicators.search("precio")print(price_indicators[["name", "short_name"]])
The search method looks for matches in the indicator name field, supporting partial matches. For example, searching for “pvpc” will find all PVPC tariff indicators.
Filter and sort the catalog to find relevant indicators:
import pandas as pd# Get full catalogdf = client.indicators.list()# Show indicators with 'price' in nameprice_df = df[df['name'].str.contains('precio', case=False, na=False)]# Sort by IDprice_df_sorted = price_df.sort_index()print(price_df_sorted[['name', 'short_name']].head(10))