Brent and TTF Energy Price API from JSON
An energy price API is a REST endpoint that returns oil, gas, power, and carbon prints as JSON. On Energy-API the Brent field is BRENT_CRUDE (USD) and Dutch TTF gas is TTF_GAS (EUR). Call GET /api/v1/latest with a comma-separated symbols list. Auth is the api_key query parameter — Bearer is not supported.
The official Latest sample is dated 2026-06-11 with Brent at 74.82 USD and TTF at 38.15 EUR. That is a docs fixture — copy the curl with your key for today’s print. If you pass base=USD, EUR symbols such as TTF_GAS and EUA_CO2 are excluded. Leave base off (the sample returns "base": "MIXED") when you need both. Docs: energy-api.com/docs. Starter is $19.99/mo (5,000 calls, 60/min, up to 5 symbols per request, 7-day trial with 50 calls).
Request: Brent, TTF, EUA, and Spanish day-ahead power
curl "https://energy-api.com/api/v1/latest?symbols=BRENT_CRUDE,TTF_GAS,EUA_CO2,OMIE_ES_DA&api_key=YOUR_KEY" \
-H "Accept: application/json"
symbols is required. Optional category filters: gas, electricity, oil, coal, carbon, carbon_intensity.
Response: rates, dates, and currencies
Envelope from the official Latest docs (sample date 2026-06-11):
{
"success": true,
"date": "2026-06-11",
"base": "MIXED",
"rates": {
"BRENT_CRUDE": 74.82,
"TTF_GAS": 38.15,
"EUA_CO2": 67.40,
"OMIE_ES_DA": 82.30
},
"dates": {
"BRENT_CRUDE": "2026-06-11",
"TTF_GAS": "2026-06-11",
"EUA_CO2": "2026-06-11",
"OMIE_ES_DA": "2026-06-11"
},
"currencies": {
"BRENT_CRUDE": "USD",
"TTF_GAS": "EUR",
"EUA_CO2": "EUR",
"OMIE_ES_DA": "EUR"
}
}
The top-level date is the most recent observation across the payload. Use dates.{SYMBOL} and currencies.{SYMBOL} per print — do not assume everything is USD. Historical example from the same docs: 2025-09-15 Brent 71.45 USD, TTF 36.20 EUR.
Go live with BRENT_CRUDE
1. Register and start the 7-day trial (50 calls). Starter is $19.99/mo after.
2. List symbols with GET /api/v1/symbols (optional category=oil or gas).
3. Call https://energy-api.com/api/v1/latest?symbols=BRENT_CRUDE,TTF_GAS&api_key=YOUR_KEY
4. Render rates.BRENT_CRUDE with currencies.BRENT_CRUDE. Do not pass base=USD if you also need TTF.
Support: [email protected].
FAQ: energy price API
What is BRENT_CRUDE vs TTF_GAS?
BRENT_CRUDE is a Brent crude print in USD. TTF_GAS is Title Transfer Facility gas in EUR. EUA_CO2 is EU Allowances in EUR. OMIE_ES_DA is the Spanish day-ahead power price in EUR.
Why did TTF disappear from my response?
You passed base=USD. Symbols whose currencies value is not USD are dropped. Omit base for a mixed-currency payload.
Is the docs sample today’s Brent?
No. The Latest sample is dated 2026-06-11 with Brent 74.82. Always hit /api/v1/latest with your key.
Starter limits?
$19.99/mo, 5,000 requests, 60/min, 5 symbols per request, timeseries up to 1 year. Trial is 7 days / 50 calls.
Ready to get started?
Get your API key and start querying energy commodity prices in minutes.
Get API KeyRelated posts
Discover how Energy API empowers local energy communities by streamlining access to market data, enabling effi...
Read more →
Discover how the Energy API transforms peer-to-peer energy trading, enhancing transparency and efficiency in d...
Read more →
Discover how Energy API empowers communities to engage in localized energy trading, enhancing sustainability a...
Read more →
Discover how Energy API transforms peer-to-peer energy trading, empowering consumers and traders with efficien...
Read more →
Unlock the potential of Energy API in decentralized energy resources. Discover essential tools for developers...
Read more →