Solana Tracker LogoSolana Tracker
Swap
Developers
⌘K
Affiliate
All Resources
Get Solana Token Prices Without Running an Indexer
Data APITypeScriptMay 30, 20262 min read

Get Solana Token Prices Without Running an Indexer

Fetch live price, liquidity and pool data for any Solana token with one REST call or a batch price request.

  • data-api,
  • rest,
  • price,
  • typescript,
  • batch
Solana Data API›

One price call beats a local indexer

Running your own node and parsing raw account data just to get a single price is overkill. With an indexed Solana Data API you get the live price, liquidity and pool data of any token with one REST call.

What you need

  • A Solana Tracker API key (free, 2,500 requests/month)
  • fetch (Node.js 18+ or the browser)

Step 1: One token

import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: process.env.ST_API_KEY, baseUrl: 'https://data.solanatracker.io' });
const sol = await client.getTokenInfo('So11111111111111111111111111111111111111112');
const pool = sol.pools[0];

console.log(pool.price.usd, pool.liquidity.usd);

Step 2: Batch prices

const prices = await client.getMultiplePrices([
  'So11111111111111111111111111111111111111112',
  'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
]);

FAQ

How do I get the price in USD?

Token responses include pool price and liquidity data; USD values come from pools[0].price.usd.

What is the fastest way for live prices?

The WebSocket Datastream instead of REST polling, it pushes updates the moment they happen.

Can I get historical prices / OHLCV?

Yes, there are separate OHLCV endpoints; see the Solana Data API docs.

Next: Real-time Solana price via WebSocket ->

Download the example

Clone the full runnable project on GitHub, npm install && npm start with your keys in .env. Or open it in StackBlitz to run in your browser (free). See the tutorial for step-by-step context.

View source on GitHub›Run in StackBlitz›

Runnable Node.js project — clone from GitHub, add keys to .env, then npm start. StackBlitz runs REST and Datastream examples in your browser for free.

Related Guides

Replace Solana Price Polling with a WebSocket Feed
Data API

Replace Solana Price Polling with a WebSocket Feed

Read more
Rank Solana Traders by PnL, Not Follower Count
Data API

Rank Solana Traders by PnL, Not Follower Count

Read more
Stream a Live Solana Trade Tape over WebSocket
Data API

Stream a Live Solana Trade Tape over WebSocket

Read more

Products

  • Data API
  • Pump.fun API
  • Solana RPC
  • Dedicated Nodes
  • Yellowstone gRPC
  • Raptor Swap API
  • Enterprise

Trading

  • Swap
  • Latest Tokens
  • Trending
  • Top Gainers
  • Memescope
  • Whale Watch
  • KOL Tracker

Tools

  • Wallet Tracker
  • Rugcheck
  • PnL Leaderboard
  • KOLScan
  • Axiom Leaderboard
  • Photon Leaderboard
  • Bloom Leaderboard
  • My Positions
  • Teams

Resources

  • Developer Guides
  • Blog
  • Documentation
  • API Reference
  • Status
  • Affiliate Program — 25% recurring, uncapped
Solana TrackerSolana Tracker© 2026
Terms of ServicePrivacy PolicyContact