# fastapi.online — Solana Token Accounts Lookup

> fastapi.online — Solana Token Accounts Lookup is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Returns all SPL token accounts held by a given Solana wallet address

## Facts

- Endpoint: POST https://api.fastapi.online/sol-token-accounts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-solana-token-accounts-lookup-e46928ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wgTgx72Dhw5SrhtJ7ko9Y

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 fastapi-online-solana-token-accounts-lookup-e46928ed -d '<json body>'
```

Example prompt: Can you fetch all the SPL token accounts for Solana wallet address 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call way to enumerate all SPL token accounts for a Solana wallet without managing your own RPC node or signing up for an API key. It is ideal for ad-hoc agent workflows that need on-chain token data without a persistent subscription.

## Known failure modes

- Invalid or malformed Solana address returns an error
- Address with no token accounts returns an empty list
- Network or RPC timeout returns a service error
- Payment not processed results in HTTP 402 before the query executes

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A list of SPL token accounts associated with the provided Solana wallet address, including each account's mint address, token balance, and account metadata such as the account public key and owner program.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-solana-token-accounts-lookup-e46928ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
