Solana Account Tokens API avatar
Solana Account Tokens API

Pricing

$2.00 / 1,000 results

Go to Store
Solana Account Tokens API

Solana Account Tokens API

Developed by

Jacob

Jacob

Maintained by Community

Effortlessly retrieve SOL and SPL token balances for multiple Solana wallets with the Solana Balance API. Get real-time token prices, metadata, and detailed account information. Supports up to 5 wallets per run with built-in error handling for seamless performance.

0.0 (0)

Pricing

$2.00 / 1,000 results

1

Total users

15

Monthly users

7

Runs succeeded

>99%

Last modified

a month ago

Solana Balance API

This actor fetches current token balances for multiple Solana wallet addresses. It provides detailed information about SOL balances and all SPL tokens held in the specified wallets.

Features

  • Fetch SOL and SPL token balances for multiple wallet addresses simultaneously
  • Detailed token information including prices and metadata
  • Built-in error handling for each request

Example Usage

{
"accounts": [
"DYw8jCTfwHNRJhhmFcbXvVDTqWMEVFBX6ZKUmG5CNSKK",
"houdini2PmQ2ojv6qhC9KY5wqrr5V4PQTPT4RQfcGe"
]
}

Output

Example Output:

[
{
"token_name": "Token Name",
"token_symbol": "SYMBOL",
"token_address": "token_mint_address",
"price_usdt": 0.00,
"balance": 0.00,
"value": 0.00,
"amount": 0,
"decimals": 0, // Number of decimal places needed to convert to lamports
"owner": "wallet_address",
"token_account": "token_account_address", // (N/A for native SOL)
"token_icon": "token_icon_url"
}
]

If an error occurs, the output will include an error message:

{
"message": "Error description"
}

Limitations

  • Only processes up to 5 accounts per run to ensure reliable performance
  • Some tokens might have missing data fields marked as "N/A" if not available on

Error Handling

The actor includes comprehensive error handling for:

  • Invalid wallet addresses
  • API request failures
  • Malformed API responses

Each error is properly logged and returned in the actor's output for transparency.

Support

For issues, feature requests, or questions about this actor, please create an issue.