# FreeTier Agent API — Base Gas Price

> FreeTier Agent API — Base Gas Price is a paid API for AI agents from freetier-agent-api.pages.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).

Returns the current Base network gas price in gwei and the estimated ETH cost of a USDC transfer, along with the latest block number.

## Facts

- Endpoint: GET https://freetier-agent-api.pages.dev/api/base-gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freetier-agent-api-base-gas-price-e5d29ba7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rEDDrooT8T1xAMsdwkun5

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 freetier-agent-api-base-gas-price-e5d29ba7
```

Example prompt: What's the current gas price on Base right now, and how much ETH would a USDC transfer cost?

## When to prefer this

Choose this endpoint when your AI agent needs a quick, pay-per-call (no signup) lookup of Base network gas prices denominated in gwei and ETH cost of USDC transfers. Particularly useful for agents that need to estimate transaction fees before executing on-chain payments via x402/USDC on Base. Prefer over raw RPC calls when you want a simple REST JSON response with cited sources and no node infrastructure.

## Known failure modes

- Network unavailability — Base RPC node unreachable, returns error response
- Stale data — gas price may lag real-time by a few seconds depending on block frequency
- Invalid payment — x402 USDC payment not processed, returns 402 with payment requirements
- Unexpected schema — rare format changes in Base RPC responses

## How this service works

Pay-per-call data API for AI agents: AI model prices and cost calculator, 4,259 MCP servers, email domain checks, text-to-JSON extraction, country/holiday/currency lookup, page and link checks, page-to-markdown, 2,230 verified APIs. x402, USDC on Base, no signup. Sources cited in every response.

## Output

Returns a JSON object with the latest Base block number, the current gas price in gwei (e.g. 0.006 gwei), and the estimated ETH cost of a USDC transfer (e.g. 3.9e-7 ETH). Sources are cited in the response.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 30000000,
  "gas_price_gwei": 0.006,
  "usdc_transfer_eth": 3.9e-7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freetier-agent-api-base-gas-price-e5d29ba7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from freetier-agent-api.pages.dev](https://www.zero.xyz/host/freetier-agent-api.pages.dev/llms.txt)
