Api Endpoint

MacroBroski – Gas and Energy Prices

EIA weekly retail regular gasoline and diesel prices, labeled level=national (U.S. average), region (PADD 1-5 and subregions), or state (CA, CO, FL, MA, MN, NY, OH, TX, WA), with weekly and yearly change; plus WTI and Brent crude, Henry Hub natural gas, and crude/gasoline/distillate/SPR inventories. ?region=all (default) returns every area, or a code such as r20 (Midwest), sca (California), stx (Texas). Each response includes a plain-English summary built from the data by fixed rules (no AI). Bad params return 400 before payment. US government public-domain data. Not financial advice.

Open interactive test console

Offering

Provider
macro.x3digitalcapital.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://macro.x3digitalcapital.com/macro/energy
MIME type
application/json
First seen
2026-11-25T17:10:11.725Z
Last seen
Tags
economics, energy, gas-prices, oil, natural-gas, eia, Macro

Payment pricing

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

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.02 USDC
Atomic price: 20000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 3
0.02 USDC
Atomic price: 20000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
20000 atomic units
Atomic price: 20000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x78779b47d0C31d66d24F1d4Ee2719A19FE52Fba8"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "20000",
    "payTo": "0x78779b47d0C31d66d24F1d4Ee2719A19FE52Fba8"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "20000",
    "payTo": "0x78779b47d0C31d66d24F1d4Ee2719A19FE52Fba8"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "20000",
    "payTo": "0x78779b47d0C31d66d24F1d4Ee2719A19FE52Fba8"
  }
]

Observed health

Status
Healthy
Latest latency
211 ms
Average latency
258 ms
HTTP status
402
Last checked
Reachability
100% over 2 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"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "region": {
          "type": "string",
          "enum": [
            "all",
            "nus",
            "r10",
            "r1x",
            "r1y",
            "r1z",
            "r20",
            "r30",
            "r40",
            "r50",
            "r5xca",
            "sca",
            "sco",
            "sfl",
            "sma",
            "smn",
            "sny",
            "soh",
            "stx",
            "swa"
          ],
          "default": "all",
          "description": "EIA area code: all (national + every region and state), or one of nus (national), r10/r1x/r1y/r1z/r20/r30/r40/r50/r5xca (PADD regions), sca/sco/sfl/sma/smn/sny/soh/stx/swa (states)."
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}