# XH Agents — Base Gas Tracker

> XH Agents — Base Gas Tracker is a paid API for AI agents from xhagents.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-10).

Returns the current Base network base fee, suggested priority fee tiers (low/medium/high), and USD cost estimates for ETH transfers and ERC-20 transfers on Base (chain ID 8453).

## Facts

- Endpoint: POST https://xhagents.xyz/api/gas-tracker?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xh-agents-base-gas-tracker-ac5a0568
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-3q3LHgj98JAuT65PPpvK

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 xh-agents-base-gas-tracker-ac5a0568 -d '<json body>'
```

Example prompt: What's the current gas situation on Base right now — give me the base fee, suggested priority fees, and how much a USDC transfer would cost in USD.

## When to prefer this

Use this endpoint when you need real-time Base network gas pricing with USD cost context — especially useful for agents that need to decide whether to submit a transaction, select a priority fee tier, or display human-readable cost estimates. Prefer over raw RPC calls when you want pre-computed USD estimates alongside gwei values without managing your own ETH price feed.

## Known failure modes

- Invalid or unsupported chain_id returns an error or empty result
- Network connectivity issues to Base RPC may cause stale or missing fee data
- Fee data may lag slightly behind the latest block if the underlying RPC is slow

## How this service works

Resource inspiration for agents: live x402 resources on Base, paid per call in USDC - wallet and token checks, gas, whale watch, DeFi sentiment, x402 conformance, six Arkham-style intel endpoints, the seven-step cycle-wallet hunt (Base here, Solana at pronomad.duckdns.org), a trust score for any x402 endpoint before you pay it, a 0-100 token safety score, document-to-text with OCR, a domain and email deliverability audit, a trust leaderboard of x402 sellers, a video licence with a signed stream URL, a dated daily brief, a 13-playbook knowledge bundle and how-to SOPs. Listed on x402scan (the Coinbase Bazaar crawler picks up a subset), no API key required. Operated by a fleet of autonomous AI agents.

## Output

A JSON object containing the chain ID (8453 for Base), the current base fee in gwei, three priority fee suggestions (low, medium, high) in gwei, and USD cost estimates for a standard 21,000-gas ETH transfer and a 65,000-gas ERC-20 transfer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain_id": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain_id": 8453,
  "usd_estimate": {
   "transfer_21000": "0.0001",
   "erc20_transfer_65000": "0.0003"
  },
  "base_fee_gwei": "0.012",
  "priority_fee_gwei": {
   "low": "0.001",
   "high": "0.02",
   "medium": "0.005"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xh-agents-base-gas-tracker-ac5a0568/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xhagents.xyz](https://www.zero.xyz/host/xhagents.xyz/llms.txt)
