Aggregated market snapshot: Ethereum mainnet gas price (Gwei), ETH/USD spot price, and the
Aggregated market snapshot: Ethereum mainnet gas price (Gwei), ETH/USD spot price, and the latest Base mainnet block number and timestamp — combined into one call. Optional ?ref=<address> pays that wallet a 20% referral cut, sent as a separate on-chain transfer after settlement.
10000 (raw units)
price
2
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": {
"ref": ""
},
"type": "http"
},
"output": {
"example": {
"dataAsOf": "",
"ethUsdPrice": 0,
"gasPriceGwei": 0,
"latestBaseBlock": {
"number": 0,
"timestamp": ""
}
},
"type": "json"
}
},
"schema": {
"properties": {
"input": {
"properties": {
"queryParams": {
"properties": {
"ref": {
"description": "Wallet address to pay a referral cut to.",
"type": "string"
}
},
"required": [],
"type": "object"
}
}
},
"output": {
"properties": {
"example": {
"properties": {
"dataAsOf": {
"type": "string"
},
"ethUsdPrice": {
"type": "number"
},
"gasPriceGwei": {
"type": "number"
},
"latestBaseBlock": {
"properties": {
"number": {
"type": "integer"
},
"timestamp": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
}
}
}
}
},
"builder-code": {
"info": {
"a": "bc_xdmnqyvi"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"maxItems": 11,
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://lab.paidapis.net/api/market-snapshot" # -> 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/market-snapshot");
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/market-snapshot")
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/12408.json, and this resource appears in /discovery/resources and /discovery/search.