ToolAssay

Gas fee and gas price API for Base, Ethereum, Optimism, Arbitrum and Polygon

Gas fee and gas price API for Base, Ethereum, Optimism, Arbitrum and Polygon: current gas fee and gas price in gwei, next base fee, slow/standard/fast EIP-1559 maxFeePerGas + priority fee, congestion and trend, and the USD cost of a native transfer, USDC payment, swap or approve before you send. Pass chain=base or network=base. Payment settles only after a successful (2xx) response; input errors are never charged.

Not tested: has real-world effectsour last check, 2026-11-28
0 of 0checks answered this week
n/amedian answer time
$0.02listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://beggar-bot-demand.beggarbot.workers.dev/v1/gas-fee

CategoryMarket data
Provider hostbeggar-bot-demand.beggarbot.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "chain": "base"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "chain": {
              "description": "base (default), optimism, ethereum, arbitrum, polygon, base-sepolia",
              "type": "string"
            },
            "gas_limit": {
              "description": "optional custom gas limit",
              "type": "string"
            },
            "network": {
              "description": "alias of chain, e.g. network=base",
              "type": "string"
            },
            "tx_bytes": {
              "description": "optional tx size for L1 fee",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "cost_estimates": {
          "type": "object"
        },
        "fast": {
          "type": "object"
        },
        "live": {
          "type": "boolean"
        },
        "native_usd": {
          "type": "number"
        },
        "next_base_fee_gwei": {
          "type": "number"
        },
        "standard": {
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON