
What is Crypton?
Crypton is a unified API that aggregates real-time crypto derivatives data from 23+ exchanges into a single, consistent interface. Think of it as a Coinglass alternative you can self-host and extend.Data Coverage
Derivatives
Funding rates, open interest, long/short ratios, liquidations, and cross-exchange arbitrage opportunities
Market Data
Real-time prices, spot market movers, L2 orderbooks, technical indicators (RSI, MACD, Bollinger, ATR), and sentiment
DeFi
DEX pool analytics (Uniswap, PancakeSwap, Raydium), DeFi lending rates (Aave, Compound, MakerDAO), and TVL tracking
Supported Exchanges
| Category | Exchanges |
|---|---|
| CEX Derivatives | Binance, Bybit, OKX, Bitget, KuCoin, Gate.io, MEXC, HTX, Deribit, BitMEX, Kraken |
| CEX Spot | Coinbase, Binance US |
| DEX Perps | Hyperliquid, dYdX |
| DEX Spot | Uniswap, PancakeSwap, Raydium, Orca, Jupiter |
| Lending | Aave, Compound, MakerDAO, Morpho (via DeFiLlama) |
Architecture
Key Features
- Sub-second polling — DashMap concurrent cache with ~2000 symbols
- Funding rate normalization — 1h rates (Hyperliquid, dYdX) auto-converted to 8h equivalent
- Cross-exchange arbitrage — Real-time funding rate spread detection with APR calculation
- 15 API families — One implementation covers multiple exchanges (Binance family covers Binance, Binance US, BingX, Binance COIN-M)
- Pure Rust indicators — RSI, MACD, Bollinger Bands, ATR, EMA computed without external dependencies
- Gzip compression — All API responses are gzip-compressed automatically for faster transfers
- Real-time WebSocket — Topic-based subscriptions with CloudEvents 1.0 envelopes, wildcard patterns, sequence resume, and token auth
- 137 unit tests — Comprehensive coverage across all exchange parsers, indicators, and cache logic
Quick Start
REST endpoints require no authentication. WebSocket connections require a token (
?token=secret). All REST responses are gzip-compressed and wrapped in {status, timestamp, data} envelope.