{
  "x402Version": 2,
  "id": 1191,
  "slug": "1191",
  "resource": "https://evm-gas.apitoll.cloud/v1/evm/gas",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xcc69d619E6053F88A4845066518f465bD06Fc96c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "blocks": 20,
            "chain": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "base_fee_gwei": 8.421,
            "base_fee_wei": "8421000000",
            "block_number": 21403217,
            "caip2": "eip155:1",
            "chain": "ethereum",
            "chain_name": "Ethereum mainnet",
            "gas_model": "eip1559",
            "stats": {
              "blocks_sampled": 20,
              "median_fullness_pct": 45.5,
              "ts": "2026-05-28T15:42:30.000Z"
            },
            "tiers": {
              "fast": {
                "maxFeePerGas": "14831000000",
                "maxPriorityFeePerGas": "2200000000",
                "max_fee_gwei": 14.831,
                "max_priority_gwei": 2.2
              },
              "slow": {
                "maxFeePerGas": "12631000000",
                "maxPriorityFeePerGas": "1000000",
                "max_fee_gwei": 12.631,
                "max_priority_gwei": 0.001
              },
              "standard": {
                "maxFeePerGas": "13731000000",
                "maxPriorityFeePerGas": "1100000000",
                "max_fee_gwei": 13.731,
                "max_priority_gwei": 1.1
              }
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "blocks": {
                    "description": "Recent blocks to sample for percentile reward (1..50, clamped).",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "chain": {
                    "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.",
                    "enum": [
                      "ethereum",
                      "base",
                      "optimism",
                      "arbitrum",
                      "polygon",
                      "avalanche",
                      "gnosis",
                      "linea",
                      "scroll",
                      "blast",
                      "mode",
                      "opbnb",
                      "celo",
                      "bsc",
                      "fantom",
                      "zksync",
                      "mantle"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chain"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_gwei": {
                    "description": "Base fee for the next block (gwei, human-readable).",
                    "type": "number"
                  },
                  "base_fee_wei": {
                    "description": "Base fee in wei (exact, BigInt-ready decimal string).",
                    "type": "string"
                  },
                  "block_number": {
                    "type": "integer"
                  },
                  "caip2": {
                    "type": "string"
                  },
                  "chain": {
                    "enum": [
                      "ethereum",
                      "base",
                      "optimism",
                      "arbitrum",
                      "polygon",
                      "avalanche",
                      "gnosis",
                      "linea",
                      "scroll",
                      "blast",
                      "mode",
                      "opbnb",
                      "celo",
                      "bsc",
                      "fantom",
                      "zksync",
                      "mantle"
                    ],
                    "type": "string"
                  },
                  "chain_name": {
                    "type": "string"
                  },
                  "gas_model": {
                    "enum": [
                      "eip1559",
                      "mostly-legacy",
                      "non-standard"
                    ],
                    "type": "string"
                  },
                  "gas_note": {
                    "type": "string"
                  },
                  "stats": {
                    "properties": {
                      "blocks_sampled": {
                        "type": "integer"
                      },
                      "median_fullness_pct": {
                        "type": "number"
                      },
                      "ts": {
                        "format": "date-time",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "tiers": {
                    "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": {
                      "fast": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "slow": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "standard": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "evm-gas.apitoll.cloud",
  "lastUpdated": "2026-09-14T19:46:22.052Z",
  "quality": {
    "calls30d": 12,
    "uniquePayers30d": 9,
    "lastCalledAt": "2026-09-14T19:46:21.589Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "evm-gas.apitoll.cloud",
    "manifest_name": "evm-gas.apitoll.cloud",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}