# Crypto Market Data API & SQL Endpoint | Koinju Docs

## Market Data API

- [Quick start](https://docs.koinju.io/readme.md)
- [AI agent skill](https://docs.koinju.io/ai-agent-skill.md)
- [MCP server](https://docs.koinju.io/mcp-server.md)
- [Pricing](https://docs.koinju.io/pricing.md)
- [How to connect](https://docs.koinju.io/how-to-connect.md)
- [SQL API Specifics](https://docs.koinju.io/sql-api-specifics.md)
- [Private Link Setup](https://docs.koinju.io/sql-api-specifics/private-link-setup.md)
- [REST API Specifics](https://docs.koinju.io/rest-api-specifics.md)
- [Data types](https://docs.koinju.io/data-types.md)
- [Coverage](https://docs.koinju.io/data/coverage.md)
- [Market list](https://docs.koinju.io/data/market-list.md)
- [Public trades](https://docs.koinju.io/data/public-trades.md)
- [OHLCV](https://docs.koinju.io/data/ohlcv.md)
- [Funding rate](https://docs.koinju.io/data/funding-rate.md)
- [Volatility index](https://docs.koinju.io/data/volatility-index.md)
- [Option chain](https://docs.koinju.io/data/option-chain.md)
- [Option smile](https://docs.koinju.io/data/option-smile.md)
- [Binance Spot historical trade data](https://docs.koinju.io/exchanges/binance.md): Binance Spot historical trade data since 2017-07-14, available through SQL or REST in one unified schema and checked every day against Binance's own data.
- [Binance USD-M Futures historical trade data](https://docs.koinju.io/exchanges/binance-usdm-future.md): Binance USD-M Futures historical trade data since 2019-09-08, available through SQL or REST in one unified schema and checked every day against Binance's own data.
- [Binance COIN-M Futures historical trade data](https://docs.koinju.io/exchanges/binance-coinm-future.md): Binance COIN-M Futures historical trade data since 2020-08-01, available through SQL or REST in one unified schema and checked every day against Binance's own data.
- [Bitfinex Spot historical trade data](https://docs.koinju.io/exchanges/bitfinex.md): Bitfinex Spot historical trade data since 2013-01-14, available through SQL or REST in one unified schema and checked every day against Bitfinex's own data.
- [Bitfinex Futures historical trade data](https://docs.koinju.io/exchanges/bitfinex-future.md): Bitfinex Futures historical trade data since 2019-07-03, available through SQL or REST in one unified schema and checked every day against Bitfinex's own data.
- [Bitstamp Spot historical trade data](https://docs.koinju.io/exchanges/bitstamp.md): Bitstamp Spot historical trade data since 2023-07-01, available through SQL or REST in one unified schema and checked every day against Bitstamp's own data.
- [Bybit Spot historical trade data](https://docs.koinju.io/exchanges/bybit.md): Bybit Spot historical trade data since 2022-11-10, available through SQL or REST in one unified schema and checked every day against Bybit's own data.
- [Bybit USD-M Futures historical trade data](https://docs.koinju.io/exchanges/bybit-usdm-future.md): Bybit USD-M Futures historical trade data since 2020-03-25, available through SQL or REST in one unified schema and checked every day against Bybit's own data.
- [Bybit COIN-M Futures historical trade data](https://docs.koinju.io/exchanges/bybit-coinm-future.md): Bybit COIN-M Futures historical trade data since 2019-10-01, available through SQL or REST in one unified schema and checked every day against Bybit's own data.
- [Coinbase Spot historical trade data](https://docs.koinju.io/exchanges/coinbase.md): Coinbase Spot historical trade data since 2014-12-01, available through SQL or REST in one unified schema and checked by trade ID against Coinbase's own data.
- [Crypto.com Spot historical trade data](https://docs.koinju.io/exchanges/cryptodot-com.md): Crypto.com Spot historical trade data since 2023-10-01, available through SQL or REST in one unified schema and checked every day against Crypto.com's own data.
- [Crypto.com Futures historical trade data](https://docs.koinju.io/exchanges/cryptodot-com-future.md): Crypto.com Futures historical trade data since 2024-11-01, available through SQL or REST in one unified schema and checked every day against Crypto.com's own data.
- [Deribit Futures historical trade data](https://docs.koinju.io/exchanges/deribit-future.md): Deribit Futures historical trade data since 2017-01-06, available through SQL or REST in one unified schema and checked every day against Deribit's own data.
- [Deribit Options historical trade data](https://docs.koinju.io/exchanges/deribit-option.md): Deribit Options historical trade data since 2016-11-29, available through SQL or REST in one unified schema and checked every day against Deribit's own data.
- [Gate.io Spot historical trade data](https://docs.koinju.io/exchanges/gateio.md): Gate.io Spot historical trade data since 2021-01-01, available through SQL or REST in one unified schema and checked every day against Gate.io's own data.
- [Gemini Spot historical trade data](https://docs.koinju.io/exchanges/gemini.md): Gemini Spot historical trade data since 2023-07-01, available through SQL or REST in one unified schema and checked every day against Gemini's own data.
- [Hyperliquid Spot historical trade data](https://docs.koinju.io/exchanges/hyperliquid.md): Hyperliquid Spot historical trade data since 2025-03-22, available through SQL or REST in one unified schema and checked every day against Hyperliquid's own data.
- [Hyperliquid Futures historical trade data](https://docs.koinju.io/exchanges/hyperliquid-future.md): Hyperliquid Futures historical trade data since 2025-03-22, available through SQL or REST in one unified schema and checked every day against Hyperliquid's own data.
- [Kraken Spot historical trade data](https://docs.koinju.io/exchanges/kraken.md): Kraken Spot historical trade data since 2013-10-01, available through SQL or REST in one unified schema and checked every day against Kraken's own data.
- [Kraken Futures historical trade data](https://docs.koinju.io/exchanges/kraken-future.md): Kraken Futures historical trade data since 2021-05-27, available through SQL or REST in one unified schema and checked every day against Kraken's own data.
- [KuCoin Spot historical trade data](https://docs.koinju.io/exchanges/kucoin.md): KuCoin Spot historical trade data since 2022-12-31, available through SQL or REST in one unified schema and checked every day against KuCoin's own data.
- [KuCoin Futures historical trade data](https://docs.koinju.io/exchanges/kucoin-future.md): KuCoin Futures historical trade data since 2023-01-01, available through SQL or REST in one unified schema and checked every day against KuCoin's own data.
- [OKX Spot historical trade data](https://docs.koinju.io/exchanges/okx.md): OKX Spot historical trade data since 2021-10-01, available through SQL or REST in one unified schema and checked every day against OKX's own data.
- [DBeaver / DataGrip / VS Code](https://docs.koinju.io/connect-your-tools/dbeaver-datagrip-vscode.md)
- [Excel](https://docs.koinju.io/connect-your-tools/excel.md)
- [Google Sheets](https://docs.koinju.io/connect-your-tools/google-sheets.md)
- [ClickHouse CLI & BI tools](https://docs.koinju.io/connect-your-tools/clickhouse-cli-and-bi.md)
- [Introduction](https://docs.koinju.io/sql-cookbook/introduction.md)
- [Backtesting simple SMA strategy](https://docs.koinju.io/sql-cookbook/backtesting-simple-sma-strategy.md)
- [Historical volatility](https://docs.koinju.io/sql-cookbook/historical-volatility.md)
- [Sortino ratio](https://docs.koinju.io/sql-cookbook/sortino-ratio.md)
- [Maximum drawdown & Calmar ratio](https://docs.koinju.io/sql-cookbook/max-drawdown-calmar.md)
- [Correlation](https://docs.koinju.io/sql-cookbook/correlation.md)
- [Mean reversion z-score](https://docs.koinju.io/sql-cookbook/mean-reversion-zscore.md)
- [DCA vs Lump-Sum](https://docs.koinju.io/sql-cookbook/dca-vs-lump-sum.md)
- [Bollinger Bands](https://docs.koinju.io/sql-cookbook/bollinger-bands.md)
- [Cross-exchange arbitrage](https://docs.koinju.io/sql-cookbook/cross-exchange-arbitrage.md)
- [Deribit perpetual funding](https://docs.koinju.io/sql-cookbook/deribit-perpetual-funding.md)
- [Spot / Futures / Perp Spreads](https://docs.koinju.io/sql-cookbook/spot-futures-perp-spreads.md)
- [OHLCV streaming download](https://docs.koinju.io/sql-cookbook/ohlcv-streaming.md)
- [Multi-exchange vol surface](https://docs.koinju.io/sql-cookbook/multi-exchange-vol-surface.md)
