DataHub API | Instructions
This page documents the API that provides information on electricity and gas data presented on the website https://datahub.ren.pt.
The information provided by the API is in JSON format.
GAS DATA
DAILY BALANCE
Data regarding the daily results of gas consumption and supply.
Required parameters: Culture, Date
- Daily consumption - https://servicebus.ren.pt/datahubapi/gas/GasConsumptionSupplyDaily
Example: https://servicebus.ren.pt/datahubapi/gas/GasConsumptionSupplyDaily?culture=en-US&date=2025-01-25
- Daily consumption breakdown - https://servicebus.ren.pt/datahubapi/gas/GasConsumptionBreakdownDaily
Example: https://servicebus.ren.pt/datahubapi/gas/GasConsumptionBreakdownDaily?culture=en-US&date=2025-01-25
- Daily RNTG balance - https://servicebus.ren.pt/datahubapi/gas/GasRNTGBalanceDaily
Example: https://servicebus.ren.pt/datahubapi/gas/GasRNTGBalanceDaily?culture=en-US&date=2025-01-25
- Daily LNG Terminal balance - https://servicebus.ren.pt/datahubapi/gas/GasLNGTerminalBalanceDaily
Example: https://servicebus.ren.pt/datahubapi/gas/GasLNGTerminalBalanceDaily?culture=en-US&date=2025-01-25
- Daily underground storage balance - https://servicebus.ren.pt/datahubapi/gas/GasUndergroundStorageBalanceDaily
MONTHLY BALANCE
Data regarding the monthly results of gas consumption and supply.
Required parameters: Culture; Year; Month
- Monthly consumption - https://servicebus.ren.pt/datahubapi/gas/GasConsumptionSupplyMonthly
- Monthly RNTG balance - https://servicebus.ren.pt/datahubapi/gas/GasRNTGBalanceMonthly
Example: https://servicebus.ren.pt/datahubapi/gas/GasRNTGBalanceMonthly?culture=en-US&year=2025&month=01
- Monthly LNG Terminal balance - https://servicebus.ren.pt/datahubapi/gas/GasLNGTerminalBalanceMonthly
- Monthly underground storage balance - https://servicebus.ren.pt/datahubapi/gas/GasUndergroundStorageBalanceMonthly
- Monthly supply breakdown - https://servicebus.ren.pt/datahubapi/gas/GasBreakdownOfSupplyMonthly
CONSUMPTION EVOLUTION
Data regarding the evolution of gas consumption throughout the year.
Required parameters: Culture; Year
- Consumption variation - https://servicebus.ren.pt/datahubapi/gas/GasConsumptionVariationYearly
Example: https://servicebus.ren.pt/datahubapi/gas/GasConsumptionVariationYearly?culture=en-US&year=2024
MARKET
Data regarding the evolution of the gas market.
Required parameters: Culture; Year; Month
- Daily market prices - https://servicebus.ren.pt/datahubapi/gas/GasMarketPricesDaily
Example: https://servicebus.ren.pt/datahubapi/gas/GasMarketPricesDaily?culture=en-US&year=2025&month=01
- Monthly average values - https://servicebus.ren.pt/datahubapi/gas/GasMarketPricesMonthly
Example: https://servicebus.ren.pt/datahubapi/gas/GasMarketPricesMonthly?culture=en-US&year=2025&month=01
ELECTRICITY DATA
DAILY BALANCE
Data regarding the daily results of electricity consumption and supply.
Required parameters: Culture; Date
- Energy balance - https://servicebus.ren.pt/datahubapi/electricity/ElectricityConsumptionSupplyDaily
- Production breakdown - https://servicebus.ren.pt/datahubapi/electricity/ElectricityProductionBreakdownDaily
MONTHLY BALANCE
Data regarding the monthly results of electricity consumption and supply.
Required parameters: Culture; Year; Month
- Energy balance - https://servicebus.ren.pt/datahubapi/electricity/ElectricityConsumptionSupplyMonthly
- Installed power - https://servicebus.ren.pt/datahubapi/electricity/ElectricityInstalledPowerMonthly
CONSUMPTION EVOLUTION
Data regarding the evolution of electricity consumption throughout the year.
Required parameters: Culture; Year
- Consumption variation - https://servicebus.ren.pt/datahubapi/electricity/ElectricityConsumptionVariationYearly
MARKET
Data regarding the evolution of the electricity market.
- Daily market prices - https://servicebus.ren.pt/datahubapi/electricity/ElectricityMarketPricesDaily
Required parameters: Culture; Date
- Monthly average values - https://servicebus.ren.pt/datahubapi/electricity/ElectricityMarketPricesMonthly
Required parameters: Culture; Year; Month