# Coinlight Cross-Chain Wallet Portfolio

> Coinlight Cross-Chain Wallet Portfolio is a paid API for AI agents from coinlight-app.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns a USD-valued portfolio snapshot across Solana and Base, including all token holdings priced from live DEX liquidity, sorted by value with dust/unpriced tokens flagged.

## Facts

- Endpoint: GET https://coinlight-app.vercel.app/p/wallet-portfolio?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlight-cross-chain-wallet-portfolio-f1f8843f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XslswKkEA1M5bU83sCr1F

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 coinlight-cross-chain-wallet-portfolio-f1f8843f
```

Example prompt: Can you pull up the full USD portfolio for my Solana wallet HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM and my Base wallet 0xa30f3C68f2F6067EE5b9d5f651426E44Ea8AdAE9 — I want to see everything I hold across both chains sorted by value, with any dust flagged?

## When to prefer this

Use this endpoint when you need a unified USD-valued view of holdings across both Solana and Base in a single call. It is preferable to per-chain balance checks when the user has wallets on both chains, needs live DEX-sourced pricing (not CoinGecko or centralized feeds), and wants automatic dust detection and value-sorted output. Choose this over separate token-price or balance endpoints when the goal is a comprehensive portfolio snapshot rather than a single token's price.

## Known failure modes

- Invalid or malformed wallet address returns an error
- No wallets provided (both solana and evm omitted) returns a bad-request error
- Token price unavailable from DEX liquidity results in token being flagged as unpriced rather than valued
- Network timeouts or DEX feed latency may cause partial results or slow responses
- Empty wallet with no holdings returns an empty asset list

## How this service works

Coinlight charges USDC per API call with the x402 protocol on Solana and Base.

## Output

A JSON object listing all token holdings across the specified Solana and/or Base wallets, each with its USD price sourced from live DEX liquidity, quantity held, and total USD value. Holdings are sorted descending by value. Tokens with negligible value are flagged as dust; tokens without a discoverable price are flagged as unpriced. The response includes SOL, all SPL/Token-2022 tokens on Solana, and Base ETH and USDC.

## 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",
     "examples": [
      {
       "evm": "0xa30f3C68f2F6067EE5b9d5f651426E44Ea8AdAE9",
       "solana": "HD1ryR3dYSXBVNGfJZydbpmnChiE1wrAQkupWWtHt4pM"
      }
     ],
     "required": [],
     "properties": {
      "evm": {
       "type": "string",
       "description": "0x wallet on Base. Optional."
      },
      "solana": {
       "type": "string",
       "description": "Solana wallet (base58). Optional."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoint": "Cross-chain wallet portfolio (Solana + Base, USD valued)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinlight-cross-chain-wallet-portfolio-f1f8843f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinlight-app.vercel.app](https://www.zero.xyz/host/coinlight-app.vercel.app/llms.txt)
