> ## 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.

# Plasma API

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

Plasma is a high-performance blockchain designed for DeFi applications. Codex provides token, pair, and trading data coverage on Plasma, enabling you to track prices, liquidity, wallet activity, and live events across the network.

## Supported Networks

| Network        | Chain ID | Status |
| -------------- | -------- | ------ |
| Plasma Mainnet | `9745`   | Live   |

<Tip>
  Filter queries to Plasma by passing `network: 9745`.
</Tip>

## Supported APIs

### Token API

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

### Pair & Trading API

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

### Wallet API

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

### Real-time WebSocket API

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

## Try It in the Explorer

Test any Plasma query directly in the [Codex GraphQL Explorer](/explore).
