# Base Gas Oracle

> Base Gas Oracle is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns live Base network gas fees including baseFee, maxPriorityFee, and slow/normal/fast tiered suggestions in Gwei for transaction cost estimation

## Facts

- Endpoint: GET https://402.com.tr/api/x402/gas-oracle
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-gas-oracle-abed5672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iG00p8tXiaYa0rgJQsOpC

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-gas-oracle-abed5672
```

Example prompt: What are the current gas fees on Base? I want to know the baseFee, maxPriorityFee, and the slow, normal, and fast tier suggestions in Gwei before I submit my transaction.

## When to prefer this

Use this endpoint when you need real-time Base network gas fee data specifically — including tiered slow/normal/fast suggestions — for transaction timing or cost estimation on the Base L2. Prefer this over generic Ethereum mainnet gas oracles when your transactions are on Base. It is especially useful for agents that need to decide whether to submit a transaction immediately or wait for cheaper gas.

## Known failure modes

- Base RPC node unavailable — upstream connectivity failure returns an error response
- Stale or delayed gas data if the RPC node is lagging behind the chain tip
- Rate limiting or payment failure if the x402 micropayment of $0.01 USDC is not processed correctly
- Malformed response if the Base RPC returns unexpected data format

## How this service works

Returns current Base gas fees (baseFee, maxPriorityFee) and three tiered suggestions (slow, normal, fast) in Gwei, derived live from the Base RPC. Built for agents that time or cost-estimate transactions.

## Output

Returns a JSON object with the current Base network baseFee and maxPriorityFee, plus three tiered gas price suggestions (slow, normal, fast) all expressed in Gwei, derived live from the Base RPC node.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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-gas-oracle-abed5672/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
