Surfaces
REST — Data
All data endpoints: tokens, trades, wallets, pools, smart money, search.
OpenAPI-generated, with request/response examples per language.
REST — DeFi
DEX aggregator endpoints: quote, route, swap, create token, transaction send.
WebSocket
Real-time subscription channels for trades, prices, pools and smart-money flow.
Kafka Topics
Per-chain topic catalog with Protobuf schemas and example consumer snippets.
CLI Commands
Full
chainstream CLI reference — every command, flag and exit code.MCP Tools
Full list of tools the ChainStream MCP Server exposes to AI agents.
Authentication
All REST and WebSocket requests require an API key, OAuth token, wallet-auth bearer or x402 / MPP payment header. See Authentication for the full matrix.Conventions
- Base URLs — data and DeFi share
https://api.chainstream.io; see each endpoint for path prefix. - Rate limits — per plan and per surface; response headers expose remaining budget. Full table in Platform / Rate limits.
- Errors — consistent JSON error envelope across all surfaces; see Error handling.
- Versioning — non-breaking changes roll out continuously; breaking changes are announced in the Changelog with a deprecation window.
Next
Quickstart
Make your first authenticated call.
SDKs
Typed wrappers for TypeScript, Python, Go and Rust.

