# ChainRay /solver-feed

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

Returns optimal cross-chain swap routing, cost estimates, gas analysis, and solver market conditions for a specified blockchain network

## Facts

- Endpoint: GET https://chainray.online/solver-feed
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-online-760924c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mszeQIowikHnQO9sm32fN

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-online-760924c0
```

Example prompt: What's the best cross-chain swap route and total cost to bridge from Base to Ethereum right now — including bridge fees, gas, and slippage — using the ChainRay solver feed?

## When to prefer this

Use this endpoint when you need real-time cross-chain swap routing intelligence, including cost breakdown, slippage, gas estimates, and market competitiveness for a specific blockchain. Prefer this over generic gas fee endpoints when you need full solver-level intent routing data conforming to ERC-7683, not just gas prices.

## Known failure modes

- Invalid or unsupported chain identifier returns an error or empty route
- Network timeout if the solver feed is temporarily unavailable
- Missing required 'chain' query param may return default chain or error
- Stale data if block proof timestamp is significantly behind current time

## 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 a recommended cross-chain swap route (from/to chain and token), cost breakdown (bridge fee, gas costs from/to, expected slippage, total cost in USD), market conditions (competition level, gas trends, native token price, estimated time), a timing recommendation (e.g. execute_now), the intent standard used (ERC-7683), and a cryptographic block-level proof of data freshness.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "base"
  }
 }
}
```

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network (e.g., base, ethereum, polygon)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-online-760924c0/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)
