# x402stock Solana Account Balance Lookup

> x402stock Solana Account Balance Lookup is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the SOL balance, lamports, and account metadata for a given Solana wallet or program address, paid per-call in USDC via x402 on Base.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/solana/balance/%7Baddress%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-solana-account-balance-lookup-6de38813
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iPcyGRTKAewZa4P0IuC72

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 x402stock-solana-account-balance-lookup-6de38813
```

Example prompt: What is the current SOL balance and account details for the Solana address 5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq?

## When to prefer this

Use this endpoint when you need a simple, pay-per-call lookup of a Solana wallet or program account balance without setting up API keys or subscriptions. Ideal for AI agents that need occasional on-chain Solana balance checks and are already operating within the x402 payment ecosystem on Base.

## Known failure modes

- Invalid or malformed Solana address returns an error or account not found response
- Account does not exist on-chain (exists: false in response)
- Payment failure via x402 if insufficient USDC balance on Base
- Network timeout or Solana RPC node unavailability
- Rate limiting or downstream RPC congestion causing slow response

## How this service works

Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.

## Output

Returns a JSON object with the SOL balance as a decimal, raw lamports, account owner program ID, whether the account exists, data size in bytes, whether it is executable, and a timestamp of when the data was retrieved, sourced from x402stock via Solana mainnet.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "sol": 0.102463178,
   "owner": "PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu",
   "exists": true,
   "address": "5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq",
   "lamports": 102463178,
   "data_size": 2000,
   "executable": false
  },
  "as_of": "2026-06-08T00:00:00.000Z",
  "venue": "solana",
  "source": "x402stock"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-solana-account-balance-lookup-6de38813/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
