Read crypto TPO market profiles
curl --request GET \
--url https://api.darvas.app/v1/crypto/tpo \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/tpo"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/tpo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"timeframe": "30m",
"session_period": "daily",
"block_size": "30m",
"value_area_percent": 70,
"rows_target": 60,
"timezone": "UTC",
"last_price": 97811.4,
"last_bar_time": "2026-11-28T11:30:00.000Z",
"current": {
"value_area_position": "inside_value_area",
"poc_change": 350,
"value_area_overlap_percent": 64
},
"sessions": [
{
"session": "D:2026-11-28",
"start_time": "2026-11-28T00:00:00.000Z",
"end_time": "2026-11-29T00:00:00.000Z",
"open": 96820.1,
"high": 98240,
"low": 96410.2,
"close": 97811.4,
"poc_price": 97500,
"value_area_high": 98050,
"value_area_low": 96950,
"volume_poc_price": 97450,
"row_size": 50,
"tpo_count": 412,
"blocks": 24,
"initial_balance": {
"high": 97210.5,
"low": 96410.2
},
"high_tail_rows": 2,
"low_tail_rows": 0,
"poor_high": false,
"poor_low": true,
"single_prints": [
{
"low": 97650,
"high": 97750
}
],
"high_volume_nodes": [
{
"price": 97450,
"tpo_count": 13
}
],
"low_volume_nodes": [
{
"price": 97700,
"tpo_count": 2
}
],
"rows": [
{
"price": 97500,
"tpo_count": 14,
"volume": 2412.5,
"buy_volume": 1250.1,
"sell_volume": 1162.4,
"in_value_area": true
}
]
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Crypto Profiles & Structure
Crypto TPO & Market Profile Distribution API
Build Time Price Opportunity (TPO) Market Profile distributions with Initial Balance, single prints, poor highs/lows and TPO POC for crypto sessions.
Read crypto TPO market profiles
curl --request GET \
--url https://api.darvas.app/v1/crypto/tpo \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/crypto/tpo"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/crypto/tpo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "BTC-USDT-SWAP",
"exchange": "darvas",
"market_type": "swap",
"constituents": [
"binance",
"bybit",
"okx"
],
"venues": null,
"timeframe": "30m",
"session_period": "daily",
"block_size": "30m",
"value_area_percent": 70,
"rows_target": 60,
"timezone": "UTC",
"last_price": 97811.4,
"last_bar_time": "2026-11-28T11:30:00.000Z",
"current": {
"value_area_position": "inside_value_area",
"poc_change": 350,
"value_area_overlap_percent": 64
},
"sessions": [
{
"session": "D:2026-11-28",
"start_time": "2026-11-28T00:00:00.000Z",
"end_time": "2026-11-29T00:00:00.000Z",
"open": 96820.1,
"high": 98240,
"low": 96410.2,
"close": 97811.4,
"poc_price": 97500,
"value_area_high": 98050,
"value_area_low": 96950,
"volume_poc_price": 97450,
"row_size": 50,
"tpo_count": 412,
"blocks": 24,
"initial_balance": {
"high": 97210.5,
"low": 96410.2
},
"high_tail_rows": 2,
"low_tail_rows": 0,
"poor_high": false,
"poor_low": true,
"single_prints": [
{
"low": 97650,
"high": 97750
}
],
"high_volume_nodes": [
{
"price": 97450,
"tpo_count": 13
}
],
"low_volume_nodes": [
{
"price": 97700,
"tpo_count": 2
}
],
"rows": [
{
"price": 97500,
"tpo_count": 14,
"volume": 2412.5,
"buy_volume": 1250.1,
"sell_volume": 1162.4,
"in_value_area": true
}
]
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
This endpoint returns TPO (time price opportunity, or market profile) sessions of a crypto market or a Darvas aggregated pair (exchange=darvas, the default), computed by the same engine the Darvas TPO chart draws with. Each price row counts the blocks that traded there and the volume they carried. Each session adds its point of control, value area, volume point of control, initial balance, tails, poor highs and lows, single prints and nodes, and current places the last price against the newest session.
| Coverage | Details |
|---|---|
| Exchanges | darvas (default), okx, binance, bybit, hyperliquid, coinbase, kraken, bitstamp, deribit and bitfinex |
| Default timing | timeframe (default 30m) up to 1H: daily sessions of 30-minute blocks; up to 1D: weekly sessions of 4-hour blocks; 1W: monthly sessions of daily blocks |
| Overrides | session_period (daily, weekly, monthly) and block_size (5m, 15m, 30m, 1H, 2H, 4H, 1D) |
| Sessions | profiles from 1 to 12 (default 5), oldest first |
| Rows and value area | rows_target from 20 to 400 (default 60); value_area_percent from 50 to 95 (default 70) |
| Time zone | timezone: the IANA zone whose midnight starts each session (default UTC) |
| MCP tool | get_crypto_tpo on the data API MCP server |
Session fields
- Session and range.
sessionis the session’s key, such asD:2026-11-28, withstart_time,end_time,open,high,lowandclose(the close so far for the open session). - Value.
poc_priceis the row with the most TPOs,value_area_highandvalue_area_lowbound the value area, andvolume_poc_priceis the row with the most volume (nullwithout volume).row_size,tpo_countandblocks(blocks so far) describe the grid. - Opening range.
initial_balanceholds thehighandlowof the session’s first two blocks. - Tails and poor extremes.
high_tail_rowsandlow_tail_rowscount the single-TPO rows at the session’s top and bottom;poor_highandpoor_lowaretruewhen that end has no tail. - Single prints and nodes.
single_printslists up to five runs of single-TPO rows inside the session, tails excluded, aslowandhighprices.high_volume_nodesare the three rows after the point of control with the most TPOs, andlow_volume_nodesthe three value area rows with the fewest; both rank bytpo_count. - Rows.
rowslists the session lowest first withprice,tpo_count,volume(base asset),buy_volume(volume of up blocks),sell_volume(volume of down blocks) andin_value_area.
Current position and candle limits
current compares last_price, the newest candle’s close, with the newest session. value_area_position is above_value_area, inside_value_area or below_value_area; poc_change is the point of control’s move from the session before; value_area_overlap_percent is how much of the narrower of the two value areas overlaps the other. The last two are null with one session, and current is null without sessions.
Darvas builds the sessions from candles of block_size, at most 5,000 per request, so short blocks with long sessions return fewer sessions than asked: 5-minute blocks fill 5,000 candles in about 17 days. A timezone that is not an IANA name, such as Europe/London, returns 400.
For trade-built volume at price, see /crypto/volume-profile and /crypto/volume-profile/fixed-range. For the candles themselves, see /crypto/prices.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
tpo = requests.get(
"https://api.darvas.app/v1/crypto/tpo",
headers=headers,
params={"ticker": "BTC-USDT-SWAP", "timeframe": "30m", "profiles": 3},
).json()
current = tpo["current"] or {}
print("Last price:", tpo["last_price"], "Position:", current.get("value_area_position"), "POC move:", current.get("poc_change"))
for session in tpo["sessions"]:
ib = session["initial_balance"] or {}
print(
session["session"],
"POC:", session["poc_price"],
"VA:", session["value_area_low"], session["value_area_high"],
"IB:", ib.get("low"), ib.get("high"),
"poor high:", session["poor_high"],
"single prints:", session["single_prints"],
)
# Three daily ETH-USDT spot sessions on OKX starting at New York midnight
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/crypto/tpo?ticker=ETH-USDT&exchange=okx&session_period=daily&block_size=30m&timezone=America/New_York&profiles=3"
Authorizations
apiKeybearerKey
Query Parameters
The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.
Maximum string length:
64Pattern:
^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$Response
Read crypto TPO market profiles: one page.
The answer of GET /crypto/tpo.