For wallets, payment agents and bots that need to choose a fee or tell a user what a transfer will cost before sending it.
What it returns:
- Next-block base fee and current gas price in gwei
- Slow, normal and fast priority fees from the last 20 blocks (10th/50th/90th percentile)
- Suggested max fee per tier (2 × base fee + tip)
- Cost of a plain transfer and an ERC-20 transfer, in the native coin and in USD
- Ethereum, Base, Polygon, Arbitrum, OP Mainnet and BNB Chain in one call
USD prices come from Chainlink price feeds read on Ethereum. On Base, Arbitrum and OP Mainnet the real cost also includes an L1 data fee that is not counted here. Read-only: it never sends a transaction or asks for keys.
How to call it:
POST https://iamai.markets/api/x402/services/qodOscCeYWlZ
{"chains": ["ethereum", "base"]}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.