# NodeFlare Multi-Chain Portfolio API

> NodeFlare Multi-Chain Portfolio API is a paid API for AI agents from rpc.nodeflare.app, paid per call via x402, $0.0051/call, status unknown (last checked 2026-09-15).

Returns USD-valued native and ERC-20 token balances for a single wallet address across up to 23 EVM chains, with per-chain breakdown and a rolled-up total USD value.

## Facts

- Endpoint: POST https://rpc.nodeflare.app/data/portfolio/x402
- Price: $0.0051/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nodeflare-multi-chain-portfolio-api-00033794
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CR64jKSvFL1aJWVZvYqgu

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 nodeflare-multi-chain-portfolio-api-00033794 -d '<json body>'
```

Example prompt: What's the total USD value of wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 across all EVM chains, and break it down by chain sorted by value?

## When to prefer this

Choose this endpoint when you need a fast, single-call multi-chain portfolio snapshot with USD valuation for one wallet, especially when coverage of newer or less-indexed EVM chains (Ink, Plasma, Robinhood) is required that Alchemy or Moralis would miss. Prefer this over chain-specific RPC calls when you want an aggregated, USD-valued view without assembling individual chain queries. No API key or account setup required — pay per call in USDC via x402.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Chain is temporarily unreachable or RPC is down, may omit that chain from results
- Newly deployed tokens with no price feed return zero USD value
- Rate limiting or payment failure returns 402 or error response
- Address with no balances returns zeros across all chains

## How this service works

Multi-chain portfolio API: USD-valued native + ERC-20 balances for one address across up to 23 EVM chains (incl. young chains like Robinhood, Plasma, Ink that Alchemy/Moralis omit), with a rolled-up total USD value and per-chain breakdown sorted by value. Pay per call in USDC, no account or API key - built for AI agents.

## Output

A JSON response containing: total USD portfolio value rolled up across all chains, a per-chain array sorted by value including native token balance and ERC-20 holdings per chain, each token's USD price and amount, and metadata about which chains were queried.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "tokens": {
   "type": "object"
  },
  "address": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nodeflare-multi-chain-portfolio-api-00033794/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rpc.nodeflare.app](https://www.zero.xyz/host/rpc.nodeflare.app/llms.txt)
