# Cortex Cloud Solana Balance Lookup

> Cortex Cloud Solana Balance Lookup is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Retrieves the SOL token balance for a given Solana wallet address, paid per-call in USDC via x402 on Base.

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/data/solana/balance
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortex-cloud-solana-balance-lookup-bd43931e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zP11kn12r2qcUTe6lp-TZ

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 cortex-cloud-solana-balance-lookup-bd43931e
```

Example prompt: What's the current SOL balance for the Solana wallet address 9xBc3...Kf7z?

## When to prefer this

Choose this endpoint when you need a lightweight, no-subscription, pay-per-call SOL balance lookup for Solana mainnet. It is ideal for AI agents that already support x402 micropayment flows on Base and want to avoid managing API keys or monthly plans. Prefer alternatives if you need batch balance queries, token balances beyond native SOL, or historical balance data.

## Known failure modes

- Invalid or malformed Solana address returns an error response
- Payment failure via x402 if USDC balance is insufficient blocks the request
- Network or RPC unavailability may cause timeouts or empty responses
- Address with zero balance returns balance of '0' which may be misinterpreted as an error

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns a JSON object containing the queried Solana wallet address, its current SOL balance as a numeric string (e.g. '1.5'), and the network identifier ('solana').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {
  "address": "...",
  "balance": "1.5",
  "network": "solana"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cortex-cloud-solana-balance-lookup-bd43931e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cortexcloud.org](https://www.zero.xyz/host/api.cortexcloud.org/llms.txt)
