# RagRadar Gas Price API

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

Retrieves current on-chain gas prices and fee data for EVM-compatible and Solana blockchains

## Facts

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

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 ragradar-gas-price-api-eae48575
```

Example prompt: What are the current gas prices on Base right now? I want to know if it's cheap enough to submit my transaction.

## When to prefer this

Use RagRadar's gas endpoint when you need real-time on-chain gas fee data specifically for Base, Arbitrum, or Solana and are comfortable with x402 micropayment authentication. Prefer this over free alternatives when building autonomous AI agents that need reliable, programmatic gas intelligence at sub-cent cost per call.

## Known failure modes

- Unsupported chain identifier returns error or empty data
- Network congestion or RPC issues may cause stale or unavailable data
- Malformed request parameters may yield generic error response
- Service may be temporarily unavailable if underlying RPC nodes are down

## How this service works

On-chain intelligence for AI agents. 70+ endpoints across Base, Arbitrum, Solana. x402 micropayments.

## Output

Returns current gas price data for the queried blockchain network, including fee estimates (likely base fee, priority fee, and overall gas price in gwei or lamports), and network status indicators. Response is JSON with an ok status field and fee data.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

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