API & MCP

Everything a person can do on Gas Fee Intelligence Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Gas Fee Intelligence Explorer

Pulls eth_feeHistory (last 100 blocks, 10th/50th/90th percentile tips) and eth_gasPrice from Ethereum, Base, Arbitrum, OP Mainnet, Polygon, Avalanche and BNB Chain, prices the native tokens via DefiLlama and shows what a native transfer, ERC-20 transfer and swap cost on each chain — ranked cheapest first, with OP Stack L1 data fees as an upper bound.

Inputs of Gas Fee Intelligence Explorer
FieldTypeDefaultDescription
modeselect (live, pasted)"live"Data source
chainsmultiselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)["ethereum","base","arbitrum","optimism","polygon","avalanche","bsc"]Chains
blocksinteger100Blocks of fee history
pastedtextarea—Pasted JSON. {"prices":{"ETH":2400},"chains":{"ethereum":{"feeHistory":{…eth_feeHistory result…},"gasPrice":"0x…","l1FeeUpperBoundWei":{"erc20-transfer":"0x…"}}}}

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "gas-fee-intelligence-explorer": { "type": "http", "url": "https://gasfeeintelligenceexplorer.usefulweb.site/mcp" }
  }
}