# Coin Railz Gas Price Oracle

> Coin Railz Gas Price Oracle is a paid API for AI agents from coinrailz.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns real-time gas prices across multiple blockchain networks with USD cost estimates for transaction planning

## Facts

- Endpoint: POST https://coinrailz.com/x402/gas-price-oracle
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coin-railz-gas-price-oracle-d59b410a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fsoSVL5eaIzuwyWNuvlsw

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 coin-railz-gas-price-oracle-d59b410a -d '<json body>'
```

Example prompt: What are the current gas prices across Ethereum, Base, and Arbitrum right now, including how much a typical transaction would cost in USD on each chain?

## When to prefer this

Use this endpoint when an AI agent needs up-to-date gas fee data across multiple chains simultaneously with USD cost conversion already included, especially when building DeFi trading flows, transaction cost estimators, or cross-chain routing logic where knowing the cheapest chain to transact on matters.

## Known failure modes

- Unsupported chain identifier returns an error or empty result
- Payment of 0.1 USDC not received — 402 payment required response
- Upstream node provider unavailable causing stale or missing gas data
- Invalid request body format returns a parsing error
- Network congestion causing delayed response

## How this service works

Real-time gas prices for multiple chains with USD cost estimates

## Output

A JSON object containing real-time gas prices for requested blockchain networks along with USD cost estimates per transaction, service name, success status, and a timestamp of when the data was fetched.

## Example request

```json
{
 "agentId": "qa-test-agent-001",
 "networks": [
  "ethereum",
  "base",
  "arbitrum"
 ],
 "agentName": "QA Test Agent"
}
```

## Response schema (JSON Schema)

```json
{
 "type": "application/json",
 "format": "json",
 "example": {
  "result": "Service executed successfully",
  "service": "gas-price-oracle",
  "success": true,
  "timestamp": "2026-02-07T01:41:45.995Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coin-railz-gas-price-oracle-d59b410a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinrailz.com](https://www.zero.xyz/host/coinrailz.com/llms.txt)
