# Base L2 Live Gas Price Feed

> Base L2 Live Gas Price Feed is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns the current Base L2 network gas price in both wei and gwei units

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/gas/base
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-l2-live-gas-price-feed-f8c6b329
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m7A4C2LO62_S2Pzx5kjzr

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-live-gas-price-feed-f8c6b329
```

Example prompt: What's the current gas price on Base L2 right now — give me both the wei and gwei values so I can estimate my transaction costs.

## When to prefer this

Use this endpoint when you need a real-time, single-call lookup of Base L2 gas prices without needing to run your own Ethereum node or manage RPC credentials. Ideal for agents that need to gate or time transactions based on current fee conditions, or for displaying estimated costs to end users before executing Base network operations.

## Known failure modes

- Base RPC node unavailable or rate-limited — returns 5xx error
- Stale data if upstream node is lagging behind the chain tip
- Payment of 0.003 USDC not received — returns 402 Payment Required
- Malformed response if Base network is undergoing an incident

## How this service works

Live Base L2 gas price in wei/gwei

## Output

Returns the current Base L2 gas price expressed in wei (raw integer) and gwei (human-readable decimal), reflecting live network conditions at the time of the request.

## 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": {}
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-l2-live-gas-price-feed-f8c6b329/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
