Api Endpoint

ApiToll Multi-Chain EVM Gas

Multi-chain EVM gas price oracle for AI agents — 17 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche…). One x402 call returns slow/standard/fast EIP-1559 tiers as DROP-IN maxFeePerGas + maxPriorityFeePerGas in wei (plug straight into a viem/ethers tx, no conversion, exact even on sub-gwei L2s), plus base fee, head block, and fullness, from a live eth_feeHistory call. Pass ?chain= to switch chains.

Open interactive test console

Offering

Provider
evm-gas.apitoll.cloud
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://evm-gas.apitoll.cloud/v1/evm/gas
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
EVM, Gas, multi-chain, gas-oracle, Ethereum, Base, Arbitrum, transaction-fees, apitoll

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xcc69d619E6053F88A4845066518f465bD06Fc96c"
  }
]

Observed health

Status
Healthy
Latest latency
293 ms
Average latency
833 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "ethereum",
            "base",
            "optimism",
            "arbitrum",
            "polygon",
            "avalanche",
            "gnosis",
            "linea",
            "scroll",
            "blast",
            "mode",
            "opbnb",
            "celo",
            "bsc",
            "fantom",
            "zksync",
            "mantle"
          ],
          "description": "Target EVM chain id. One of: ethereum, base, optimism, arbitrum, polygon, avalanche, gnosis, linea, scroll, blast, mode, opbnb, celo, bsc, fantom, zksync, mantle. Also accepts common aliases (eth, arb, op, matic, avax, bnb). Default: ethereum."
        },
        "blocks": {
          "type": "integer",
          "minimum": 1,
          "maximum": 50,
          "description": "Recent blocks to sample for percentile reward (1..50, clamped)."
        }
      },
      "required": [
        "chain"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "ethereum",
            "base",
            "optimism",
            "arbitrum",
            "polygon",
            "avalanche",
            "gnosis",
            "linea",
            "scroll",
            "blast",
            "mode",
            "opbnb",
            "celo",
            "bsc",
            "fantom",
            "zksync",
            "mantle"
          ]
        },
        "chain_name": {
          "type": "string"
        },
        "caip2": {
          "type": "string"
        },
        "gas_model": {
          "type": "string",
          "enum": [
            "eip1559",
            "mostly-legacy",
            "non-standard"
          ]
        },
        "gas_note": {
          "type": "string"
        },
        "block_number": {
          "type": "integer"
        },
        "base_fee_gwei": {
          "type": "number",
          "description": "Base fee for the next block (gwei, human-readable)."
        },
        "base_fee_wei": {
          "type": "string",
          "description": "Base fee in wei (exact, BigInt-ready decimal string)."
        },
        "tiers": {
          "type": "object",
          "description": "Slow (p10) / standard (p50) / fast (p90) EIP-1559 fee tiers. Each carries human gwei (max_fee_gwei/max_priority_gwei) AND DROP-IN wei (maxFeePerGas/maxPriorityFeePerGas, BigInt-ready) to plug straight into a viem/ethers tx.",
          "properties": {
            "slow": {
              "type": "object",
              "properties": {
                "maxFeePerGas": {
                  "type": "string"
                },
                "maxPriorityFeePerGas": {
                  "type": "string"
                },
                "max_fee_gwei": {
                  "type": "number"
                },
                "max_priority_gwei": {
                  "type": "number"
                }
              }
            },
            "standard": {
              "type": "object",
              "properties": {
                "maxFeePerGas": {
                  "type": "string"
                },
                "maxPriorityFeePerGas": {
                  "type": "string"
                },
                "max_fee_gwei": {
                  "type": "number"
                },
                "max_priority_gwei": {
                  "type": "number"
                }
              }
            },
            "fast": {
              "type": "object",
              "properties": {
                "maxFeePerGas": {
                  "type": "string"
                },
                "maxPriorityFeePerGas": {
                  "type": "string"
                },
                "max_fee_gwei": {
                  "type": "number"
                },
                "max_priority_gwei": {
                  "type": "number"
                }
              }
            }
          }
        },
        "stats": {
          "type": "object",
          "properties": {
            "blocks_sampled": {
              "type": "integer"
            },
            "median_fullness_pct": {
              "type": "number"
            },
            "ts": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  },
  "required": [
    "type"
  ]
}