Skip to main content
List Commitments of Traders

Overview

Every week the CFTC publishes the open futures positions of each market by the kind of trader that holds them: the positions of Tuesday, out the Friday after. Darvas reads the three futures-only reports: Name the market by market_code, the CFTC’s six-character code: COT Markets finds it by name. CME’s bitcoin futures are 133741 and its ether futures 146021, both in tff. Each group carries long, short, spread and net in contracts, and the week’s change of each; a field the report does not give for a group, such as the spread of commercials, is null.

Example

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

market_code
string

CFTC six-character market code (for example 133741) or futures alias (ES, NQ, GC, CL, BTC, 6E, ZN). Required unless symbol is passed.

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
report_date
string<date>

Only the week of this Tuesday.

Maximum string length: 10
report_date_gte
string<date>

Only weeks on or after this day.

Maximum string length: 10
report_date_lte
string<date>

Only weeks on or before this day.

Maximum string length: 10
report_date_gt
string<date>

Only weeks after this day.

Maximum string length: 10
report_date_lt
string<date>

Only weeks before this day.

Maximum string length: 10
limit
integer<int32>
default:10

Weeks to return across all pages; each page holds up to 100.

Required range: 1 <= x <= 2000
cursor
string

The cursor from a previous next_page_url. It replaces every other parameter.

Maximum string length: 4096
Pattern: ^[A-Za-z0-9_-]+$

Response

List Commitments of Traders: one page.

The answer of GET /cot.

cot
object[]
required

This page's weeks, newest first.

Maximum array length: 100
resolved_from
string

Original futures alias when resolved to a CFTC code.

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

"BTC"

report_lag_note
string

Explanation of CFTC Tuesday-to-Friday publication lag.

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 schedule.

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

"Friday 15:30 ET"

next_page_url
string<uri>

The page of older weeks; absent on the last one.

Maximum string length: 2000
Example:

"https://api.darvas.app/v1/cot?cursor=eyJyZXBvcnQiOiJ0ZmYifQ"