# Solana SPL Token Account Balance

> Solana SPL Token Account Balance is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-29).

Retrieves the current token balance for a specific SPL token account address on Solana

## Facts

- Endpoint: POST https://twin.unykorn.org/solana-token-balance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-spl-token-account-balance-9467b7a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lJXHPQqMoL5FVuwHJu7-Q

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 solana-spl-token-account-balance-9467b7a0 -d '<json body>'
```

Example prompt: What's the current SPL token balance for the Solana token account address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?

## When to prefer this

Use this endpoint when you need the current balance of a specific SPL token account on Solana and are comfortable with a pay-per-call model ($0.003 USDC via x402). Prefer this over free RPC calls when you want a managed, receipted service with provenance tracking. Best for agents or automation pipelines that need verified, auditable balance lookups on Solana token accounts.

## Known failure modes

- Invalid base58 address format — returns error if address doesn't match the 32-44 character base58 pattern
- Account not found — if the address doesn't correspond to an existing SPL token account
- Network or RPC issues querying the Solana blockchain
- Payment failure — x402 payment of $0.003 USDC not fulfilled before response is served

## How this service works

Balance of one specific SPL token account — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok status, the balance type identifier ('solana-token-balance'), and a payment receipt containing tx_hash, amount_usd paid, and a receipt_id, along with the timestamp when the balance was fetched. The actual token balance value is returned within this structure.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "address": {
     "type": "string",
     "pattern": "^[1-9A-HJ-NP-Za-km-z]{32,44}$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "solana-token-balance",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.25,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-spl-token-account-balance-9467b7a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
