energy

Locate alternative-fuel stations across the US via NREL...

Locate alternative-fuel stations across the US via NREL Alternative Fuels Data Center. Search by lat/lon + radius (miles), state, or zip. Filter by fuelType (BD=Biodiesel | CNG=Compressed Natural Gas | ELEC=Electric vehicle charging | E85=Ethanol | HY=Hydrogen | LNG=Liquefied Natural Gas | LPG=Propane | RD=Renewable Diesel), status (E=Available | P=Planned | T=Temporarily Unavailable), access (public/private), and EV network. For EV chargers, returns connector types (J1772, CHAdeMO, Tesla, etc.), Level 1/2/DC-fast counts, pricing, and access hours. Indispensable for trip-planning agents, fleet logistics, EV-adoption analysis.

get/api/energy/fuel-stations

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/energy/fuel-stations
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

latnumber

Latitude in decimal degrees (WGS84).

lonnumber

Longitude in decimal degrees (WGS84).

radiusnumber

Search radius around the given point.

fuelTypestring

Fuel type.

statestring

US state — two-letter postal abbreviation (e.g. CA) or full name.

zipstring

US ZIP code.

status'all' | 'E' | 'P' | 'T'

Filter results by status.

accessCode'all' | 'public' | 'private'

Access code.

networkstring

Network.

limitinteger

Maximum number of results to return.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.