> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Solana API

> Access real-time Solana token prices, trading pairs, wallet analytics, and live WebSocket subscriptions through the Codex API.

High-performance blockchain powering the largest memecoin and launchpad ecosystem. Codex provides comprehensive coverage of Solana tokens, trading pairs, wallet analytics, and real-time launchpad events across Pump.fun, LaunchLab, Meteora, and more.

## Supported Networks

| Network | Chain ID | Status |
| - | - | - |
| Solana | `1399811149` | Live |

> [!TIP]
>
> Filter queries to Solana by passing `network: 1399811149`.

## Supported APIs

### Token API

* [Get Token Prices on Solana](https://docs.codex.io/api-reference/queries/gettokenprices.md) — Retrieve current USD prices for any token
* [Search and Filter Tokens on Solana](https://docs.codex.io/api-reference/queries/filtertokens.md) — Discover trending tokens, filter by liquidity, volume, and market cap
* [Get OHLCV Chart Data on Solana](https://docs.codex.io/api-reference/queries/gettokenbars.md) — Fetch candlestick price data for any token
* [Get Token Sparklines on Solana](https://docs.codex.io/api-reference/queries/tokensparklines.md) — Retrieve sparkline chart data for tokens
* [Get Top Traders for a Token on Solana](https://docs.codex.io/api-reference/queries/tokentoptraders.md) — Find the most active traders for any token

### Pair & Trading API

* [Filter Trading Pairs on Solana](https://docs.codex.io/api-reference/queries/filterpairs.md) — Search pairs by liquidity, volume, or token
* [Get Detailed Pair Stats on Solana](https://docs.codex.io/api-reference/queries/getdetailedpairstats.md) — Fetch comprehensive trading metrics for any pair
* [Get Token Events on Solana](https://docs.codex.io/api-reference/queries/gettokenevents.md) — Track buys and sells in real-time
* [List Pairs for a Token on Solana](https://docs.codex.io/api-reference/queries/listpairsfortoken.md) — Find all trading pairs for a specific token
* [Get Pair Metadata on Solana](https://docs.codex.io/api-reference/queries/pairmetadata.md) — Retrieve metadata for any trading pair

### Wallet API

* [Get Token Holders on Solana](https://docs.codex.io/api-reference/queries/holders.md) — Query token holders with balances
* [Get Top 10 Holder Concentration on Solana](https://docs.codex.io/api-reference/queries/top10holderspercent.md) — Check how concentrated a token's supply is among top holders
* [Filter Wallets on Solana](https://docs.codex.io/api-reference/queries/filterwallets.md) — Discover active traders and smart money wallets
* [Get Wallet Balances on Solana](https://docs.codex.io/api-reference/queries/balances.md) — Retrieve token balances for any wallet

### Launchpad API

Solana hosts the largest launchpad ecosystem including Pump.fun, LaunchLab, Meteora, and more.

* [Get Newly Launched Tokens on Solana](https://docs.codex.io/api-reference/queries/filtertokens.md) — Find the latest token launches across all Solana launchpads
* [Subscribe to Live Launchpad Events on Solana](https://docs.codex.io/api-reference/subscriptions/onlaunchpadtokeneventbatch.md) — Stream real-time launch events across all Solana launchpads
* [Subscribe to Individual Token Events on Solana](https://docs.codex.io/api-reference/subscriptions/onlaunchpadtokenevent.md) — Track events for a specific launchpad token

> [!NOTE]
>
> See dedicated launchpad pages for [Pump.fun](https://docs.codex.io/launchpads/pump-fun.md), [LaunchLab](https://docs.codex.io/launchpads/launchlab.md), and [Meteora](https://docs.codex.io/launchpads/meteora.md) for protocol-specific queries.

### Real-time WebSocket API

* [Subscribe to Price Updates on Solana](https://docs.codex.io/api-reference/subscriptions/onpriceupdated.md) — Get real-time token price changes
* [Subscribe to Trade Events on Solana](https://docs.codex.io/api-reference/subscriptions/oneventscreated.md) — Stream live swap events for any token
* [Subscribe to Chart Updates on Solana](https://docs.codex.io/api-reference/subscriptions/onbarsupdated.md) — Get live candlestick chart data
* [Subscribe to Pair Metadata Updates on Solana](https://docs.codex.io/api-reference/subscriptions/onpairmetadataupdated.md) — Track pair metadata changes in real-time

## Try It in the Explorer

Test any Solana query directly in the [Codex GraphQL Explorer](https://docs.codex.io/explore.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.