Api Endpoint

api.agentstools.dev

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).

Open interactive test console

Offering

Provider
api.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Weather And Environment
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentstools.dev/energy/electricity
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
energy, electricity, power, grid, generation, demand, retail-price, eia, fuel-mix

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.008 USDC
Atomic price: 8000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "8000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  }
]

Observed health

Status
Healthy
Latest latency
1302 ms
Average latency
824 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "metric": {
          "type": "string",
          "enum": [
            "generation_mix",
            "demand",
            "retail_price"
          ],
          "description": "Which electricity series (default generation_mix)"
        },
        "region": {
          "type": "string",
          "enum": [
            "us",
            "california",
            "carolinas",
            "central",
            "florida",
            "mid_atlantic",
            "midwest",
            "new_england",
            "new_york",
            "northwest",
            "southeast",
            "southwest",
            "tennessee",
            "texas"
          ],
          "description": "Grid region for generation_mix/demand (default us)"
        },
        "state": {
          "type": "string",
          "description": "Two-letter state code or US for retail_price (default US)"
        },
        "history": {
          "type": "integer",
          "minimum": 1,
          "maximum": 120,
          "description": "Recent data points for demand/retail_price"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}