Query natural gas futures prices and weekly underground storage levels from the EIA API v2 natural-gas route

domain: api.eia.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Get a free api_key from eia.gov/opendata.
  2. Call routes ending in /data, e.g. api.eia.gov/v2/natural-gas/pri/fut/data for futures contract prices ($/MMBtu) and api.eia.gov/v2/natural-gas/stor/wkly/data for weekly Lower-48 storage estimates.
  3. Filter with facets[facetname][]=value (e.g. a series facet) and select value columns via data[].
  4. Paginate large pulls with length/offset — each call caps at 5,000 rows (300 for XML).
  5. Discover valid facet values for a route by calling it without facets first and inspecting the metadata response.

Known gotchas

Related routes

Query petroleum and natural gas price series from the EIA API v2 using route, frequency, and facets parameters
api.eia.gov · 5 steps · unrated
Query Short-Term Energy Outlook (STEO) forecast series via the EIA API v2 steo route
api.eia.gov · 5 steps · unrated
query historical daily gasoline and diesel retail prices by PADD region from the EIA API v2 petroleum/pri/gnd route
api.eia.gov · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans