# VerifyOracle Base Gas Price

> VerifyOracle Base Gas Price is a paid API for AI agents from verify-oracle.run402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).

Returns live EIP-1559 gas price data (base fee, priority fee, block number) from Base Mainnet (chainId 8453) via direct RPC.

## Facts

- Endpoint: GET https://verify-oracle.run402.com/api/base-gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/verifyoracle-base-gas-price-dc1f390d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8_g6maczefveWP7CWxF6l

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 verifyoracle-base-gas-price-dc1f390d
```

Example prompt: What's the current gas price on Base Mainnet right now — give me the base fee and priority fee in gwei and the latest block number.

## When to prefer this

Choose this endpoint when you need live, real-time EIP-1559 gas data directly from Base Mainnet RPC — specifically base fee, priority fee, and current block number. Prefer this over generic gas APIs when you need Base-specific data (chainId 8453) rather than Ethereum mainnet, and when you need both gwei and wei representations in a single call.

## Known failure modes

- RPC node unavailability may cause 503 or delayed response
- Invalid chain query parameter returns error or defaults to base
- Stale data if RPC node is behind the chain tip
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Live Base Mainnet (chainId 8453) gas price, EIP-1559 base fee in gwei, and block number directly from Base Mainnet RPC.

## Output

Returns a JSON object with: chain name, chainId (8453), network label ('base-mainnet'), timestamp, baseFeeGwei, priorityFeeGwei, baseFeePerGasWei, baseFeePerGasGwei, blockNumber, blockTimestamp, price/value (cost of the API call in USDC), and source identifier ('base-mainnet-rpc').

## 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": {
      "chain": {
       "type": "string",
       "description": "Target chain (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "price": 0.0012,
  "value": 0.0012,
  "source": "base-mainnet-rpc",
  "chainId": 8453,
  "network": "base-mainnet",
  "timestamp": "2026-10-21T18:00:00.000Z",
  "baseFeeGwei": 0.0012,
  "blockNumber": 52908000,
  "blockTimestamp": 1761069000,
  "priorityFeeGwei": 0.0003,
  "baseFeePerGasWei": "1200000",
  "baseFeePerGasGwei": 0.0012
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/verifyoracle-base-gas-price-dc1f390d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from verify-oracle.run402.com](https://www.zero.xyz/host/verify-oracle.run402.com/llms.txt)
