# Base Gas Conditions Snapshot

> Base Gas Conditions Snapshot is a paid API for AI agents from onchaincheck.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Returns real-time Base network gas metrics including block number, base fee, gas price, priority fee in gwei, and estimated ETH and USD costs for native and ERC-20 transfers.

## Facts

- Endpoint: GET https://onchaincheck.dev/base/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-gas-conditions-snapshot-29ab9da6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z1_2pnol9v_YJNadihIOE

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-conditions-snapshot-29ab9da6
```

Example prompt: What are the current gas conditions on Base — give me the base fee, gas price, priority fee in gwei, and how much a native ETH transfer and an ERC-20 transfer would cost right now in both ETH and USD.

## When to prefer this

Choose this endpoint when you need a fast, pre-packaged snapshot of Base network gas conditions including USD cost estimates derived from live ETH price data — particularly useful for agents that need to decide whether to submit a transaction, display gas costs to users, or monitor Base gas trends without building their own RPC and price-feed integration.

## Known failure modes

- Network or RPC node unavailability may return a 5xx error
- Chainlink ETH/USD price feed may be stale during extreme volatility, affecting USD estimates
- Rate limiting or payment failure may return a 402 or 429 response
- Temporary block indexing lag may return a slightly outdated block number

## How this service works

Current Base gas conditions: block number, base fee, gas price and priority fee in gwei, and the estimated cost in ETH and USD of a native transfer and an ERC-20 transfer (Chainlink ETH/USD).

## Output

A JSON object containing: the chain name ('base'), current block number, block timestamp, ETH/USD price from Chainlink, base fee in gwei, gas price in gwei, max priority fee in gwei, and estimated costs (in both native ETH and USD) for a native ETH transfer and an ERC-20 token transfer. Also includes a note that Base's L1 data fee is excluded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Excludes Base's L1 data fee, which adds a small amount per transaction.",
  "chain": "base",
  "blockTime": "2026-10-22T15:49:57.000Z",
  "nativeUsd": 2388.88,
  "baseFeeGwei": "0.005",
  "blockNumber": 52947425,
  "gasPriceGwei": "0.006",
  "nativeSymbol": "ETH",
  "estimatedCost": {
   "erc20Transfer": {
    "usd": 0.0009317,
    "native": "0.00000039"
   },
   "nativeTransfer": {
    "usd": 0.000301,
    "native": "0.000000126"
   }
  },
  "maxPriorityFeeGwei": "0.001"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-gas-conditions-snapshot-29ab9da6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchaincheck.dev](https://www.zero.xyz/host/onchaincheck.dev/llms.txt)
