# 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:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

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

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/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-e4a85877
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZKGjogy2zx506y6GTUsB9

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-e4a85877
```

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

## When to prefer this

Choose this endpoint when you specifically need real-time gas price data for the Base L2 network (not Ethereum mainnet or other L2s). Ideal for pre-transaction gas checks, DeFi bots gating on fee thresholds, or dashboards monitoring Base network conditions. It returns both wei and gwei natively, saving a unit conversion step.

## Known failure modes

- Base RPC node unreachable — may return 5xx or stale data
- Rate limiting if called too frequently without valid payment
- Network congestion spikes may cause momentary data delay
- Invalid or expired x402 payment header results in 402 Payment Required

## How this service works

Live Base L2 gas price in wei/gwei

## Output

Returns the live Base L2 gas price expressed in wei (integer) and gwei (decimal), reflecting the current network condition at the moment 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-e4a85877/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
