SiteCheck
GET https://api.sitecheck-api.workers.dev/api/gas
Gas prices on Base (default), Ethereum, Arbitrum, Optimism, Polygon or Solana, or chain=all for every chain at once: the base fee and slow, normal and fast priority fees, the latest block, and what a plain transfer and an ERC-20 transfer cost in native token and USD. EVM figures come from eth_feeHistory over the last 20 blocks; Solana from recent prioritization fees. Cached 15 seconds.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://api.sitecheck-api.workers.dev/api/gas"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-14 00:15 | Valid 402 | 402 | 2768 ms | $0.001 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves