# Gas Fee Lookup API (Solana & Ethereum)

> Gas Fee Lookup API (Solana & Ethereum) is a paid API for AI agents from 194-28-85-99.sslip.io, paid per call via x402, $0.005/call, status down (last checked 2026-11-15).

Returns current gas fee estimates for Solana and Ethereum networks, including base fees, priority fees, and estimated transfer costs.

## Facts

- Endpoint: GET https://194-28-85-99.sslip.io/api/v1/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: down
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-fee-lookup-api-solana-ethereum-2a0580ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DLCIUFDZdXAMCzEKUd33x

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 gas-fee-lookup-api-solana-ethereum-2a0580ff
```

Example prompt: What are the current gas fees on Ethereum and Solana — give me base fees, priority fees, and estimated transfer costs for each?

## When to prefer this

Use this endpoint when an AI agent needs real-time gas fee data for Solana or Ethereum before executing a transaction, estimating costs, or deciding between chains. It is especially suited for autonomous agents operating in a pay-per-call x402 environment where automated micropayments are handled natively. Prefer this over manual RPC calls when you want structured, normalized fee data for both chains in one call.

## Known failure modes

- HTTP 402 Payment Required — payment must be submitted before the response is returned
- Stale data if underlying RPC nodes are lagging
- Network-specific data may be missing if one chain's node is unreachable
- Payment signature older than max_tx_age_seconds is rejected with an error

## How this service works

Crypto market data and web tools for autonomous agents: read web pages, PDFs and YouTube transcripts, check domains and tokens. Every `/api/v1/*` call is paid per call: **$0.003** for simple reads, **$0.005-$0.01** for aggregates, **$0.02-$0.03** for token risk checks and reports (USDC or USDT). Each route's price is in `x-payment-info`.

**x402 agents:** pay automatically. The 402 response carries a standard `PAYMENT-REQUIRED` header (x402 v2, USDC on Base or Solana, USDT on Solana); retry with `PAYMENT-SIGNATURE`.

**Manual (legacy) flow:** call the endpoint, read the HTTP 402 JSON (`pay_to`, `asset`, `price`), send the USDT transfer, then repeat the call with header `X-Payment-Tx: <signature>`. One signature pays for one call; signatures older than the `max_tx_age_seconds` value are rejected.

Machine-readable spec: `/openapi.json`. LLM summary: `/llms.txt`. MCP server: `POST /mcp`.

## Output

A JSON object with a Unix timestamp and two sub-objects: 'solana' (base_fee_lamports, transfer_cost_sol, median_priority_fee_micro_lamports) and 'ethereum' (base_fee_gwei, gas_price_gwei, priority_fee_gwei, transfer_cost_eth). Provides real-time snapshot of network fee conditions on both chains.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 1767225600,
  "solana": {
   "base_fee_lamports": 5000,
   "transfer_cost_sol": 0.0000052,
   "median_priority_fee_micro_lamports": 1000
  },
  "ethereum": {
   "base_fee_gwei": 0.4,
   "gas_price_gwei": 0.42,
   "priority_fee_gwei": 0.02,
   "transfer_cost_eth": 0.0000088
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-fee-lookup-api-solana-ethereum-2a0580ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 194-28-85-99.sslip.io](https://www.zero.xyz/host/194-28-85-99.sslip.io/llms.txt)
