# FastX402 EVM Gas Price Lookup

> FastX402 EVM Gas Price Lookup is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns current EVM gas price data (base fee, gas price, priority fee in Gwei) for Base or Ethereum networks

## Facts

- Endpoint: GET https://fastx402.tools/evm-gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-evm-gas-price-lookup-b3d42d29
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_62AWBaOrNG_AcyrF78Wy6

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 fastx402-evm-gas-price-lookup-b3d42d29
```

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

## When to prefer this

Choose this endpoint when you need real-time EVM gas fee data for Base or Ethereum without setting up an API key or account. Ideal for AI agents executing or timing blockchain transactions, DeFi automation bots, or any workflow that needs current Gwei values. Prefer this over raw RPC calls when you want a simple pay-per-use HTTP GET with no auth setup.

## Known failure modes

- Invalid chain parameter (only 'base' and 'ethereum' are accepted) returns an error
- Payment not received or x402 flow fails — request is rejected with HTTP 402 before data is returned
- Network RPC unavailability may cause delayed or error responses
- Stale block data if upstream node is lagging

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the current block number, chain name, base fee in Gwei, total gas price in Gwei, and priority fee (miner tip) in Gwei for the requested EVM network. Example: {block: 52722598, chain: 'base', base_fee_gwei: '0.005', gas_price_gwei: '0.006', priority_fee_gwei: '0.001'}.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "base or ethereum (default base)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "block": {
       "type": "integer"
      },
      "chain": {
       "type": "string"
      },
      "base_fee_gwei": {
       "type": "string"
      },
      "gas_price_gwei": {
       "type": "string"
      },
      "priority_fee_gwei": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 52722598,
  "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/fastx402-evm-gas-price-lookup-b3d42d29/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastx402.tools](https://www.zero.xyz/host/fastx402.tools/llms.txt)
