Historical data export: raw Ethereum gas price samples over a date range (?from=, ?to=, IS
Historical data export: raw Ethereum gas price samples over a date range (?from=, ?to=, ISO 8601, max 24h; ?format=json|csv). Priced at $0.0005/sample (min $0.005) — the real row count for your range, not a flat fee.
5000 (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": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"format": "json",
"from": "",
"to": ""
},
"type": "http"
},
"output": {
"example": {
"from": "",
"sampleCount": 0,
"samples": [],
"to": ""
},
"type": "json"
}
},
"schema": {
"properties": {
"input": {
"properties": {
"queryParams": {
"properties": {
"format": {
"description": "Either \"json\" (default) or \"csv\".",
"enum": [
"json",
"csv"
],
"type": "string"
},
"from": {
"description": "ISO 8601 range start.",
"type": "string"
},
"to": {
"description": "ISO 8601 range end.",
"type": "string"
}
},
"required": [
"from",
"to"
],
"type": "object"
}
}
},
"output": {
"properties": {
"example": {
"properties": {
"from": {
"type": "string"
},
"sampleCount": {
"type": "integer"
},
"samples": {
"items": {
"properties": {
"gasPriceGwei": {
"type": "number"
},
"timestamp": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"to": {
"type": "string"
}
},
"type": "object"
}
}
}
}
}
}
}Use it
curl
curl "https://lab.paidapis.net/api/gas-history-export" # -> 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-history-export");
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-history-export")
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/12413.json, and this resource appears in /discovery/resources and /discovery/search.