EIA weekly retail regular gasoline and diesel prices, labeled level=national (U.
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). Bad params return 400 before payment. US government public-domain data. Not financial advice.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://macro.x3digitalcapital.com/macro/energy
| Category | Code and developer |
|---|---|
| Provider host | macro.x3digitalcapital.com |
| Networks | eip155:137, eip155:42161, eip155:5042, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.02 | 418 ms |
| 2026-11-25 | valid payment request | 402 | $0.02 | 420 ms |
| 2026-11-24 | valid payment request | 402 | $0.02 | 420 ms |
| 2026-11-23 | valid payment request | 402 | $0.02 | 417 ms |
| 2026-11-22 | valid payment request | 402 | $0.02 | 416 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"region": {
"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).",
"enum": [
"all",
"nus",
"r10",
"r1x",
"r1y",
"r1z",
"r20",
"r30",
"r40",
"r50",
"r5xca",
"sca",
"sco",
"sfl",
"sma",
"smn",
"sny",
"soh",
"stx",
"swa"
],
"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"
}