Skip to main content
Compute COT positioning index, Z-scores, and extreme screener

Overview

This endpoint analyses CFTC Commitments of Traders positioning. With market_code or symbol, such as ES, GC, CL or BTC, it returns that market’s rolling analytics: the 52-week and 156-week COT Index from 0 to 100, percentiles and z-scores of net positions, the share of the largest four and eight traders, and flags for crowded and diverging groups. Without a market it screens every market for extremes, filtered by asset class, COT Index range, open interest, extremes or divergences only, and ranked by open interest, COT Index, z-score, weekly change or concentration.

Example

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

market_code
string

Optional CFTC six-character code or futures alias (ES, GC, CL, BTC, 6E). Omit for the all-markets screener.

Maximum string length: 40
Pattern: ^[A-Za-z0-9+_ .&-]{1,40}$
symbol
string

Alias for market_code accepting futures roots and names (ES, NQ, GC, CL, BTC, 6E, ZN).

Maximum string length: 40
Pattern: ^[A-Za-z0-9+_ .&-]{1,40}$
report
enum<string>
default:legacy

The CFTC report: legacy (default), disaggregated (commodities), or tff (financials and crypto).

Available options:
legacy,
disaggregated,
tff
weeks
integer<int32>
default:26

Trailing weeks to return in single-market analytics mode (1 to 156; default 26).

Required range: 1 <= x <= 156
group
string

Trader group used for screener filtering and ranking (defaults to the report's speculator group).

Maximum string length: 32
Pattern: ^[a-z_]{3,32}$
lookback
enum<string>
default:52w

Lookback window for screener COT Index and Z-score filters: 52w (default) or 156w.

Available options:
52w,
156w
asset_class
enum<string>

Filter markets by macro asset class.

Available options:
crypto,
currencies,
equity_indices,
rates,
energy,
metals,
grains,
softs,
livestock,
other

Case-insensitive filter matching market name, commodity, exchange, code, or futures symbol aliases.

Maximum string length: 100
Pattern: ^[^\x00-\x1f]*$
min_cot_index
number<double>

Minimum 0 to 100 COT Index threshold in screener mode.

Required range: 0 <= x <= 100
max_cot_index
number<double>

Maximum 0 to 100 COT Index threshold in screener mode.

Required range: 0 <= x <= 100
min_open_interest
number<double>

Minimum open interest in contracts in screener mode.

Required range: 0 <= x <= 1000000000
extremes_only
enum<string>
default:false

When true, keeps only markets in extreme_long, extreme_short, or extreme_divergence states.

Available options:
true,
false
divergences_only
enum<string>
default:false

When true, keeps only markets with opposing hedger and speculator positioning extremes.

Available options:
true,
false
active_only
enum<string>
default:true

When true (default), hides delisted/stale markets with no recent report.

Available options:
true,
false
sort
enum<string>
default:open_interest

Ranking metric in screener mode.

Available options:
open_interest,
cot_index_52w,
cot_index_156w,
z_score_52w,
z_score_156w,
abs_z_score,
weekly_change,
divergence_z_spread,
concentration_top4
order
enum<string>
default:desc

Sort direction in screener mode: desc (default) or asc.

Available options:
desc,
asc
limit
integer<int32>
default:50

Maximum markets to return in screener mode (1 to 500; default 50).

Required range: 1 <= x <= 500

Response

Compute COT positioning index, Z-scores, and extreme screener: one page.

The answer of GET /cot/analytics in either single-market or all-markets screener mode.

mode
enum<string>
required

market when market_code/symbol was supplied, snapshot for cross-market screen.

Available options:
market,
snapshot
Example:

"market"

report
enum<string>
required

CFTC report analyzed.

Available options:
legacy,
disaggregated,
tff
Example:

"tff"

count
integer<int32>
required

Number of weeks (market mode) or markets (snapshot mode) returned.

Required range: 0 <= x <= 500
Example:

26

market_code
string

Resolved CFTC code in market mode.

Pattern: ^[0-9A-Z+]{6}$
Example:

"133741"

resolved_from
string

Original futures alias when resolved.

Maximum string length: 40
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"BTC"

as_of
string<date> | null

Latest report date across analyzed markets in snapshot mode.

Example:

"2026-11-17"

report_lag_note
string

CFTC publication lag notice.

Maximum string length: 300
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"CFTC positions are captured Tuesday and published Friday at 15:30 ET."

next_expected_release_day
string

Standard weekly CFTC release day.

Maximum string length: 40
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"Friday 15:30 ET"

selected_group
string

Trader group used for screener filtering in snapshot mode.

Maximum string length: 32
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"leveraged_funds"

lookback
enum<string>

Lookback window in snapshot mode.

Available options:
52w,
156w
Example:

"52w"

total_markets_analyzed
integer<int32>

Active markets analyzed in snapshot mode.

Required range: 0 <= x <= 5000
Example:

378

extreme_divergence_count
integer<int32>

Active markets currently flagging extreme hedger-vs-speculator divergence.

Required range: 0 <= x <= 5000
Example:

14

latest
object

One weekly COT analytics record for a futures market.

Example:
history
object[]

Trailing weekly analytics in market mode, newest first.

Maximum array length: 156
markets
object[]

Screened markets in snapshot mode.

Maximum array length: 500
methodology
string

COT Index, percentile, Z-score, and divergence definitions.

Maximum string length: 1500
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"COT Index scales net positioning from 0 to 100 over 52w or 156w."