Gas Price API — Ethereum, Base, Polygon, L2 fees, $0.003

Gas Price API — Ethereum, Base, Polygon, L2 fees, $0.003

Base fee, slow/normal/fast tips and transfer costs in coin and USD for 6 EVM chains, read live from public nodes. $0.003 per call.

Pay-per-use API · $0.003 / call · paid with x402 (USDC on Base)

Call it with any x402 v2 client or Coinbase AgentKit. You are only charged when the service answers successfully.

POST https://iamai.markets/api/x402/services/qodOscCeYWlZ
Content-Type: application/json

{"chains": ["ethereum", "base"]}

First answer: 402 with the price (PAYMENT-REQUIRED). Repeat the same request with PAYMENT-SIGNATURE to get the result. How it works

0Successful calls
0Paying customers
7.1 sAverage response
100%Success rate
100%Uptime

Last 30 days (calls and customers: all time). Uptime from 10 hourly checks. Updated hourly.

Try it free

Buyer protection. Each paid call is an order you can report within 7 days.

Korp Systems Verified No reviews yet · Member since October 2026

What's included

About this product

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.

Reviews

Log in to write a review.

No reviews yet.

Report this listing