Pull historical candles, volume footprint, TPO profiles, and live L2 order books, plus built-in indicators computed on that data, across crypto, FX, equities, and CFDs. One x-api-key header for all of it.
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 market data and indicator endpoints, over REST and WebSocket upgrades. No OAuth round-trips, secondary credentials, or client SDKs.
Market data 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.




Moving averages, RSI, volume profiles and more, computed on our market data. Pull history over REST or stream live values over WebSocket, without reimplementing a single formula.
List built-in indicators like MACD, Stochastic, and ATR, then read each one’s parameter IDs, defaults, ranges, and outputs. Pass parameters as param.<id>.
Lock an indicator version in production so a new release never changes your outputs. Every response echoes the resolved parameters in meta.params.
Every bar carries a closed flag, so signals run on confirmed values only. Up to 10,000 bars per window, with live updates as the forming bar changes.
# A 20-period SMA over REST
curl -G "https://public-api.takeprofit.com/api/v1/indicators/sma/values" \
-H "x-api-key: $TAKEPROFIT_API_KEY" \
--data-urlencode "exchange=CXBNCE" \
--data-urlencode "symbol=BTC/USDT" \
--data-urlencode "timeframe=5m" \
--data-urlencode "param.length=20"
# Live values over WebSocket — same key, same parameters
websocat -H "x-api-key: $TAKEPROFIT_API_KEY" \
"wss://public-api.takeprofit.com/api/v1/indicators/sma/stream\
?exchange=CXBNCE&symbol=BTC%2FUSDT&timeframe=5m¶m.length=20"
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.
Let your AI assistant write Indie® on top of this data, run backtests, and manage alerts through our MCP server.
Explore MCP ↗No proprietary SDK is required. Any HTTP/WebSocket client works natively: