# ChainRay Oracle Price Feed

> ChainRay Oracle Price Feed is a paid API for AI agents from chainray.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches real-time oracle price data for a specified token on a given blockchain network

## Facts

- Endpoint: GET https://chainray.online/oracle/price-feed/:var1
- 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/chainray-oracle-price-feed-1d6b10c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s5cnsZs6qctPKyj2bnhjN

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 chainray-oracle-price-feed-1d6b10c6
```

Example prompt: What's the current oracle price for ETH on Ethereum mainnet? Use ChainRay's price feed to pull the on-chain oracle data.

## When to prefer this

Use this endpoint when you need real-time, on-chain oracle price data for a specific token across a supported blockchain. Prefer this over off-chain price APIs when you need verifiable, oracle-sourced pricing for DeFi applications, risk calculations, or smart contract interactions. ChainRay covers 46+ chains making it suitable for multi-chain price lookups.

## Known failure modes

- Token symbol or contract address not found — returns 404 or empty result
- Unsupported chain identifier — returns error indicating chain is not available
- Payment not processed or insufficient USDC balance — returns 402 Payment Required
- Rate limit exceeded — returns 429 Too Many Requests
- Oracle feed unavailable or stale data — returns error or degraded response

## How this service works

ChainRay /oracle/price-feed

## Output

Returns the current oracle-sourced price for the requested token on the specified blockchain network, including price value and relevant feed metadata.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "token": {
       "type": "string",
       "description": "Token symbol or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-oracle-price-feed-1d6b10c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainray.online](https://www.zero.xyz/host/chainray.online/llms.txt)
