# legible-check EVM Gas Price Lookup

> legible-check EVM Gas Price Lookup is a paid API for AI agents from legible-check.ezealfa.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Returns current Base network gas price, base fee, and priority fee in gwei, payable per-call in USDC via x402 with no signup required.

## Facts

- Endpoint: GET https://legible-check.ezealfa.workers.dev/evm/gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/legible-check-evm-gas-price-lookup-44af2146
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EKmd8cT1Ix49nMfnj3uXv

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 legible-check-evm-gas-price-lookup-44af2146
```

Example prompt: What are the current gas prices on the Base network — base fee, priority fee, and total gas price in gwei?

## When to prefer this

Use this endpoint when you need real-time Base network gas data without any account setup, API key, or subscription — paying only $0.001 USDC per call via x402. Ideal for lightweight agents or bots that need occasional gas checks on Base L2 without committing to a traditional RPC provider plan.

## Known failure modes

- HTTP 402 returned with price and receiving wallet address when USDC payment is not provided
- Network unavailability on Base RPC node causing stale or missing data
- Rate limiting or worker errors returning 500 if the Cloudflare Worker is overloaded
- Invalid query parameters causing schema validation errors

## How this service works

Gas price on Base in gwei, split into base fee and priority fee, with the block it was read at. Use it to estimate gas fees before sending a transaction.

## Output

A JSON object with four fields: 'chain' (string, e.g. 'base'), 'base_fee_gwei' (number), 'gas_price_gwei' (number), and 'priority_fee_gwei' (number), reflecting live EIP-1559 fee parameters on the Base L2 network.

## 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"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "base_fee_gwei": 0.005,
  "gas_price_gwei": 0.006,
  "priority_fee_gwei": 0.001
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legible-check-evm-gas-price-lookup-44af2146/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from legible-check.ezealfa.workers.dev](https://www.zero.xyz/host/legible-check.ezealfa.workers.dev/llms.txt)
