# Base Chain Gas Oracle

> Base Chain Gas Oracle is a paid API for AI agents from market.561.group, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Returns the current gas price on the Base network in both wei and gwei, along with the block number at which it was read, fetched live from a public Base RPC node via eth_gasPrice.

## Facts

- Endpoint: GET https://market.561.group/v1/base-chain/gas-oracle?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-chain-gas-oracle-19847781
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hpWT9GOfiYe6diE7uOM1S

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-chain-gas-oracle-19847781
```

Example prompt: What's the current gas price on the Base network right now — give me the value in both wei and gwei and tell me which block it was read from.

## When to prefer this

Choose this endpoint when you need a lightweight, real-time gas price check on the Base network specifically (not Ethereum mainnet or other L2s), and you want both wei and gwei denominations along with block provenance in a single call. It is ideal for agents making pre-transaction fee estimates, building gas monitoring workflows, or triggering actions based on Base gas thresholds. Prefer this over a general Ethereum gas oracle when you are operating on Base and need block-anchored readings.

## Known failure modes

- RPC node unavailability: the public Base RPC node may be temporarily unreachable, resulting in a service error
- Stale data risk: the snapshot block reflects the moment of the RPC call, so rapidly changing network conditions may make the value slightly outdated by the time it's used
- Rate limiting: repeated rapid calls may be throttled or result in payment failures at $0.001 per call
- Network congestion on Base: during extreme congestion, the RPC response itself may be delayed

## How this service works

Current Base network gas price, read live from a public Base RPC node (eth_gasPrice) and returned in both wei and gwei with the snapshot block it was read at.

## Output

Returns a JSON object containing three fields: weiGasPrice (the current gas price as a string in wei), gweiGasPrice (the current gas price as a number in gwei), and snapshotBlock (the block number string at which the price was read 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "weiGasPrice",
      "gweiGasPrice",
      "snapshotBlock"
     ],
     "properties": {
      "weiGasPrice": {
       "type": "string"
      },
      "gweiGasPrice": {
       "type": "number"
      },
      "snapshotBlock": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-chain-gas-oracle-19847781/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.561.group](https://www.zero.xyz/host/market.561.group/llms.txt)
