curl --request POST \
--url https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contract_market_code": "088691",
"fields": [
"open_interest_all",
"cftc_market_code"
],
"page_size": 2
}
'import requests
url = "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only"
payload = {
"contract_market_code": "088691",
"fields": ["open_interest_all", "cftc_market_code"],
"page_size": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contract_market_code: '088691',
fields: ['open_interest_all', 'cftc_market_code'],
page_size: 2
})
};
fetch('https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contract_market_code' => '088691',
'fields' => [
'open_interest_all',
'cftc_market_code'
],
'page_size' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only"
payload := strings.NewReader("{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"data_last_modified": "Fri, 18 Sep 2026 19:30:07 GMT",
"dataset_id": "72hh-3qpy",
"futures_only": true,
"next_cursor": "2",
"observed_at_ms": 1790037936505,
"report": "disaggregated_futures_only",
"report_name": "Disaggregated - Futures Only",
"rows": [
{
"cftc_contract_market_code": "088691",
"cftc_market_code": "CMX ",
"id": "260915088691F",
"market_and_exchange_names": "GOLD - COMMODITY EXCHANGE INC.",
"open_interest_all": "409899",
"report_date_as_yyyy_mm_dd": "2026-09-15T00:00:00.000"
},
{
"cftc_contract_market_code": "088691",
"cftc_market_code": "CMX ",
"id": "260908088691F",
"market_and_exchange_names": "GOLD - COMMODITY EXCHANGE INC.",
"open_interest_all": "411227",
"report_date_as_yyyy_mm_dd": "2026-09-08T00:00:00.000"
}
],
"sort": "recent_first",
"source_url": "https://publicreporting.cftc.gov/resource/72hh-3qpy.json?$select=id,market_and_exchange_names,report_date_as_yyyy_mm_dd,cftc_contract_market_code,open_interest_all,cftc_market_code&$where=cftc_contract_market_code%3D%27088691%27&$order=report_date_as_yyyy_mm_dd%20DESC,id%20ASC&$limit=3&$offset=0"
}Disaggregated futures only
Positions and open interest from the CFTC Disaggregated - Futures Only report for one or many markets and weeks. Use markets first to find contract_market_code values; use fields to keep the payload small.
curl --request POST \
--url https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contract_market_code": "088691",
"fields": [
"open_interest_all",
"cftc_market_code"
],
"page_size": 2
}
'import requests
url = "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only"
payload = {
"contract_market_code": "088691",
"fields": ["open_interest_all", "cftc_market_code"],
"page_size": 2
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contract_market_code: '088691',
fields: ['open_interest_all', 'cftc_market_code'],
page_size: 2
})
};
fetch('https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contract_market_code' => '088691',
'fields' => [
'open_interest_all',
'cftc_market_code'
],
'page_size' => 2
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only"
payload := strings.NewReader("{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contract_market_code\": \"088691\",\n \"fields\": [\n \"open_interest_all\",\n \"cftc_market_code\"\n ],\n \"page_size\": 2\n}"
response = http.request(request)
puts response.read_body{
"count": 2,
"data_last_modified": "Fri, 18 Sep 2026 19:30:07 GMT",
"dataset_id": "72hh-3qpy",
"futures_only": true,
"next_cursor": "2",
"observed_at_ms": 1790037936505,
"report": "disaggregated_futures_only",
"report_name": "Disaggregated - Futures Only",
"rows": [
{
"cftc_contract_market_code": "088691",
"cftc_market_code": "CMX ",
"id": "260915088691F",
"market_and_exchange_names": "GOLD - COMMODITY EXCHANGE INC.",
"open_interest_all": "409899",
"report_date_as_yyyy_mm_dd": "2026-09-15T00:00:00.000"
},
{
"cftc_contract_market_code": "088691",
"cftc_market_code": "CMX ",
"id": "260908088691F",
"market_and_exchange_names": "GOLD - COMMODITY EXCHANGE INC.",
"open_interest_all": "411227",
"report_date_as_yyyy_mm_dd": "2026-09-08T00:00:00.000"
}
],
"sort": "recent_first",
"source_url": "https://publicreporting.cftc.gov/resource/72hh-3qpy.json?$select=id,market_and_exchange_names,report_date_as_yyyy_mm_dd,cftc_contract_market_code,open_interest_all,cftc_market_code&$where=cftc_contract_market_code%3D%27088691%27&$order=report_date_as_yyyy_mm_dd%20DESC,id%20ASC&$limit=3&$offset=0"
}Request contract
- Method and path: POST /apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only
{
"operationId": "cftc-gov.commitments-of-traders.disaggregated-futures-only",
"method": "POST",
"path": "/apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"contract_market_code": "088691",
"fields": [
"open_interest_all",
"cftc_market_code"
],
"page_size": 2
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"commodity_group_name": {
"description": "Exact commodity_group_name, case-insensitive: AGRICULTURE, NATURAL RESOURCES, FINANCIAL INSTRUMENTS.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"commodity_name": {
"description": "Exact commodity_name, case-insensitive (GOLD, WHEAT, NATURAL GAS, BITCOIN).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"commodity_subgroup_name": {
"description": "Exact commodity_subgroup_name, case-insensitive (GRAINS, PRECIOUS METALS, PETROLEUM AND PRODUCTS, CURRENCIES, STOCK INDICES, ...).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"contract_market_code": {
"description": "Exact cftc_contract_market_code, a string with leading zeros kept (088691 = GOLD - COMMODITY EXCHANGE INC., 001602 = WHEAT-SRW - CBOT). Discover codes with `markets`. Alone, a code with no rows in this dataset is not_found; combined with date or other filters an empty page is a legitimate empty result. Pattern: ^[A-Za-z0-9]{1,12}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "next_cursor from the previous page of the same query (the SODA $offset).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"exchange_code": {
"description": "cftc_market_code without its padding: CBT, CME, CMX, NYME, ICUS, ICEU, CMXE, FREX... Matches the padded value the dataset stores ('CMX '). Pattern: ^[A-Za-z0-9]{1,4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"fields": {
"description": "Projection: SODA column names to return (open_interest_all, noncomm_positions_long_all, m_money_positions_long_all, ...). The identity columns id, market_and_exchange_names, report_date_as_yyyy_mm_dd and cftc_contract_market_code are always included. An unknown column is invalid_input. Omit for every column.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"from": {
"description": "Earliest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page_size": {
"default": 100,
"description": "Rows per page (a legacy row is ~4.7 KB, a disaggregated row ~7 KB).\n\nProvider reference: minimum 1; maximum 1000; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
},
"query": {
"description": "SODA full-text search ($q) over the text columns, e.g. `gold` or `chicago board of trade`.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"report_date": {
"description": "One weekly report date (a Tuesday), YYYY-MM-DD. Not combinable with from / to. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"sort": {
"default": "recent_first",
"description": "Order by report date then id. The upstream default order is undefined, so an order is always sent.\n\nProvider reference: allowed values [\"recent_first\", \"oldest_first\"]; default \"recent_first\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"recent_first",
"oldest_first"
]
}
},
"to": {
"description": "Latest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Exact cftc_contract_market_code, a string with leading zeros kept (088691 = GOLD - COMMODITY EXCHANGE INC., 001602 = WHEAT-SRW - CBOT). Discover codes with markets. Alone, a code with no rows in this dataset is not_found; combined with date or other filters an empty page is a legitimate empty result. Pattern: ^[A-Za-z0-9]{1,12}$.
Projection: SODA column names to return (open_interest_all, noncomm_positions_long_all, m_money_positions_long_all, ...). The identity columns id, market_and_exchange_names, report_date_as_yyyy_mm_dd and cftc_contract_market_code are always included. An unknown column is invalid_input. Omit for every column.
Response
Disaggregated Commitments of Traders, futures only: producer/merchant/processor/user, swap dealer, managed money and other reportable positions with changes, percent of open interest, trader counts and concentration ratios for physical commodity markets (agriculture, energy, metals, softs), from 2006. Dataset 72hh-3qpy (Disaggregated - Futures Only) on publicreporting.cftc.gov, weekly rows (one per market and Tuesday report date), recent-first by default, all values as strings exactly as published. Filter by contract market code, exchange, commodity name/group/subgroup, report date or date range, full text; project columns with fields; page with page_size / cursor.
The response contains the tool result directly.
The provider identifies rows as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
cftc_contract_market_code | string | |
cftc_market_code | string | Exchange code padded to 4 characters ('CMX ', 'CBT ', 'CMXE'). |
commodity_group_name | string | |
commodity_name | string | |
commodity_subgroup_name | string | |
contract_market_name | string | |
id | string | Row key: yymmdd + contract code + F (futures only) or C (combined); supplemental rows have no suffix. |
market_and_exchange_names | string | |
open_interest_all | string | |
report_date_as_yyyy_mm_dd | string | Report date as a floating timestamp, e.g. 2026-09-15T00:00:00.000. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.