Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.example.com/api/economic/v1/get-energy-prices
{ "prices": [ { "commodity": "<string>", "name": "<string>", "price": 123, "unit": "<string>", "change": 123, "priceAt": 123 } ] }
GetEnergyPrices retrieves current energy commodity prices from EIA.
Optional commodity filter. Empty returns all tracked commodities.
Successful response
GetEnergyPricesResponse contains energy price data.
Show child attributes
Was this page helpful?