openapi: 3.1.0 info: title: Aeo EIA Open Data API V2 API description: The U.S. Energy Information Administration (EIA) Open Data API v2 is a fully RESTful implementation of EIA's public energy statistics. Routes are arranged in a logical hierarchy across petroleum, natural gas, coal, electricity, nuclear, renewables, total energy, international, and consumption series. version: '2.0' servers: - url: https://api.eia.gov/v2 description: EIA Open Data API v2 security: - apiKeyQuery: [] tags: - name: EIA Open Data API V2 paths: /: get: summary: API root description: Returns metadata about the available top-level routes. operationId: getRoot parameters: - $ref: '#/components/parameters/ApiKey' responses: '200': description: Successful response content: application/json: schema: $ref: '#/components/schemas/RouteResponse' tags: - EIA Open Data API V2 components: schemas: RouteResponse: type: object additionalProperties: true properties: response: type: object additionalProperties: true request: type: object additionalProperties: true apiVersion: type: string parameters: ApiKey: name: api_key in: query required: true schema: type: string description: EIA Open Data API key. securitySchemes: apiKeyQuery: type: apiKey in: query name: api_key x-generated-from: https://www.eia.gov/opendata/documentation.php x-generated-by: claude-crawl-2026-05-08