Read the current eth_gasPrice value from a supported public Base, Ethereum, or Arbitrum JS
Read the current eth_gasPrice value from a supported public Base, Ethereum, or Arbitrum JSON-RPC endpoint.
10000 (raw units)
price
2
calls / 30d
1
unique payers
2026-08-28
updated
Provider
ai-data-marketplace-1042299154756.us-central1.run.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8647F7D7a1368a467Ad1FF757fBc2e7167973558",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"chain": "ethereum"
},
"type": "http"
},
"output": {
"example": {
"chain_id": 1,
"fetched_at": "2026-08-07T07:32:31.701Z",
"gas_price_gwei": 0.109052773,
"gas_price_wei": "109052773",
"marketplace_metadata": {
"availability": "operational",
"billable": true,
"data_mode": "live_source",
"source": "public EVM JSON-RPC"
},
"network": "ethereum",
"source": "ethereum public JSON-RPC",
"success": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": true,
"properties": {
"chain": {
"description": "Blockchain network (e.g., ethereum, polygon, arbitrum).",
"type": "string"
}
},
"required": [
"chain"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"chain_id": {
"type": "integer"
},
"fetched_at": {
"type": "string"
},
"gas_price_gwei": {
"type": "number"
},
"gas_price_wei": {
"type": "string"
},
"marketplace_metadata": {
"additionalProperties": true,
"properties": {
"availability": {
"type": "string"
},
"billable": {
"type": "boolean"
},
"data_mode": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"data_mode",
"billable",
"availability",
"source"
],
"type": "object"
},
"network": {
"type": "string"
},
"source": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"source",
"fetched_at",
"network",
"chain_id",
"gas_price_wei",
"gas_price_gwei",
"marketplace_metadata"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/gas_oracle" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/gas_oracle");
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://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/gas_oracle")
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/3229.json, and this resource appears in /discovery/resources and /discovery/search.