# Basebrain AI Solana Portfolio

> Basebrain AI Solana Portfolio is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.14/call, status unknown (last checked 2026-09-15).

Retrieves portfolio data for a Solana wallet address, returning asset holdings and balances

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/rapid/solana-portfolio
- Price: $0.14/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-ai-solana-portfolio-0f960f52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pYmK6l1C-dBEKU7C2gahD

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 basebrain-ai-solana-portfolio-0f960f52 -d '<json body>'
```

Example prompt: Can you pull up the full portfolio for my Solana wallet address 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin and show me what tokens I'm holding?

## When to prefer this

Choose this endpoint when you need to retrieve the current token holdings and asset portfolio of a specific Solana wallet address in a single API call. It is well-suited for DeFi dashboards, wallet auditing, or on-chain due diligence workflows where Solana ecosystem data is required. Prefer this over generic blockchain explorers when you need structured, machine-readable portfolio data for downstream processing.

## Known failure modes

- Invalid or malformed Solana wallet address returns an error
- Empty or new wallet with no holdings may return empty portfolio data
- Network or RPC node timeouts may cause delayed or failed responses
- Payment failure (x402) if USDC balance is insufficient
- Schema mismatch if required wallet address parameter is missing from request body

## How this service works

Generated by create next app

## Output

Returns a result object containing the Solana wallet's portfolio data, including token holdings, asset balances, and related on-chain asset information for the queried wallet address.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-ai-solana-portfolio-0f960f52/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
