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.
| Endpoint | https://aipaygen.com/v1/gas_price |
| Price | $0.001 per call |
| Trust | ✓ Verified callable · null% uptime over 0 checks |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| tool | gas_price |
| http | GET https://aipaygen.com/v1/gas_price |
| mcp | https://aipaygen.com/mcp |
| docs | https://aipaygen.com/docs#gas_price |
| pay | x402 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-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/aipaygen-gas-priceSearch the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}