Solana Wallet Data

CoinStats API provides complete Solana wallet integration, allowing you to retrieve wallet balances, token holdings, and transaction history for any Solana address.

Key Features

  • Complete Token Support: Retrieve all SPL tokens in a wallet
  • SOL Balance: Get native SOL balance with current USD value
  • Transaction History: Full transaction history with detailed metadata
  • Real-time Data: Current market prices and 24h changes
  • Multi-wallet Support: Query multiple Solana wallets simultaneously

Get Wallet Balance

Retrieve all tokens and SOL balance for a Solana wallet:
curl -H "X-API-KEY: your-api-key" \
  "https://openapiv1.coinstats.app/wallet/balance?address=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU&connectionId=solana"
40 credits per request

Example Response

[
  {
    "coinId": "solana",
    "amount": 2.5,
    "name": "Solana",
    "symbol": "SOL",
    "price": 185.42,
    "priceBtc": 0.00191,
    "imgUrl": "https://static.coinstats.app/coins/1614160068120.png",
    "pCh24h": 5.2,
    "rank": 6,
    "volume": 2450000000,
    "chain": "solana"
  },
  {
    "coinId": "serum",
    "amount": 150.0,
    "name": "Serum",
    "symbol": "SRM",
    "price": 0.42,
    "priceBtc": 0.0000043,
    "imgUrl": "https://static.coinstats.app/coins/1598880399409.png",
    "pCh24h": -2.1,
    "rank": 234,
    "volume": 15000000,
    "chain": "solana"
  }
]

Get Transaction History

Retrieve complete transaction history for a Solana wallet:
curl -H "X-API-KEY: your-api-key" \
  "https://openapiv1.coinstats.app/wallet/transactions?address=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU&connectionId=solana&limit=10"
40 credits per request. Make sure to sync transactions first using PATCH /wallet/transactions

Sync Transactions

Before retrieving transaction data, sync the wallet to ensure up-to-date information:
curl -X PATCH \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  "https://openapiv1.coinstats.app/wallet/transactions?address=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU&connectionId=solana"
50 credits per sync request

Multiple Wallets

Query multiple Solana wallets in a single request:
curl -H "X-API-KEY: your-api-key" \
  "https://openapiv1.coinstats.app/wallet/transactions?wallets=solana:7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU,solana:8yKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAtZ"

Use Cases

DeFi Portfolio Tracking

Monitor Solana DeFi positions across protocols like Raydium, Orca, and Serum

NFT Wallet Analysis

Track Solana NFT collections and floor price changes in wallets

Token Portfolio

Analyze SPL token holdings and performance across multiple wallets

Transaction Monitoring

Set up real-time alerts for large Solana transactions

Common Solana Addresses

For testing and development, here are some well-known Solana addresses:
TypeAddressDescription
Exchange7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsUSample exchange wallet
DeFi User9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWMActive DeFi participant
Always ensure transaction data is synced before querying for the most accurate results.
  • Documentation: This site contains comprehensive API documentation
  • Telegram Chat: For quick help and to connect with other developers, join our API Support Telegram group
  • Email Support: You can reach us directly at api.support@coinstats.app for personalized assistance.