Firecrawl Alexandria

US Energy Information Administration

Discover EIA energy data routes, enumerate facet values and retrieve energy observations with source units and labels.

13 Firecrawl tools use US Energy Information Administration

Try US Energy Information Administration now.

Choose an example or ask your own question.

US Energy Information Administration
TRY ASKING
1Request
stringRequired

Frequency id from the route metadata: annual, quarterly, monthly, weekly, daily, hourly or local-hourly.

stringRequired

Route path with data, such as `petroleum/pri/spt` (do not append `/data`).

string

Registered EIA API key. Omitted, the public data-browser key is discovered live (see `routes`).

string

`next_cursor` from the previous page (a row offset). Omit for the first page.

string[]

Data columns to return, from the route's `data_columns`. Defaults to ["value"]. Separate values with commas.

object

Facet filters: facet id to list of codes, e.g. {"series": ["RWTC"]} or {"stateid": ["CA"], "sectorid": ["RES"]}.

number

Rows per page; the API caps a page at 5000 rows.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "eia-gov",
    capability: "energy-data/data",
    options: {
      facets: {
        series: [
          "RWTC",
        ],
      },
      frequency: "daily",
      page_size: 3,
      route: "petroleum/pri/spt",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from US Energy Information Administration.

{
  "api_version": "2.1.13",
  "complete": true,
  "count": 3,
  "data_columns": [
    {
      "aggregation_method": null,
      "alias": "value",
      "id": "value",
      "units": null
    }
  ],
  "date_format": "YYYY-MM-DD",
  "frequency": "daily",
  "next_cursor": "3",
  "observed_at_ms": 1789110000000,
  "offset": 0,
  "page_size": 3,
  "records": [
    {
      "attributes": {},
      "facets": {
        "duoarea": {
          "code": "YCUOK",
          "name": "NA"
        },
        "process": {
          "code": "PF4",
          "name": "Spot Price FOB"
        },
        "product": {
          "code": "EPCWTI",
          "name": "WTI Crude Oil"
        },
        "series": {
          "code": "RWTC",
          "name": "Cushing, OK WTI Spot Price FOB (Dollars per Barrel)"
        }
      },
      "frequency": "daily",
      "id": "2026-09-09|YCUOK|EPCWTI|PF4|RWTC",
      "period": "2026-09-09",
      "route": "petroleum/pri/spt",
      "series_id": "RWTC",
      "source_url": "https://api.eia.gov/v2/petroleum/pri/spt/data/?frequency=daily&data%5B0%5D=value&facets%5Bseries%5D%5B%5D=RWTC&sort%5B0%5D%5Bcolumn%5D=period&sort%5B0%5D%5Bdirection%5D=desc&offset=0&length=3",
      "units": {
        "value": "$/BBL"
      },
      "values": {
        "value": "97.26"
      }
    },
    {
      "attributes": {},
      "facets": {
        "duoarea": {
          "code": "YCUOK",
          "name": "NA"
        },
        "process": {
          "code": "PF4",
          "name": "Spot Price FOB"
        },
        "product": {
          "code": "EPCWTI",
          "name": "WTI Crude Oil"
        },
        "series": {
          "code": "RWTC",
          "name": "Cushing, OK WTI Spot Price FOB (Dollars per Barrel)"
        }
      },
      "frequency": "daily",
      "id": "2026-09-08|YCUOK|EPCWTI|PF4|RWTC",
      "period": "2026-09-08",
      "route": "petroleum/pri/spt",
      "series_id": "RWTC",
      "source_url": "https://api.eia.gov/v2/petroleum/pri/spt/data/?frequency=daily&data%5B0%5D=value&facets%5Bseries%5D%5B%5D=RWTC&sort%5B0%5D%5Bcolumn%5D=period&sort%5B0%5D%5Bdirection%5D=desc&offset=0&length=3",
      "units": {
        "value": "$/BBL"
      },
      "values": {
        "value": "94.21"
      }
    },
    {
      "attributes": {},
      "facets": {
        "duoarea": {
          "code": "YCUOK",
          "name": "NA"
        },
        "process": {
          "code": "PF4",
          "name": "Spot Price FOB"
        },
        "product": {
          "code": "EPCWTI",
          "name": "WTI Crude Oil"
        },
        "series": {
          "code": "RWTC",
          "name": "Cushing, OK WTI Spot Price FOB (Dollars per Barrel)"
        }
      },
      "frequency": "daily",
      "id": "2026-09-04|YCUOK|EPCWTI|PF4|RWTC",
      "period": "2026-09-04",
      "route": "petroleum/pri/spt",
      "series_id": "RWTC",
      "source_url": "https://api.eia.gov/v2/petroleum/pri/spt/data/?frequency=daily&data%5B0%5D=value&facets%5Bseries%5D%5B%5D=RWTC&sort%5B0%5D%5Bcolumn%5D=period&sort%5B0%5D%5Bdirection%5D=desc&offset=0&length=3",
      "units": {
        "value": "$/BBL"
      },
      "values": {
        "value": "92.69"
      }
    }
  ],
  "retrieved_at": "2026-09-11T07:00:00Z",
  "route": "petroleum/pri/spt",
  "route_period_range": {
    "end": "2026-09-04",
    "start": "1986-01-03"
  },
  "schema_version": "1.0.0",
  "source_updated_at": null,
  "source_url": "https://api.eia.gov/v2/petroleum/pri/spt/data/?frequency=daily&data%5B0%5D=value&facets%5Bseries%5D%5B%5D=RWTC&sort%5B0%5D%5Bcolumn%5D=period&sort%5B0%5D%5Bdirection%5D=desc&offset=0&length=3",
  "total": 10245,
  "warnings": [
    "incomplete return: The API can only return 5000 rows in JSON format.  Please consider constraining your request with facet, start, or end, or using offset to paginate results."
  ]
}

Firecrawl tools

13

Ready-made Firecrawl tools that call US Energy Information Administration.

Skills

Official skills using US Energy Information Administration

Fleet EV transition fit checkUse when a fleet manager for a delivery, field-service or municipal fleet is deciding whether to replace part of the fleet with electric vehicles at one depot. Prices commercial electricity in the state, maps public chargers near the depot, checks safety ratings and recalls for candidate EVs, and prices used EVs available now, returning a go, pilot or wait call.

For one depot and one vehicle class. The EV case rests on local electricity cost, chargers within reach for top-ups, and models that are safe and actually purchasable.

1. Price the energy

  1. Pull Data on route electricity/retail-sales, monthly, data column price, facet stateid for the depot's state and sectorid COM, last 24 months. Note level and trend in cents per kWh.

2. Map public charging

  1. Geocode the depot with Geocode.

  2. Search Search elements with tags amenity=charging_station around the depot (for example 10 km). Read socket and capacity tags where present to separate fast DC from slow AC.

3. Vet the models

  1. For each candidate EV, read Safety ratings and Vehicle recalls, and scan Vehicle complaints for battery, charging and loss-of-power complaints.

4. Price acquisition

  1. Search Search inventory with fuel_type electric near the depot ZIP for ex-rental EVs, a fast low-cost pilot source. Note price, mileage and count.

Write the fit check

  • Energy: commercial price and trend.

  • Charging: public chargers within range, fast versus slow.

  • Models: ratings, open recalls and complaint themes for each candidate.

  • Acquisition: used EV availability and price.

  • Call: go, pilot (how many, which model), or wait, with the deciding factor.

  • Caveats: the user's duty cycle and depot charging plan decide final fit; OSM charger data is community-mapped.

  • Sources: cite EIA periods, OSM element ids, NHTSA campaign numbers and VINs. Say what could not be found.

View skill
Diesel procurement hedge checkUse when a fuel procurement manager for a trucking or delivery fleet is deciding whether to lock in diesel prices. Reads retail diesel by region, distillate inventories, the ULSD futures curve and fund positioning, then sets out whether the market looks tight and what locking in now would mean against the curve.

For the fleet's fuelling regions. EIA area codes from step 1 carry into the stocks read.

1. Pump prices

  1. Pull weekly retail diesel for the US and your PADD regions from route petroleum/pri/gnd with Data (find area codes with Facet values). Compare with the same weeks last year.

2. Supply

  1. Pull distillate stocks for the same regions from the weekly stocks route with Data and compare with last year.

3. Forward prices

  1. Find NY Harbor ULSD futures with Product search and read Futures settlements for the next 12 months.

  2. Read volume and open interest with Futures volume to see where liquidity sits.

4. Positioning

  1. Find the ULSD market code with Markets and read managed money positions with Disaggregated combined.

Write the hedge check

  • Prices: pump price by region versus last year; futures strip.

  • Supply: distillate stocks versus last year.

  • Funds: positioning direction.

  • Choices: lock a share now, layer monthly or stay floating, with what each means against the curve. Not trading advice.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Gas storage weather checkUse when a natural gas trader or utility gas buyer, before or after the weekly EIA storage report, asks whether storage is tight going into heating season. Compares the weekly storage build with last year, reads the cold in the forecast for big consuming cities, the futures strip and fund positioning, and gives a balanced view on price risk.

For the current report week. Storage numbers from step 1 frame how much a cold forecast matters.

1. Storage versus history

  1. From natural-gas/stor/wkly (find facets with Facet values), pull Lower 48 working gas for the last ten weeks and the same weeks last year with Route data. Report the latest level, the weekly change and the gap to last year.

2. Demand coming

  1. For three big heating markets (for example Chicago, New York, Boston), read seven-day highs and lows with Forecast daily. Compute rough heating degree days against 65F.

  2. Compare those cities' forecast lows with the month's normal from Climate normals.

3. What the market prices

  1. Find Henry Hub natural gas futures with Product search, then read the strip with Futures settlements. Note the winter months premium over the front month.

  2. Read managed-money net positions for natural gas from Disaggregated combined (find the code with Markets).

Write the check

  • Storage: level, weekly change, gap to last year.

  • Weather: forecast HDDs by city versus normal.

  • Market: winter premium and fund positioning.

  • Balance: whether weather, storage and positioning point the same way. Not trading advice.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Heating oil dealer winter buying planUse when a heating oil or propane distributor is deciding how much winter supply to buy forward and when. Reads residential heating oil and propane prices, regional distillate stocks, how cold the service area normally gets and the coming forecast, and the heating oil futures curve, then frames the buying decision.

For one service area and the coming heating season. EIA facet codes from step 1 carry into later reads.

1. Retail and wholesale prices

  1. Find the weekly heating oil and propane price route with Routes (path petroleum/pri) and the state codes with Facet values.

  2. Pull residential heating oil and propane prices for your state for this and last season with Data (weekly).

2. Supply

  1. Pull distillate stocks for your PADD from the weekly stocks route (petroleum/stoc) with Data, compared with the same weeks last year.

3. Demand

  1. Read Climate normals (T2M) for the service area to see how cold each winter month normally is.

  2. Read Forecast daily for the next week and estimate heating degree days against 65F.

4. Forward prices

  1. Find NY Harbor ULSD futures with Product search and read Futures settlements for the winter months.

Write the buying plan

  • Prices: retail now versus last season; winter futures strip.

  • Supply: regional stocks versus last year.

  • Demand: normal winter cold and the near-term forecast.

  • Options: buy forward now, layer purchases or wait, with the trade-offs. Not trading advice.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Power price spike explainerUse after a US wholesale power price or demand spike when an energy trader, utility analyst or large buyer asks what caused it. Lines up hourly grid demand and fuel mix for the balancing authority with observed weather, the gas price that day and fund positioning in gas futures, and returns a ranked set of drivers with the numbers behind each.

For one balancing authority (for example ERCO, PJM, CISO) and one spike date. Every later step uses the same date window.

1. What the grid did

  1. Find the hourly grid routes with Routes starting at electricity/rto, then pull demand and day-ahead forecast for the respondent with Route data (frequency hourly, three days either side of the spike).

  2. Pull generation by fuel type for the same hours from the fuel-type route. Note what fell (wind, solar, a thermal unit) and what filled the gap.

2. Weather behind the demand

  1. Take one or two load-centre coordinates in the region and read observed highs and lows with Daily weather history. Compare with the month's baseline from Climate normals.

3. Fuel cost behind the price

  1. Read the Henry Hub spot price for the window with Route data (natural-gas price route found via routes). A gas move explains a price spike without any grid stress.

  2. Find the natural gas contract code with Markets and read the latest weeks of Disaggregated futures only: managed-money net position and its weekly change.

Write the explainer

  • Timeline: hour by hour demand versus forecast, the fuel that dropped and the fuel that replaced it.

  • Drivers ranked: forecast error, weather anomaly, renewable shortfall, gas price, positioning, each with its figure.

  • One-line cause: the driver that explains most of the move.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Show all 13 skills
Weekly crude balance and positioningUse when a crude oil trader or oil analyst is reading the weekly EIA petroleum status numbers and wants them in one view with prices and positioning. Reads commercial and Cushing crude stocks against last year, WTI and Brent spot, the futures curve shape and managed money positions, then says whether the data and positioning agree.
Fertilizer-to-grain affordability checkUse before booking fall or spring fertilizer when a farmer, co-op agronomist or ag lender asks whether nitrogen is cheap or dear relative to the crop it grows. Reads the fertilizer producer price index, the natural gas price that drives nitrogen cost, and the grain futures strip, and reports the price ratio and its trend with a buy-now or wait lean.
Hurricane Gulf Coast fuel supply riskUse when an active Atlantic storm threatens the US Gulf Coast and a fuel trader, distributor or fleet manager needs to know what it could do to gasoline and diesel supply. Maps the forecast track, then reads Gulf Coast refinery runs, inventories and spot prices plus fund positioning, and returns a supply-risk brief with the exposed numbers.
Rooftop solar payback screenUse when a solar installer, commercial property owner or energy consultant wants a quick payback screen for a rooftop system at one US address before a site visit. Reads long-run sunshine at the site, the state's retail electricity price for the customer class, hazard exposure that affects insurance, and local income for residential demand, then gives a payback range with every input sourced.
Drought hydro shortfall checkUse when a power trader, utility planner or industrial buyer in a hydro-heavy region (US Pacific Northwest, Brazil, Norway) worries that a dry season will cut hydro output and raise prices. Measures the precipitation and soil moisture deficit in the basin, reads recent hydro generation, and checks retail or national price data, returning a shortfall brief.
Heat wave peak load checkUse when a utility load forecaster or grid operations planner needs to check a coming heat wave against recent demand and history. Reads the hourly forecast and heat alerts for the service area, recent and last-year temperatures, the balancing authority's daily demand from EIA and the climate normal, then flags peak risk days.
Municipal energy upgrade prospect listUse when an energy services company business developer is building a prospect list of cities and counties likely to fund efficiency or solar upgrades. Reads recent federal energy awards to local governments, open grant programmes they could apply for, local commercial electricity prices and population, then ranks prospects.
Country elevator bid sheet checkUse when a grain merchandiser at a country elevator is setting the daily cash bid and basis for corn or soybeans. Reads nearby and new-crop futures settlements and volume, fund positioning, rainfall in the draw area that affects harvest pace, and diesel prices that drive trucking cost, then explains where basis should sit.

Quality, speed and cost, last 24 hours, across every agent call to US Energy Information Administration through Alexandria.

Quality
100%
Calls answered without a tool error
Speed
15.9 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
38
Last 24 hours, every Alexandria user
Browse the library
//
Get started
//
Give your agent US Energy Information Administration.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options