# booAIP Gas Price API

> booAIP Gas Price API is a paid API for AI agents from booaip.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the current gas price in Gwei for the Base blockchain network

## Facts

- Endpoint: GET https://booaip.vercel.app/api/gas
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/booaip-gas-price-api-f3a2bebb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0mLv5wBBhL7W2fgo2AFJ_

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 booaip-gas-price-api-f3a2bebb
```

Example prompt: What's the current gas price on Base right now in Gwei? I want to know if it's a good time to submit a transaction.

## When to prefer this

Use this endpoint when an AI agent needs live gas price data for the Base blockchain before executing or estimating the cost of an on-chain transaction. Prefer this over general blockchain explorers when you need a simple, machine-readable, pay-per-call API that integrates with the x402 micropayment protocol on Base.

## Known failure modes

- Network congestion causing stale or delayed gas price data
- x402 payment failure due to insufficient USDC balance, resulting in a 402 Payment Required response
- Invalid or unsupported chain parameter returning an error
- Service unavailability on Vercel infrastructure causing 5xx errors

## How this service works

Current gas price (gwei) on an EVM chain via on-chain read. Body: { chain }.

## Output

A JSON object containing the chain name (e.g. 'base') and the current gas price in Gwei (e.g. 0.05), representing the live network gas fee for the Base blockchain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "eth, bnb, or base."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "gasPriceGwei": 0.05
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/booaip-gas-price-api-f3a2bebb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from booaip.vercel.app](https://www.zero.xyz/host/booaip.vercel.app/llms.txt)
