Department of Energy EMISS API

Access to CO2 Emissions Data

GitHub OpenAPI

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2/co2-emissions/co2-emissions-aggregates/facet/{facet_id} Get CO2 emissions by facet · Get co2 emissions co2 emissions aggregates facet by facet id #
Ask an LLM
“What are the CO2 emissions aggregates for a facility or source facet?”
“How do I look up carbon emissions for one facet?”
Tell an agent
Get CO2 emissions aggregates for facet {facet_id}.
Show carbon emissions totals by facility facet {facet_id}.
GET /v2/co2-emissions/co2-emissions-and-carbon-coefficients/facet/{facet_id} Get CO2 emissions and carbon coefficients by facet · Get co2 emissions co2 emissions and carbon coefficients facet by facet id #
Ask an LLM
“What are the emissions plus carbon coefficients for a specific facet?”
“Can I view both emissions and emission factors for one facet?”
Tell an agent
Get CO2 emissions and carbon coefficients for facet {facet_id}.
Show emissions and carbon factor values by facility facet {facet_id}.
GET /v2/co2-emissions/co2-emissions-aggregates List CO2 emissions aggregates · Get co2 emissions co2 emissions aggregates #
Ask an LLM
“What are the CO2 emissions aggregates for all facets?”
“Can I get a list of CO2 emissions aggregates?”
Tell an agent
List CO2 emissions aggregates.
Show CO2 emissions aggregates for all facets.
GET /v2/co2-emissions/co2-emissions-aggregates/facet List facets for CO2 emissions aggregates · Get co2 emissions co2 emissions aggregates facet #
Ask an LLM
“Which facets can I break CO2 emissions aggregates down by?”
“What facet values exist for CO2 emissions aggregates?”
Tell an agent
List facets for CO2 emissions aggregates.
Show the facet options for CO2 emissions aggregates.
GET /v2/co2-emissions/co2-emissions-aggregates/data Query CO2 emissions aggregates data · Get co2 emissions co2 emissions aggregates data #
Ask an LLM
“How much CO2 did I emit in a given period?”
“Can I filter CO2 emissions aggregates by date range and frequency?”
Tell an agent
Get CO2 emissions aggregates data from {start} to {end}.
Show CO2 emissions aggregates for {facets} at {frequency} frequency.
POST /v2/co2-emissions/co2-emissions-aggregates/data Query CO2 emissions aggregates data with a POST body · Return co2-emissions-aggregates Data #
Ask an LLM
“Can I send a complex CO2 emissions aggregates query in a POST body?”
“Is there a POST endpoint for CO2 emissions aggregates data?”
Tell an agent
Post a CO2 emissions aggregates query with facets {facets}.
Send a CO2 emissions aggregates query body to get data for {facets}.
GET /v2/co2-emissions/co2-emissions-and-carbon-coefficients List CO2 emissions and carbon coefficients · Get co2 emissions co2 emissions and carbon coefficients #
Ask an LLM
“What are the CO2 emissions and carbon coefficients for all facets?”
“Can I get both emissions and coefficients together?”
Tell an agent
List CO2 emissions and carbon coefficients.
Show CO2 emissions and carbon coefficients for all facets.
GET /v2/co2-emissions/co2-emissions-and-carbon-coefficients/facet List facets for CO2 emissions and coefficients · Get co2 emissions co2 emissions and carbon coefficients facet #
Ask an LLM
“Which facets can I break CO2 emissions and coefficients down by?”
“What facet values exist for CO2 emissions and coefficients?”
Tell an agent
List facets for CO2 emissions and carbon coefficients.
Show the facet options for CO2 emissions and coefficients.
GET /v2/co2-emissions/co2-emissions-and-carbon-coefficients/data Query CO2 emissions and coefficients data · Get co2 emissions co2 emissions and carbon coefficients data #
Ask an LLM
“What were my CO2 emissions and carbon coefficients in a given period?”
“Can I filter CO2 emissions and coefficients by date range and frequency?”
Tell an agent
Get CO2 emissions and coefficients data from {start} to {end}.
Show CO2 emissions and coefficients for {facets} at {frequency} frequency.
POST /v2/co2-emissions/co2-emissions-and-carbon-coefficients/data Query CO2 emissions and coefficients data with a POST body · Return co2-emissions-and-carbon-coefficients Data #
Ask an LLM
“Can I send a complex CO2 emissions and coefficients query in a POST body?”
“Is there a POST endpoint for CO2 emissions and coefficients data?”
Tell an agent
Post a CO2 emissions and coefficients query with facets {facets}.
Send a CO2 emissions and coefficients query body to get data for {facets}.
GET /v2/co2-emissions List CO2 emissions data · Class CO2EmissionsController #
Ask an LLM
“What is the top-level CO2 emissions dataset?”
“Can I get CO2 emissions data for all facets at once?”
Tell an agent
List CO2 emissions data.
Show the top-level CO2 emissions dataset.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/doe:doe-emiss-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

doe-emiss-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EIA APIv2 EMISS API
  description: Swagger UI interface for EIA's APIv2. You can also explore EIA's API using the Opendata Query Browser. For this UI, you must use your EIA `api key` to apply filters and return data. You can register for an API Key at https://www.eia.gov/opendata/
  version: 2.1.0
servers:
- url: https://api.eia.gov
security:
- api_key: []
tags:
- name: EMISS
  description: Access to CO2 Emissions Data
paths:
  /v2/co2-emissions/co2-emissions-aggregates/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - EMISS
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get co2 emissions co2 emissions aggregates facet by facet id
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAggregatesFacetByFacetId
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-and-carbon-coefficients/facet/{facet_id}:
    parameters:
    - $ref: '#/components/parameters/facetId'
    get:
      tags:
      - EMISS
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facet'
      summary: Get co2 emissions co2 emissions and carbon coefficients facet by facet id
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAndCarbonCoefficientsFacetByFacetId
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-aggregates:
    get:
      tags:
      - EMISS
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get co2 emissions co2 emissions aggregates
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAggregates
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-aggregates/facet:
    get:
      tags:
      - EMISS
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get co2 emissions co2 emissions aggregates facet
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAggregatesFacet
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-aggregates/data:
    get:
      tags:
      - EMISS
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get co2 emissions co2 emissions aggregates data
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAggregatesData
      x-operation-id-source: derived
    post:
      tags:
      - EMISS
      summary: Return co2-emissions-aggregates Data
      description: 'Class CO2EmissionsAggregatesController


        CO2 Emissions Aggregates data set controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2Co2EmissionsCo2EmissionsAggregatesData
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-and-carbon-coefficients:
    get:
      tags:
      - EMISS
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/final-route'
      summary: Get co2 emissions co2 emissions and carbon coefficients
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAndCarbonCoefficients
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-and-carbon-coefficients/facet:
    get:
      tags:
      - EMISS
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/facets'
      summary: Get co2 emissions co2 emissions and carbon coefficients facet
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAndCarbonCoefficientsFacet
      x-operation-id-source: derived
  /v2/co2-emissions/co2-emissions-and-carbon-coefficients/data:
    get:
      tags:
      - EMISS
      description: API data with query params
      parameters:
      - $ref: '#/components/parameters/data'
      - $ref: '#/components/parameters/facets'
      - $ref: '#/components/parameters/frequency'
      - $ref: '#/components/parameters/start'
      - $ref: '#/components/parameters/end'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/length'
      - $ref: '#/components/parameters/offset'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      summary: Get co2 emissions co2 emissions and carbon coefficients data
      x-summary-source: derived
      operationId: getV2Co2EmissionsCo2EmissionsAndCarbonCoefficientsData
      x-operation-id-source: derived
    post:
      tags:
      - EMISS
      summary: Return co2-emissions-and-carbon-coefficients Data
      description: 'Class CO2EmissionsAndCarbonCoefficientsController


        CO2 Emissions Aggregates data set controller.'
      requestBody:
        $ref: '#/components/requestBodies/dataParams'
      responses:
        '400':
          description: Invalid input
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/data'
      operationId: postV2Co2EmissionsCo2EmissionsAndCarbonCoefficientsData
      x-operation-id-source: derived
  /v2/co2-emissions:
    get:
      tags:
      - EMISS
      summary: Class CO2EmissionsController
      description: CO2 Emissions data set top-level controller.
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/responses/route'
      operationId: getV2Co2Emissions
      x-operation-id-source: derived
components:
  schemas:
    DataResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/DataResponse'
      type: object
    Frequency:
      properties:
        id:
          type: string
        description:
          type: string
        format:
          type: string
        query:
          type: string
      type: object
    FacetOptionListContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FacetOptionList'
      type: object
    Sort:
      properties:
        column:
          type: string
        direction:
          type: string
      type: object
    FinalRoute:
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        frequency:
          type: array
          items:
            $ref: '#/components/schemas/Frequency'
        facets:
          type: array
          items:
            $ref: '#/components/schemas/FacetMetaData'
        data: {}
        startPeriod:
          type: string
        endPeriod:
          type: string
        defaultDateFormat:
          type: string
        defaultFrequency:
          type: string
      type: object
    Facet:
      properties:
        id:
          type: string
        name:
          type: string
        alias:
          type: string
      type: object
    FacetDetailsContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FacetDetails'
      type: object
    FinalRouteResponse:
      properties:
        response:
          $ref: '#/components/schemas/FinalRoute'
        request:
          $ref: '#/components/schemas/RouteRequest'
      type: object
    RouteRequest:
      properties:
        command:
          type: array
          items:
            type: string
        params: {}
      type: object
    FacetDetails:
      properties:
        totalFacets:
          type: integer
        facets:
          type: array
          items:
            $ref: '#/components/schemas/Facet'
      type: object
    FinalRouteResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/FinalRouteResponse'
      type: object
    DataResponse:
      properties:
        data: {}
        dateFormat:
          type: string
        description:
          type: string
        frequency:
          type: string
        total:
          type: integer
      type: object
    FacetMetaData:
      properties:
        id:
          type: string
        description:
          type: string
      type: object
    FacetOptionList:
      properties:
        totalFacetOptions:
          type: integer
        facetOptions:
          type: array
          items:
            type: string
      type: object
    Routes:
      properties:
        routes:
          type: array
          items:
            type: string
        id:
          type: string
        name:
          type: string
        description:
          type: string
      type: object
    DataParams:
      properties:
        data:
          type: array
          items:
            type: string
        facets:
          type: object
        frequency:
          type: string
        start:
          type: string
        end:
          type: string
        sort:
          type: array
          items:
            $ref: '#/components/schemas/Sort'
        length:
          type: integer
        offset:
          type: integer
      type: object
    RouteResponseContainer:
      properties:
        apiVersion:
          type: string
        request:
          $ref: '#/components/schemas/RouteRequest'
        response:
          $ref: '#/components/schemas/RouteResponse'
      type: object
    RouteResponse:
      properties:
        response:
          $ref: '#/components/schemas/Routes'
        request:
          $ref: '#/components/schemas/RouteRequest'
      type: object
  responses:
    final-route:
      description: List of API data sets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FinalRouteResponseContainer'
    facets:
      description: List of facet options
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FacetOptionListContainer'
    route:
      description: List of API data sets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RouteResponseContainer'
    data:
      description: API Data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataResponseContainer'
    facet:
      description: Facet details
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/FacetDetailsContainer'
  parameters:
    start:
      name: start
      in: query
      description: Start date to filter by
      required: false
      schema:
        type: string
    sort:
      name: sort
      in: query
      description: How to sort returned data
      required: false
      schema:
        $ref: '#/components/schemas/Sort'
    facets:
      name: facets
      in: query
      description: Facets to filter by
      required: false
      schema:
        type: object
    frequency:
      name: frequency
      in: query
      description: Frequency to filter by
      required: false
      schema:
        type: string
    data:
      name: data
      in: query
      description: Data columns to filter by
      required: false
      schema:
        type: array
        items:
          type: string
    length:
      name: length
      in: query
      description: Max length of returned data
      required: false
      schema:
        type: integer
    facetId:
      name: facet_id
      in: path
      description: Facet ID
      required: true
      schema:
        type: string
    end:
      name: end
      in: query
      description: End date to filter by
      required: false
      schema:
        type: string
    offset:
      name: offset
      in: query
      description: Offset of returned data
      required: false
      schema:
        type: integer
  requestBodies:
    dataParams:
      description: Parameters for data call
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DataParams'
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: query
externalDocs:
  description: EIA's API Technical Documentation
  url: https://www.eia.gov/opendata/documentation.php