Marketplace · API · AIPayGen tools

Gas prices across chains (AIPayGen)

Current gas price on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain and Avalanche, in gwei, with the latest block number. Use it to pick the cheapest chain or time a transaction.

Endpointhttps://aipaygen.com/v1/gas_price
Price$0.001 per call
Trust✓ Verified callable · null% uptime over 0 checks
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
toolgas_price
httpGET https://aipaygen.com/v1/gas_price
mcphttps://aipaygen.com/mcp
docshttps://aipaygen.com/docs#gas_price
payx402 USDC on Base per call (no account), or an API key with prepaid credits. Low-cost tools: 3 free calls a day.

Use it

Call it (an x402 client pays automatically)

curl -i https://aipaygen.com/v1/gas_price
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/aipaygen-gas-price

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}

Related