# Base Network Fee Tracker

> Base Network Fee Tracker is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Tracks Base network gas fee trends over time, including average gas per block, cheapest hours, and L1 vs L2 fee comparisons to help time transactions optimally.

## Facts

- Endpoint: POST https://httpay.xyz/api/fee-tracker
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-1b813ddb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bJWXMx8V20jawSBwHlX78

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 httpay-xyz-1b813ddb -d '<json body>'
```

Example prompt: What are the gas fee trends on Base right now — show me the average gas per block, the cheapest hours to transact, and how L1 compares to L2 fees so I can time my next transaction well.

## When to prefer this

Use this endpoint when an AI agent needs to optimize transaction timing on the Base L2 network by analyzing historical and recent gas fee patterns, particularly when cost-sensitive transactions should be scheduled during low-fee windows. Prefer this over a real-time gas price snapshot when trend analysis and cheapest-hour identification are needed.

## Known failure modes

- Network data unavailable — upstream Base RPC node unreachable
- Payment not processed — 402 response if USDC payment fails
- Rate limit exceeded — too many requests in short period
- Malformed request body — missing required parameters returns 400
- Stale data — fee trends may lag real-time conditions by a few blocks

## How this service works

Track Base network fee trends over time — avg gas per block, cheapest hours, L1 vs L2 comparison. Useful for agents timing their transactions.

## Output

Returns Base network gas fee trend data including average gas per block over time, identified cheapest hours for transactions, and a comparison of L1 versus L2 fee costs to help agents choose optimal transaction timing.

## Example request

```json
{
 "network": "base",
 "timeRange": "24h"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Track Base network fee trends over time — avg gas per block, cheapest hours, L1 vs L2 comparison. Useful for agents timing their transactions."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-1b813ddb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
