Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon
Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon: current gas price in gwei, next base fee, slow/standard/fast EIP-1559 maxFeePerGas + priority fee, congestion and trend, and the USD transaction cost of a transfer, USDC payment, swap or approve before you send. Payment settles only after a successful (2xx) response; input errors are never charged.
1 route settlement-verified · $0.02 USDC/request · 1 endpoint · Data · base network · x402 protocol
Verified routes
GET /v1/gas-fee· $0.02 · Verified with a $0.02 test payment on 28 Nov 2026 · receipt
Other routes are unverified.
Networks: Base (settlement-verified)
Discovery is free. Agents search the catalogue here. Payment happens on the listing 402, not on PayAPI.
url https://payapi.market/mcp
Listing facts
- Provider
- Beggar Bot
- Hosted at
beggar-bot-demand.beggarbot.workers.dev- Category
- Data
- Price
- $0.02 USDC per request
- Endpoint
- 1
- Payment networks
- Base
- Settlement-verified
- 1 route, last checked 2026-11-28
- Listed on PayAPI Market
- 2026-11-24
Try Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon:
Call a verified route without paying first. The server should answer HTTP 402 Payment Required with the price, the USDC asset, the network and the wallet to pay. An x402 client pays that amount on Base and retries with the payment header.
curl -i "https://beggar-bot-demand.beggarbot.workers.dev/v1/gas-fee?chain=base"
About this API
Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon is listed in the Data category with pricing at $0.02 USDC/request. One route has been settlement-verified by PayAPI Market on 2026-11-28. View receipt on Basescan.
Payments settle on base in USDC via the x402 protocol. AI agents discover this API through the PayAPI Market MCP server and pay per request without API keys or accounts.
This API exposes 1 endpoint.
Add this badge to your README
Paste this on your site. The link points at this listing. Listing is free and PayAPI takes 0% of each job.
Markdown
[](https://payapi.market/api/gas-price-and-gas-fee-api-for-base-ethereum-optimism-arbitrum-and-polygon)
HTML
<a href="https://payapi.market/api/gas-price-and-gas-fee-api-for-base-ethereum-optimism-arbitrum-and-polygon"><img src="https://payapi.market/badge/gas-price-and-gas-fee-api-for-base-ethereum-optimism-arbitrum-and-polygon.svg" alt="Settlement-verified on PayAPI Market" height="20"></a>
How do I call this?
Send GET /v1/gas-fee on beggar-bot-demand.beggarbot.workers.dev.
The listed price is $0.02 USDC per request.
chain=base
Which networks can I pay on?
You can pay in USDC on Base.
Which APIs are similar?
- Gas price API for Base, Ethereum, Optimism, Arbitrum and Polygon: current gas
- Wallet balance and native balance API (ETH balance / gas balance check): give
- Address check API before you pay or send: is this wallet address a wallet
- Decode transaction API: give a tx hash on Base, Ethereum, Optimism, Arbitrum or
- Native balance API (gas balance check): give up to 10 wallet addresses, get
- Transaction decoder / explainer API: give a transaction hash on Base, Ethereum
- Current max priority fee on Base
- Honeypot check and token security API before you buy or approve: rug-pull
Questions about this API
What does Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon do?
Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon: current gas price in gwei, next base fee, slow/standard/fast EIP-1559 maxFeePerGas + priority fee, congestion and trend, and the USD. It is provided by Beggar Bot.
How much does Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon cost?
Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon is priced at $0.02 USDC per request, paid per call with no subscription. Verified with a $0.02 test payment on 28 Nov 2026. The exact amount for each call is in the HTTP 402 response before any money moves.
Do I need an API key or account to use Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon?
No. Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon uses the x402 protocol, so an agent pays per request in USDC on Base and gets the response, with no API key, account or signup.
Has Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon been verified?
Yes, 1 route. PayAPI Market paid for a real call from its own wallet, received real data back and recorded the USDC settlement on-chain, most recently on 2026-11-28.
How does an AI agent find Gas price and gas fee API for Base, Ethereum, Optimism, Arbitrum and Polygon?
Through the free PayAPI Market MCP server at https://payapi.market/mcp, using search_apis or get_api, or over plain HTTP at https://payapi.market/agent/search. Discovery is free; the agent pays the provider directly on the listing's own 402.
More Data APIs · Browse the marketplace · List your own API
More from Beggar Bot
- Stablecoin price and stablecoin peg API: live price and $1 peg deviation for
- ENS lookup and ENS resolve API: resolve a
- ENS lookup and ENS resolve API: resolve a
- Wallet balance and native balance API (ETH balance / gas balance check): give
- Payment header decoder and x402 payment header debugger: paste an X-PAYMENT
- View all from Beggar Bot
By Beggar Bot