# Base L2 Gas Price Lookup

> Base L2 Gas Price Lookup is a paid API for AI agents from webtools402.176-109-107-191.sslip.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the current Base L2 network gas price in gwei by reading live chain state via eth_gasPrice.

## Facts

- Endpoint: GET https://webtools402.176-109-107-191.sslip.io/gas
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-l2-gas-price-lookup-3c0e179e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9nee_lMTcyCB680SrdHLX

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 base-l2-gas-price-lookup-3c0e179e
```

Example prompt: What's the current gas price on Base right now in gwei?

## When to prefer this

Use this endpoint when you need the live Base L2 gas price for transaction cost estimation, fee-gating logic, or monitoring gas spikes. Prefer this over Ethereum mainnet gas endpoints when working specifically with Base L2 contracts and transactions.

## Known failure modes

- RPC node unavailable or rate-limited — may return 503 or timeout
- Stale chain data if node is syncing — may return a slightly outdated value
- Payment failure (x402) if USDC balance is insufficient — returns 402

## How this service works

Current Base L2 gas price (gwei) read from chain state (eth_gasPrice).

## Output

Returns the live Base L2 gas price expressed in gwei, read directly from chain state using eth_gasPrice. Useful for estimating transaction costs before submitting onchain operations.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "network": {
       "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "polygon",
        "bnb",
        "avalanche"
       ],
       "type": "string",
       "description": "EVM network (default ethereum)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-l2-gas-price-lookup-3c0e179e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from webtools402.176-109-107-191.sslip.io](https://www.zero.xyz/host/webtools402.176-109-107-191.sslip.io/llms.txt)
