Connect your trading bots, backtesting engines, or data science pipelines directly to our low-latency edge REST API (< 20ms response). Follow the 3 steps below:
Every request to our edge API must include your API key in the HTTP request headers using the X-API-Key header:
X-API-Key: df_trial_YOUR_KEY_HERE
# Fetch 50 1-minute Bitcoin candlestick bars with Volume Delta and CVD
curl -s -X GET "https://www.techplayground.in/api/v1/crypto/candles?symbol=BTCUSDT&interval=1m&limit=50" \
-H "X-API-Key: df_trial_YOUR_API_KEY"
// Click "Run Test Request" to execute live against https://www.techplayground.in/api/v1
| Method | Path | Query Parameters | Description |
|---|---|---|---|
| GET | /api/v1/crypto/candles | symbol, interval (1m/1h), date, limit | 1-min & 1-hour OHLCV candles with precomputed Volume Delta and CVD. |
| GET | /api/v1/crypto/funding-rates | symbol (BTCUSDT, ETHUSDT), limit | Historical 8-hour perpetual futures funding rates and annualized basis. |
| GET | /api/v1/alpha/macro-regime | limit (default: 50) | Automated macro classification (Risk-On, Risk-Off, Stagflation) + US 10Y/2Y Yields. |
| GET | /api/v1/stream/orderflow | symbol (BTCUSDT) | Server-Sent Events (SSE) streaming real-time trade ticks, delta, and intensity. |
| GET | /api/v1/poi/search | category, city, limit | Global Point of Interest (POI) spatial lookups with lat/lon coordinates. |