Department of Energy · Example Payload

Eia Facet Response Example

Example EIA API v2 facet/filter options response

EnergyGovernmentRenewable EnergyElectricityNatural GasPetroleumSolarWindElectric VehiclesAlternative FuelsNuclearScientific Research

Eia Facet Response Example is an example object payload from Department of Energy, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionapiendpointresponse

Example Payload

Raw ↑
{
  "description": "Example EIA API v2 facet/filter options response",
  "api": "EIA Open Data API v2",
  "endpoint": "/v2/electricity/retail-sales/facet/stateid",
  "response": {
    "response": {
      "id": "stateid",
      "description": "State",
      "facets": [
        {
          "id": "AK",
          "name": "Alaska"
        },
        {
          "id": "AL",
          "name": "Alabama"
        },
        {
          "id": "AR",
          "name": "Arkansas"
        },
        {
          "id": "US",
          "name": "U.S. Total"
        }
      ]
    }
  }
}