# Agent Data Tools – Base Gas Price Lookup

> Agent Data Tools – Base Gas Price Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-14).

Returns live Base L2 gas prices, fee estimates, and block data including suggested maxFeePerGas, baseFee, priority fee, and estimated execution costs for ETH and ERC-20 transfers.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/base-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-base-gas-price-lookup-ba9b83f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1Mp9HFNuMSL--6jlfedmZ

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 agent-data-tools-base-gas-price-lookup-ba9b83f3
```

Example prompt: What are the current gas prices on Base right now — give me the suggested max fee, priority fee, and an estimate of what it would cost to do an ERC-20 transfer?

## When to prefer this

Choose this endpoint when you need real-time, pre-computed gas fee estimates specifically for the Base L2 network with zero setup — no API key, no account, just pay $0.001 USDC per call via x402. Ideal for AI agents that need to decide whether to submit a transaction, estimate costs before execution, or monitor Base network conditions on demand. Prefer over manually querying a Base RPC if you want convenience, pre-formatted Gwei values, and ERC-20 cost estimates in one response.

## Known failure modes

- Base RPC node unreachable — may return 5xx or stale data
- Network congestion causing delayed block data
- Payment failure (insufficient USDC balance or x402 protocol error) — request blocked before execution
- Cold-start latency on Cloudflare Worker may cause occasional timeouts

## How this service works

Read public static documentation as text or Markdown with code, tables, headings and links for $0.002 USDC on Base via x402. Inspect real cached examples and an unsigned quote, then buy with a capped Node CLI. No account or API key. No JavaScript rendering, authenticated or paywalled access. Other paid utilities remain available.

## Output

A JSON object with: chain name and chainId (8453), current block number and timestamp, checkedAt timestamp, suggested maxFeePerGasWei and maxPriorityFeePerGasWei for transaction submission, baseFeeGwei, gasPriceGwei, priorityFeeGwei, block used percentage, and pre-calculated estimated execution fees in ETH for both a standard ETH transfer and an ERC-20 token transfer.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "chainId": 8453,
  "blockTime": "2026-10-13T09:12:01.000Z",
  "checkedAt": "2026-10-13T09:12:02.000Z",
  "suggested": {
   "maxFeePerGasWei": "11400000",
   "maxPriorityFeePerGasWei": "1000000"
  },
  "baseFeeGwei": "0.0052",
  "blockNumber": 37000000,
  "gasPriceGwei": "0.0062",
  "priorityFeeGwei": "0.001",
  "blockUsedPercent": 31.4,
  "estimatedExecutionFeeEth": {
   "ethTransfer": "0.0000001302",
   "erc20Transfer": "0.000000403"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-base-gas-price-lookup-ba9b83f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
