# Base Gas Price

> Base Gas Price is a paid API for AI agents from aizamon.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Returns the current Base network gas price and latest base fee in both wei and gwei, with a signed Ed25519 receipt for verification.

## Facts

- Endpoint: GET https://aizamon.com/x402/v1/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-gas-price-dc7868d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6P4a5Aes_b2En7o0x6s6p

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 base-gas-price-dc7868d4
```

Example prompt: What's the current gas price on Base right now — give me both the wei and gwei values?

## When to prefer this

Choose this endpoint when you need a quick, verifiable, real-time lookup of Base network gas prices in both wei and gwei with cryptographic proof of authenticity. Prefer it over raw RPC calls when you need signed receipts for auditability, or when building agents that must confirm current Base transaction costs before executing on-chain actions. Best for lightweight single-call gas checks rather than historical analysis.

## Known failure modes

- Payment not included or invalid — returns 402 Payment Required
- Base RPC node temporarily unavailable — returns 503 or error payload
- Network timeout fetching on-chain gas data — delayed or error response
- Invalid or expired hour-pass token — returns 401 Unauthorized

## How this service works

Get the Base gas price and the latest base fee, in wei and gwei. Both figures come back on the same call. $0.005 USDC. Included in the hour pass. Includes a signed Base fact you can check with the published receipt key. Includes a signed Ed25519 receipt you can check with the published key.

## Output

Returns a JSON object with the current Base network gas price and latest base fee expressed in both wei and gwei, along with a signed Base fact and a signed Ed25519 receipt that can be verified against the provider's published key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "sku": {
       "type": "string"
      },
      "result": {
       "type": "object"
      },
      "protocol": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-gas-price-dc7868d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aizamon.com](https://www.zero.xyz/host/aizamon.com/llms.txt)
