List Commitments of Traders markets
curl --request GET \
--url https://api.darvas.app/v1/cot/markets \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/cot/markets"
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/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active_only": true,
"count": 1,
"total_markets": 1,
"markets": [
{
"market_code": "133741",
"market": "BITCOIN",
"exchange": "CHICAGO MERCANTILE EXCHANGE",
"commodity": "BITCOIN",
"asset_class": "crypto",
"reports": [
"legacy",
"tff"
],
"first_date": "2017-12-19",
"last_date": "2026-11-17"
}
]
}{
"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 COT Futures Markets & Codes Directory
List all 960+ futures markets in the CFTC Commitment of Traders API with CFTC market codes, Legacy/Disaggregated/TFF report types and date spans.
List Commitments of Traders markets
curl --request GET \
--url https://api.darvas.app/v1/cot/markets \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/cot/markets"
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/markets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"active_only": true,
"count": 1,
"total_markets": 1,
"markets": [
{
"market_code": "133741",
"market": "BITCOIN",
"exchange": "CHICAGO MERCANTILE EXCHANGE",
"commodity": "BITCOIN",
"asset_class": "crypto",
"reports": [
"legacy",
"tff"
],
"first_date": "2017-12-19",
"last_date": "2026-11-17"
}
]
}{
"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 market with weeks, itsmarket_code for Commitments of Traders, the reports that cover it and its first and last week. search=bitcoin keeps the markets whose name contains the text.
| Coverage | Details |
|---|---|
| Markets | All 960+ CFTC futures markets with weekly data in Commitment of Traders |
| Filter | Optional search substring on market name (for example search=bitcoin) |
| Credits | One credit per call that returns data, however many rows it lists |
| MCP tool | list_cot_markets on the data API MCP server |
Example
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/cot/markets?search=bitcoin"
Authorizations
apiKeybearerKey
Query Parameters
Response
List Commitments of Traders markets: one page.
The answer of GET /cot/markets.