Agricultural Futures Positioning API
Weekly CFTC Commitments of Traders positions for agricultural futures (wheat, corn, soybeans, cattle, hogs, coffee, sugar, cocoa, cotton): open interest, producer, swap and managed money longs and shorts, net positions and weekly change.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/cftc-ag-cot/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"commodities":["WHEAT"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields: 15 here, 1 technical one under Technical details.
Basics
- Commodity
Commodity name, such as WHEAT.
Example WHEAT
- Market
Contract market, such as WHEAT-HRW.
Example WHEAT-SRW
- Exchange
Exchange the contract trades on, such as CHICAGO BOARD OF TRADE.
Example CHICAGO BOARD OF TRADE
- Open interest
Total open contracts.
Example 483,359
- Producer long
Long contracts held by producers, merchants and processors.
Example 77,016
- Producer short
Short contracts held by producers, merchants and processors.
Example 81,508
- Swap long
Long contracts held by swap dealers.
Example 81,887
- Swap short
Short contracts held by swap dealers.
Example 19,609
- Managed money long
Long contracts held by managed money (funds).
Example 90,375
- Managed money short
Short contracts held by managed money (funds).
Example 174,294
- Managed money net
Managed money long minus short.
Example -83,919
- Other long
Long contracts of other reportable traders.
Example 43,063
- Other short
Short contracts of other reportable traders.
Example 17,528
- Weekly change
Change in open interest since the previous weekly report.
Example 939
Dates
- Report date
The Tuesday the positions are as of.
Example Dec 1, 2026
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe CFTC's own id of this market report row.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
commodity | text | Commodity | 3 of 3 |
market | text | Market | 3 of 3 |
exchange | text | Exchange | 3 of 3 |
report_date | date | Report date | 3 of 3 |
open_interest | number | Open interest | 3 of 3 |
producer_long | number | Producer long | 3 of 3 |
producer_short | number | Producer short | 3 of 3 |
swap_long | number | Swap long | 3 of 3 |
swap_short | number | Swap short | 3 of 3 |
managed_money_long | number | Managed money long | 3 of 3 |
managed_money_short | number | Managed money short | 3 of 3 |
managed_money_net | number | Managed money net | 3 of 3 |
other_long | number | Other long | 3 of 3 |
other_short | number | Other short | 3 of 3 |
weekly_change | number | Weekly change | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Commodity | Market | Exchange | Open interest | Producer long | Producer short | Swap long | Swap short | Managed money long | Managed money short | Managed money net | Other long | Other short | Weekly change | Report date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | WHEAT | WHEAT-SRW | CHICAGO BOARD OF TRADE | 483,359 | 77,016 | 81,508 | 81,887 | 19,609 | 90,375 | 174,294 | -83,919 | 43,063 | 17,528 | 939 | Dec 1, 2026 |
| 2 | WHEAT | WHEAT-HRW | CHICAGO BOARD OF TRADE | 296,625 | 51,722 | 88,433 | 75,256 | 1,636 | 51,060 | 82,480 | -31,420 | 9,641 | 11,177 | -2,264 | Dec 1, 2026 |
| 3 | WHEAT | WHEAT-HRSpring | MIAX FUTURES EXCHANGE | 61,089 | 25,757 | 28,258 | 5,412 | 0 | 13,915 | 19,530 | -5,615 | 2,276 | 936 | -3,224 | Dec 1, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Reports are the CFTC's weekly disaggregated futures-only data: positions are as of Tuesday and published the following Friday, so the newest row is about a week old.
- A commodity can have several markets (for example WHEAT covers the Chicago, Kansas City and Minneapolis contracts), so one report date returns one record per market.
- managed_money_net is managed money long minus short; weekly_change is the change in open interest since the prior report, as the CFTC publishes it.
- The source is public domain, needs no key and throttles heavy use; runs are paced at one request per second.
- At most 5,000 records per run. Commodity names must match the CFTC's own names such as WHEAT, CORN, SOYBEANS, LIVE CATTLE.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.