# Gas Estimate – Base and Ethereum Gas Fees

> Gas Estimate – Base and Ethereum Gas Fees is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Returns live gas price and slow/normal/fast fee estimates for Base or Ethereum networks in gwei.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/gas-estimate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-estimate-base-and-ethereum-gas-fees-1a0c8394
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LKbKnF2YpcHp77rQvNXQ2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gas-estimate-base-and-ethereum-gas-fees-1a0c8394
```

Example prompt: What are the current slow, normal, and fast gas fee estimates on Ethereum right now, in gwei?

## When to prefer this

Choose this endpoint when you need real-time, tiered gas fee estimates (slow/normal/fast) specifically for Base or Ethereum, especially in agent workflows that need to decide whether to submit a transaction or compare network costs. It is well-suited for pre-transaction checks, cost-sensitive automation, or any agent that needs live gwei values without running its own RPC node.

## Known failure modes

- Upstream RPC node unavailable — may return 5xx or stale data
- Invalid or unsupported network specified — likely returns 400 or error message
- Payment not fulfilled (x402 protocol) — returns 402 Payment Required
- Rate limiting or Cloudflare Worker quota exceeded — returns 429 or 503

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

A JSON object containing the network name (e.g. 'base' or 'ethereum'), the current base_fee_gwei, gas_price_gwei, and an estimates object with slow, normal, and fast tiers each showing their max_fee_gwei value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "network": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "network": "base",
  "estimates": {
   "slow": {
    "max_fee_gwei": 0.055
   },
   "normal": {
    "max_fee_gwei": 0.155
   }
  },
  "base_fee_gwei": 0.005,
  "gas_price_gwei": 0.006
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-estimate-base-and-ethereum-gas-fees-1a0c8394/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
