This guide will help you make your first API calls to the Solana Tracker Data API. You’ll learn how to authenticate, make requests, and handle responses.
Prerequisites
Before you begin, make sure you have:Solana Tracker Account
Sign up for free to get your API key.
Step 1: Get Your API Key
After creating your account, retrieve your API key from the dashboard. This key is used to authenticate your requests by passing it in thex-api-key header.
1
Log into your dashboard
Visit your account dashboard.
2
Open the Data API page
In the dashboard sidebar, click Data API. Each product has its own sidebar entry — there is no single “API Keys” page. Use Data API for the Data API and Datastream, Solana RPC for shared RPC, Dedicated Nodes for dedicated nodes, and Yellowstone gRPC for the Geyser stream.
3
Copy your API key
Click the copy button next to your API key.
Step 2: Make Your First API Call
Let’s start by fetching the current price of SOL using the/price endpoint.
Step 3: Connect to RPC Nodes
Solana Tracker also provides RPC nodes for direct blockchain calls. RPC uses a different URL and auth style than the Data API:Step 4: Explore Common Use Cases
Track Token Prices
Track Token Prices
Monitor real-time price changes for any SPL token using the
/price endpoint.Find New Tokens
Find New Tokens
Discover newly created tokens with the
/tokens/latest endpoint. It returns the newest tokens first.Monitor Wallet Holdings
Monitor Wallet Holdings
Track token holdings and the total portfolio value for any wallet.
Error Handling
Always implement proper error handling in your applications.Need help? Join our Discord community or email support@solanatracker.io.