beggar-bot-demand.beggarbot.workers.dev/v1/gas/price
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 cost of a native transfer, USDC payment, swap or approve before you send. Pass chain=base or network=base. Payment settles only after a successful (2xx) response; input errors are never cha
GET
https://beggar-bot-demand.beggarbot.workers.dev/v1/gas/priceUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://beggar-bot-demand.beggarbot.workers.dev/v1/gas/price?chain=base");
console.log(await res.json());Example input
{
"chain": "base"
}More from Gas PriceProvider status
- api.zato.org/api/gasUse when an agent is about to send a transaction or quote its cost. Trigger: network ethereum (default) or base. Outcome: base fee, suggested priority fee (median of the last 10 blocks), gas price and the estimated cost of a plain ETH transfer and an ERC-20 transfer, live from public RPCs.0.001
- beggar-bot-demand.beggarbot.workers.dev/v1/gas-priceGas 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 cost of a native transfer, USDC payment, swap or approve before you send. Pass chain=base or network=base. Payment settles only after a successful (2xx) response; input errors are never cha0.02
- x402-echo-service.onrender.com/chain/gasCurrent gas conditions on Base. POST {} and receive the legacy gas price and the EIP-1559 base fee of the latest block, in wei and gwei. Useful for agents deciding whether to transact now or wait.0.001
- x402-seller-pmlm.onrender.com/gasGas price: live gas fees for Ethereum, Base, Arbitrum, Polygon and Solana in one call. Use before sending a transaction to pick a fee or the cheapest chain. Returns base fee, slow/standard/fast priority fees, max fee, congestion, and the USD cost of a transfer, an ERC-20 transfer and a swap per chain, plus Solana priority fees. Optional chain. 0.001 USDC/call; failed calls are free.0.001
- x402.agentindex.world/gas-priceGas price check. Read the live gas price, EIP-1559 base fee and estimated native-transfer cost on Base, Ethereum, Polygon, Arbitrum or Optimism. No RPC key or account. Try GET /gas-price/sample.0.001
