ApiToll Base Gas Oracle
GET https://gas.apitoll.cloud/v1/base/gas
Base gas oracle / gas price API for AI agents and bots — get the gas price for a transaction on Base in one x402 call. Real-time slow/standard/fast EIP-1559 fee tiers from a live eth_feeHistory call, returned as DROP-IN maxFeePerGas + maxPriorityFeePerGas in wei — plug straight into a viem/ethers transaction, no gwei conversion. Plus base fee, head block, and network fullness. Call it before every Base tx to set a fair fee or wait out congestion.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://gas.apitoll.cloud/v1/base/gas"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 08:00 | Valid 402 | 402 | 591 ms | $0.001 |
| 2026-10-11 03:30 | Valid 402 | 402 | 693 ms | $0.001 |
| 2026-10-10 23:00 | Valid 402 | 402 | 504 ms | $0.001 |
| 2026-10-10 17:15 | Valid 402 | 402 | 1403 ms | $0.001 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves