Gas price: every major EVM chain
Gas price now on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: gas price, base fee and priority fee in gwei, what a plain transfer costs in the native coin and, for the ETH chains, in US dollars, sorted cheapest first, plus Bitcoin fee rates. No input needed. Use to pick the cheapest chain, time a transaction or show current fees in a wallet.
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/gas/price?format=json"
Or one of your 3 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/gas/price?format=json&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"pack": "gas-tracker",
"ethUsd": 2371.36,
"chains": [
{
"chain": "Optimism",
"gasPriceGwei": "0.001000292",
"baseFeeGwei": "0.000000292",
"priorityFeeGwei": "0.001",
"transferCost": "0.000000021006132",
"symbol": "ETH",
"transferUsd": 0.00005
}
],
"cheapest": "Optimism",
"bitcoin": {
"nextBlock": 3,
"hour": 2,
"unit": "sat/vB"
},
"failed": {}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is gas_price, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp