Pull historical candles, pre-aggregated volume footprint, TPO profiles, and streaming L2 order books across crypto, FX, equities, and CFDs. Authenticated via a single x-api-key header.
Stream real-time candles and footprints over WebSocket, or historical candles, footprints, and TPO profiles via REST. No tick firehose to ingest, bucket, and reconcile before you test an idea.
The same x-api-key header authenticates REST endpoints and WebSocket upgrades. No OAuth round-trips, secondary credentials, or heavyweight client SDKs required.
Prices and volumes return as trimmed decimal strings. Eliminate floating-point rounding errors between the matching engine and your execution model.
# History over REST
curl -G "https://public-api.takeprofit.com/api/v1/marketdata/footprint" \
-H "x-api-key: $TAKEPROFIT_API_KEY" \
--data-urlencode "exchange=CXBNCE" \
--data-urlencode "symbol=BTC/USDT" \
--data-urlencode "timeframe=1h"
# Live over WebSocket — same key, sent on the handshake
websocat -H "x-api-key: $TAKEPROFIT_API_KEY" \
"wss://public-api.takeprofit.com/api/v1/marketdata/orderbook/stream\
?exchange=CXBNCE&symbol=BTC%2FUSDT"
Four datasets on one key. Query deep historical archives via REST or subscribe to low-latency streaming updates over WebSocket.




Four steps, no sales call, no application form, no approval queue.
Sign up with your email. Subscribe to the All-In plan, or connect an exchange to unlock it through trading.
Navigate to Settings → Login & Security → Personal API Tokens to generate and copy your read-only tpk_live_ key.
Run a single search call to map trading pairs and internal exchange identifiers across all supported assets.
Fetch historical footprints via REST, or connect your WebSocket client to stream live market flow.
All of these endpoints are available through our MCP integration.
Explore MCP ↗No proprietary SDK is required. Any HTTP/WebSocket client works natively: