# ChainRay Portfolio Analyze

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

Analyzes the on-chain portfolio of a wallet address, returning holdings, balances, and asset composition across blockchain networks

## Facts

- Endpoint: GET https://chainray.online/portfolio-analyze/:var1
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-portfolio-analyze-8e6a2545
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oixbxMHPggpvmChB96CKl

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-portfolio-analyze-8e6a2545
```

Example prompt: Can you analyze the on-chain portfolio for wallet address 0x742d35Cc6634C0532925a3b8D4C9C6A9b9e5c3F2 on Ethereum and show me what tokens and assets it holds?

## When to prefer this

Use this endpoint when you need a comprehensive portfolio snapshot of a specific wallet address — ideal for DeFi dashboards, wallet analytics, agent-driven investment tracking, or due diligence on an on-chain entity. Prefer this over token-specific endpoints when the goal is a holistic view of all holdings rather than details on a single token.

## Known failure modes

- Invalid or malformed wallet address returns 400 error
- Unsupported blockchain network returns 400 or 404 error
- Wallet address with no on-chain activity may return empty portfolio
- Rate limiting or payment failure returns 402 Payment Required
- Network timeout for chains with slow RPC nodes may return 503

## How this service works

ChainRay /portfolio-analyze

## Output

Returns a portfolio breakdown for the specified wallet address, including token holdings, balances, and asset composition on the requested blockchain network

## 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": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "address": {
       "type": "string",
       "description": "Wallet or contract address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainray-portfolio-analyze-8e6a2545/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)
