Derived metrics: Ethereum gas price sampled continuously in the background and turned into
Derived metrics: Ethereum gas price sampled continuously in the background and turned into rolling average, min/max, volatility, and trend direction over a window (?windowMinutes=, default 10) — none of which exist in the raw upstream feed's single instantaneous value.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-12
updated
Provider
lab.paidapis.net · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xf74f2020aC3d73F2Bf5ee0F8Bf635475eA881319",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"windowMinutes": 0
},
"type": "http"
},
"output": {
"example": {
"average": 0,
"current": 0,
"max": 0,
"min": 0,
"sampleCount": 0,
"stdDev": 0,
"trend": "up",
"windowMinutes": 0
},
"type": "json"
}
},
"schema": {
"properties": {
"input": {
"properties": {
"queryParams": {
"properties": {
"windowMinutes": {
"description": "Window size in minutes (default 10).",
"type": "number"
}
},
"required": [],
"type": "object"
}
}
},
"output": {
"properties": {
"example": {
"properties": {
"average": {
"type": [
"number",
"null"
]
},
"current": {
"type": [
"number",
"null"
]
},
"max": {
"type": [
"number",
"null"
]
},
"min": {
"type": [
"number",
"null"
]
},
"sampleCount": {
"type": "integer"
},
"stdDev": {
"type": [
"number",
"null"
]
},
"trend": {
"enum": [
"up",
"down",
"flat",
"insufficient-data"
],
"type": "string"
},
"windowMinutes": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
}
}
}Use it
curl
curl "https://lab.paidapis.net/api/gas-metrics" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://lab.paidapis.net/api/gas-metrics");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://lab.paidapis.net/api/gas-metrics")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/12428.json, and this resource appears in /discovery/resources and /discovery/search.