# Base Network Gas Price Oracle

> Base Network Gas Price Oracle is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Returns the current and next block base fee plus priority fee for the Base blockchain network

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_3khwfsj2674l7p6p?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-network-gas-price-oracle-819086cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fSJUff3ikdJnexJpVebXR

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-network-gas-price-oracle-819086cb -d '<json body>'
```

Example prompt: What are the current gas prices on Base — give me the latest block's base fee, what the next block's base fee will be, and the recommended priority fee.

## When to prefer this

Use this endpoint when you need real-time EIP-1559 gas fee data specifically for the Base L2 network (not Ethereum mainnet or other chains), and you need both current and next-block base fee forecasts plus a priority fee in a single call. Prefer this over generic gas trackers when you need programmatic, pay-per-use access with no API key setup.

## Known failure modes

- Network unavailability: Base RPC node unreachable, returns error response
- Stale data: momentary lag between block production and fee update
- Payment failure: x402 payment of $0.05 USDC not accepted, request rejected
- Rate limiting: excessive calls may be throttled

## How this service works

Base's gas prices now: the latest block's base fee, the next one's, and a priority fee.

## Output

Returns the current block's base fee, the predicted next block's base fee, and the recommended priority fee for the Base network — all expressed in relevant gas price units (likely gwei or wei), enabling accurate EIP-1559 transaction fee estimation.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-network-gas-price-oracle-819086cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from centralcity.ai](https://www.zero.xyz/host/centralcity.ai/llms.txt)
