Arbitrum gas price history
Gas price history on Arbitrum One (eth_feeHistory): base fee in gwei for each of the last N blocks (5-100, default 20), how full each block was, and the 10th, 50th and 90th percentile priority fees, with the low, average and high base fee over the window. Use to judge whether fees are rising, pick a priority fee or time a transaction; for the current price alone use arb_gas.
Inputs
| Name | Type | Description |
|---|---|---|
blocks | integer | How many recent blocks, 5-100 (default 20) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/arb/gas-history?blocks=20"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/arb/gas-history?blocks=20&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
{
"chain": "Arbitrum One",
"chainId": 42161,
"fromBlock": 123456770,
"toBlock": 123456789,
"blocks": 20,
"baseFeeGwei": {
"low": 0.011,
"average": 0.012,
"high": 0.014,
"latest": 0.012,
"next": 0.012
},
"priorityFeeGwei": {
"p10": 0.0005,
"p50": 0.001,
"p90": 0.01
},
"history": [
{
"block": 123456789,
"baseFeeGwei": 0.012,
"gasUsedRatio": 0.48,
"priorityFeeGwei": [
0.0005,
0.001,
0.01
]
}
]
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is arb_gas_history, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp