# x402stock Solana Account Balance

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

Returns the native SOL balance and basic on-chain account state (lamports, owner program, executable flag, data size) for any Solana address.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/solana/balance/:address
- 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-c406491e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jX4T52up9LvC2KTWW3Z5E

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-c406491e
```

Example prompt: What's the current SOL balance and account state for the Solana wallet address 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU?

## When to prefer this

Choose this endpoint when you need raw, on-chain native SOL balance and account metadata for a Solana address without managing API keys or subscriptions. It is ideal for lightweight wallet-monitoring tasks, verifying account existence, or auditing program ownership on Solana. Prefer it over third-party portfolio aggregators when you want direct ledger data with pay-per-call pricing and no account setup.

## Known failure modes

- Invalid base58 address format — returns error indicating malformed address
- Account does not exist on-chain — returns exists: false with zero balance
- Network or RPC availability issues — may return a timeout or upstream error
- Incorrect path parameter (missing address) — returns 404 or bad request

## How this service works

The native SOL balance and basic account state for any Solana address, read from the public ledger: lamports and SOL, whether the account exists, its owning program, executable flag, and data size. Pass a base58 address in the path. Keyless on-chain data — no Jupiter API, no account. From x402stock, a pay-per-call market & economic data API. Pay per request in USDC via x402, no API key.

## Output

Returns the native SOL and lamport balance, a boolean indicating whether the account exists, the owning program public key, whether the account is executable, and the size of the account's data — all sourced directly from the Solana public ledger without requiring an API key.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "address": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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