List Commitments of Traders
curl --request GET \
--url https://api.darvas.app/v1/cot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/cot"
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/cot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"cot": [
{
"report": "tff",
"market_code": "133741",
"market": "BITCOIN",
"exchange": "CHICAGO MERCANTILE EXCHANGE",
"commodity": "BITCOIN",
"report_date": "2026-11-17",
"open_interest": 19257,
"change_in_open_interest": -300,
"traders_total": 112,
"traders_reportable_long": 58,
"traders_reportable_short": 78,
"concentration": {
"top_4_gross_long_pct": 57.3,
"top_4_gross_short_pct": 33.8,
"top_8_gross_long_pct": 70.7,
"top_8_gross_short_pct": 49.6,
"top_4_net_long_pct": 54.7,
"top_4_net_short_pct": 30.9,
"top_8_net_long_pct": 64.3,
"top_8_net_short_pct": 43.4,
"max_top_4_net_pct": 54.7,
"crowding_flag": true
},
"groups": {
"leveraged_funds": {
"long": 6264,
"short": 9875,
"spread": 412,
"net": -3611,
"change_long": 120,
"change_short": -85,
"change_spread": 10,
"pct_of_oi_long": 32.5,
"pct_of_oi_short": 51.3,
"pct_of_oi_spread": 2.1,
"net_pct_of_oi": -18.75,
"traders_long": 31,
"traders_short": 36,
"traders_spread": 15
}
}
}
],
"next_expected_release_day": "Friday 15:30 ET"
}{
"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"
}Futures (CFTC COT)
CFTC Commitment of Traders (COT) Data API
Query weekly CFTC Commitment of Traders positioning across 960+ futures markets, including CME Bitcoin, Ether, metals, rates, FX and commodities.
List Commitments of Traders
curl --request GET \
--url https://api.darvas.app/v1/cot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/cot"
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/cot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"cot": [
{
"report": "tff",
"market_code": "133741",
"market": "BITCOIN",
"exchange": "CHICAGO MERCANTILE EXCHANGE",
"commodity": "BITCOIN",
"report_date": "2026-11-17",
"open_interest": 19257,
"change_in_open_interest": -300,
"traders_total": 112,
"traders_reportable_long": 58,
"traders_reportable_short": 78,
"concentration": {
"top_4_gross_long_pct": 57.3,
"top_4_gross_short_pct": 33.8,
"top_8_gross_long_pct": 70.7,
"top_8_gross_short_pct": 49.6,
"top_4_net_long_pct": 54.7,
"top_4_net_short_pct": 30.9,
"top_8_net_long_pct": 64.3,
"top_8_net_short_pct": 43.4,
"max_top_4_net_pct": 54.7,
"crowding_flag": true
},
"groups": {
"leveraged_funds": {
"long": 6264,
"short": 9875,
"spread": 412,
"net": -3611,
"change_long": 120,
"change_short": -85,
"change_spread": 10,
"pct_of_oi_long": 32.5,
"pct_of_oi_short": 51.3,
"pct_of_oi_spread": 2.1,
"net_pct_of_oi": -18.75,
"traders_long": 31,
"traders_short": 36,
"traders_spread": 15
}
}
}
],
"next_expected_release_day": "Friday 15:30 ET"
}{
"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
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:report | Groups | Since |
|---|---|---|
legacy (default) | noncommercial, commercial, non_reportables | 1986 |
disaggregated | producer_merchant, swap_dealers, managed_money, other_reportables, non_reportables | 2006 |
tff, traders in financial futures | dealer, asset_manager, leveraged_funds, other_reportables, non_reportables | 2006 |
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.
| Coverage | Details |
|---|---|
| Markets | 960+ CFTC futures markets listed by COT Markets |
| Reports | legacy (default, since 1986), disaggregated (since 2006) and tff (since 2006) |
| Pagination | limit with next_page_url and cursor, newest Tuesday report first |
| MCP tool | list_cot on the data API MCP server |
Example
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
url = "https://api.darvas.app/v1/cot"
weeks = requests.get(url, headers=headers, params={"market_code": "133741", "report": "tff", "limit": 12}).json()
for week in weeks["cot"]:
funds = week["groups"]["leveraged_funds"]
print(week["report_date"], funds["net"], funds["change_long"], funds["change_short"])
Authorizations
apiKeybearerKey
Query Parameters
Response
List Commitments of Traders: one page.
The answer of GET /cot.