# 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-16).

Fetches the current on-chain price feed for a specified token on a given blockchain network

## Facts

- Endpoint: GET https://chainray.online/oracle/price-feed/%7Btoken%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-oracle-price-feed-abc42196
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fN_sJzfc891Oltl_-D3QK

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-abc42196
```

Example prompt: What is the current on-chain oracle price for ETH on the Ethereum mainnet? Pull it from ChainRay's price feed.

## When to prefer this

Use this endpoint when you need real-time, verifiable on-chain oracle price data for a specific token across one of 46 supported blockchains, especially in DeFi automation, arbitrage detection, portfolio valuation, or any agent workflow requiring trustworthy token prices with pay-per-request flexibility.

## Known failure modes

- Unsupported token symbol or contract address returns 404 or error
- Unsupported or unrecognized chain returns an error response
- Missing required token query parameter returns 400 bad request
- Payment not fulfilled (x402) results in 402 Payment Required
- Network or RPC issues on the target chain may cause delays or errors
- Rate limiting or quota exceeded for the pay-per-request model

## How this service works

The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.

## Output

Returns the current price feed data for the requested token on the specified chain, sourced from on-chain oracles. Includes price value and associated metadata such as chain, token identifier, and timestamp of the feed.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "ethereum",
   "token": "ETH"
  }
 }
}
```

## 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-abc42196/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)
