# RagRadar Gas Price API

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

Retrieves current on-chain gas price data for blockchain networks supported by RagRadar (Base, Arbitrum, Solana)

## Facts

- Endpoint: GET https://backup.ragradar.space/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-8b9bb3f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VNEGfk8ox38nAA8G0Tfi_

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-8b9bb3f3
```

Example prompt: What's the current gas price on Base right now? I want to know if it's a good time to submit a transaction.

## When to prefer this

Use this endpoint when an AI agent needs real-time gas price data for Base, Arbitrum, or Solana networks, especially in automated workflows that decide whether to submit on-chain transactions based on current fee conditions. Prefer RagRadar over generic gas trackers when already using RagRadar's broader on-chain intelligence suite and when x402 micropayment-based access is acceptable.

## Known failure modes

- Unsupported network or chain identifier returns error response
- Endpoint temporarily unavailable on backup domain due to failover issues
- x402 micropayment not processed — returns 402 Payment Required
- Stale or cached data if on-chain RPC is lagging
- Malformed query parameters return unexpected results due to loose input schema

## How this service works

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

## Output

Returns a JSON object with status 'ok' and current gas price data for the queried blockchain network, including fee estimates relevant to transaction planning on Base, Arbitrum, or Solana.

## 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-8b9bb3f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from backup.ragradar.space](https://www.zero.xyz/host/backup.ragradar.space/llms.txt)
