# Metastreams: Build anything in crypto.

> Metastreams is a real-time crypto data API. Spot market data for Solana, BNB Chain, Robinhood Chain and Elysium is in the API today; perpetuals and prediction markets are in early access.

Source: https://metastreams.io/

The real-time crypto data API for trading apps, bots and AI agents. Spot market data in one schema, streamed over WebSocket in milliseconds. Perps and prediction markets are in early access.

- Data points per token: 110+
- Chart resolutions: 15
- Venues decoded: 100+
- Block to your product: <10ms

## Markets

- [Spot](https://metastreams.io/spot): Every token, from its first trade through graduation and beyond. Prices, charts, trades, holders and launchpads across the chains where the action is.
- [Perpetuals](https://metastreams.io/perps): Funding, open interest, liquidations and positions across on-chain perp markets. In early access, not in the API yet.
- [Prediction markets](https://metastreams.io/prediction-markets): Markets, outcome prices, trades and positions, indexed straight from the chain. In early access, not in the API yet.

## What's inside

### Markets

Price, market cap, liquidity, supply, all-time highs, and volume and flow across every window.

Covers: Price, Market cap, Liquidity, Supply, ATH, Volume, Flow.

### Holders

Live holder lists, concentration, and exposure to developers, insiders, bundlers, snipers, fresh wallets and exchange-funded wallets.

Covers: Top 10, Developers, Insiders, Bundlers, Snipers, Fresh wallets, Exchange-funded.

### Wallets

Any wallet's book: positions, balances, cost basis and realized and unrealized PnL, updated as its trades land.

Covers: Positions, Balances, Cost basis, Realized PnL, Unrealized PnL.

### Signals

Every trade tagged by who made it: whales, KOLs, pro traders, snipers, insiders and fresh wallets, with resolved identities and the terminal it came through.

Covers: Whales, KOLs, Pro traders, Snipers, Identities, Terminals.

### Discovery

New launches, graduations, trending and search across every chain at once.

Covers: New, Graduating, Graduated, Trending, Search.

## Built for developers

- **One schema.** REST and WebSocket return the same objects, field for field.
- **Fully specified.** A complete OpenAPI spec, typed errors, consistent formats.
- **Stable by design.** Versioned endpoints, never broken in place.

## Use cases

- **Trading terminals:** Token pages, charts and discovery boards that update together, live. Launch your terminal on data that never disagrees with itself.
- **Bots and automation:** Alerts, sniping logic and execution triggers on enriched events. Every trigger fires with full context: price, market cap, holders and who traded.
- **Copy-trading and wallet trackers:** Follow any wallet with positions, PnL and every trade as it happens.
- **Screeners and alpha tools:** Rank and filter thousands of tokens on 110+ data points in real time. Surface whale and KOL activity before the crowd.
- **Risk and analytics:** Holder quality, buy and sell flow and wallet PnL for dashboards, models and risk engines. Funding, open interest and liquidations are in early access.
- **AI agents:** Structured, decision-ready market state an agent can reason over, without its own data pipeline.

See [use cases](https://metastreams.io/use-cases) and [pricing](https://metastreams.io/pricing).

## The API

- REST: `https://api.metastreams.io/v1`
- WebSocket: `wss://api.metastreams.io/v1/stream`
- OpenAPI: https://api.metastreams.io/openapi.json
- Authentication: Send `Authorization: Bearer $API_KEY` from your server. A browser sends a short-lived session token instead, minted by your server, so the key never reaches users.

| Endpoint | Path | Returns |
| --- | --- | --- |
| [Tokens](https://docs.metastreams.io/reference/rest/token-details) | `GET /v1/tokens` | Price, stats, holders, security and launchpad of up to 100 tokens |
| [Candles](https://docs.metastreams.io/reference/rest/token-ohlcv) | `GET /v1/ohlcv` | OHLCV from 1s to 7d, per token or per pool |
| [Trades](https://docs.metastreams.io/reference/rest/trades) | `GET /v1/trades` | Recent trades by token, wallet or notable-wallet feed |
| [Trade history](https://docs.metastreams.io/reference/rest/trade-search) | `POST /v1/trades` | Trades that match any spot.trades filter, newest first or ranked |
| [Holders](https://docs.metastreams.io/reference/rest/token-holders) | `GET /v1/holders` | Current holders, largest balance first, with wallet classifications |
| [Search](https://docs.metastreams.io/reference/rest/search) | `GET /v1/search` | Tokens by symbol, name or address, and wallets by name |
| [Discovery boards](https://docs.metastreams.io/reference/rest/discovery) | `POST /v1/discovery` | New, graduating and graduated launchpad tokens, ranked and filtered |
| [Trending](https://docs.metastreams.io/reference/rest/trending) | `POST /v1/trending` | Tokens ranked by trending score |
| [Wallet balances](https://docs.metastreams.io/reference/rest/wallet-balances) | `GET /v1/balances` | Latest balance of each wallet and asset |
| [Positions](https://docs.metastreams.io/reference/rest/positions) | `GET /v1/positions` | Spot positions of wallets, with cost basis and PnL |
| [Portfolio](https://docs.metastreams.io/reference/rest/portfolio) | `GET /v1/portfolio` | Value, balances, positions and stats of up to 100 wallets |
| [Native prices](https://docs.metastreams.io/reference/rest/native-prices) | `GET /v1/native-prices` | USD price of each chain's gas asset |
| [Session tokens](https://docs.metastreams.io/reference/rest/session-tokens) | `POST /v1/session-tokens` | A short-lived credential for a browser user |
| [Live streams](https://docs.metastreams.io/streams/overview) | `GET /v1/stream` | Trades, transfers, candles, tokens, boards, balances, positions and holders over WebSocket |

Perpetuals and prediction markets are in early access and have no endpoints in the API yet.

## Developer resources

- [Docs](https://docs.metastreams.io)
- [Quickstart](https://docs.metastreams.io/get-started/quickstart): First REST request and first stream
- [Authentication](https://docs.metastreams.io/get-started/authentication): API keys and session tokens
- [API reference](https://docs.metastreams.io/reference/rest/token-details): Every REST endpoint
- [WebSocket streams](https://docs.metastreams.io/streams/overview): Connect, subscribe, reconnect
- [OpenAPI spec](https://api.metastreams.io/openapi.json): The REST contract, public, no key needed
- [AsyncAPI spec](https://docs.metastreams.io/specs/asyncapi.yaml): The stream contract
- [Docs for LLMs](https://docs.metastreams.io/llms.txt): Every docs page as Markdown
- [llms.txt](https://metastreams.io/llms.txt): This site, for agents
- [MCP server](https://docs.metastreams.io/get-started/ai-tools): Search the docs from Claude, Cursor or VS Code
- [Get an API key](https://metastreams.io/signup): free, in under a minute
