{
  "x402Version": 2,
  "id": 29206,
  "slug": "29206",
  "resource": "https://api.agentstools.dev/energy/electricity",
  "description": "US electricity data from the EIA grid monitor and retail survey: generation mix by fuel type with percentage breakdown (latest hour), demand by region, and average retail price by state/sector (monthly).",
  "type": "http",
  "serviceName": "energy-electricity",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "8000",
      "amountUsd": 0.008,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "metric": "generation_mix",
            "region": "texas"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-07-03T03",
            "metric": "generation_mix",
            "mix": [
              {
                "fueltype": "NG",
                "pct": 44.8,
                "value_mwh": 286795
              }
            ],
            "region": "texas",
            "renewable_share_pct": 32.4,
            "total_generation_mwh": 640000,
            "unit": "MWh"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "history": {
                    "description": "Recent data points for demand/retail_price",
                    "maximum": 120,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "metric": {
                    "description": "Which electricity series (default generation_mix)",
                    "enum": [
                      "generation_mix",
                      "demand",
                      "retail_price"
                    ],
                    "type": "string"
                  },
                  "region": {
                    "description": "Grid region for generation_mix/demand (default us)",
                    "enum": [
                      "us",
                      "california",
                      "carolinas",
                      "central",
                      "florida",
                      "mid_atlantic",
                      "midwest",
                      "new_england",
                      "new_york",
                      "northwest",
                      "southeast",
                      "southwest",
                      "tennessee",
                      "texas"
                    ],
                    "type": "string"
                  },
                  "state": {
                    "description": "Two-letter state code or US for retail_price (default US)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "energy",
    "electricity",
    "power",
    "grid",
    "generation",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-08T06:08:24.642Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:24.414Z"
  },
  "metadata": {
    "serviceName": "energy-electricity",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "metric": "generation_mix",
              "region": "texas"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-07-03T03",
              "metric": "generation_mix",
              "mix": [
                {
                  "fueltype": "NG",
                  "pct": 44.8,
                  "value_mwh": 286795
                }
              ],
              "region": "texas",
              "renewable_share_pct": 32.4,
              "total_generation_mwh": 640000,
              "unit": "MWh"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "history": {
                      "description": "Recent data points for demand/retail_price",
                      "maximum": 120,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "metric": {
                      "description": "Which electricity series (default generation_mix)",
                      "enum": [
                        "generation_mix",
                        "demand",
                        "retail_price"
                      ],
                      "type": "string"
                    },
                    "region": {
                      "description": "Grid region for generation_mix/demand (default us)",
                      "enum": [
                        "us",
                        "california",
                        "carolinas",
                        "central",
                        "florida",
                        "mid_atlantic",
                        "midwest",
                        "new_england",
                        "new_york",
                        "northwest",
                        "southeast",
                        "southwest",
                        "tennessee",
                        "texas"
                      ],
                      "type": "string"
                    },
                    "state": {
                      "description": "Two-letter state code or US for retail_price (default US)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "as_of": "2026-07-03T03",
    "metric": "generation_mix",
    "mix": [
      {
        "fueltype": "NG",
        "pct": 44.8,
        "value_mwh": 286795
      }
    ],
    "region": "texas",
    "renewable_share_pct": 32.4,
    "total_generation_mwh": 640000,
    "unit": "MWh"
  }
}