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.

Try it
Ready-made, maintained by usRecords, 16 fieldsv1.0

Data from publicreporting.cftc.gov/resource/72hh-3qpy.json

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

Commoditiesoptional
CFTC commodity names, for example WHEAT, CORN, SOYBEANS, LIVE CATTLE, LEAN HOGS, COFFEE, SUGAR NO. 11, COCOA, COTTON. Empty means the nine main agricultural ones. One per line, or separated by commas.
Example: WHEAT
Date fromoptional
First report date to include, as YYYY-MM-DD.
Example: 2026-09-01

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
Endpoint
POSThttps://pullrow.dev/v1/apis/cftc-ag-cot/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

commoditieslist
CFTC commodity names, for example WHEAT, CORN, SOYBEANS, LIVE CATTLE, LEAN HOGS, COFFEE, SUGAR NO. 11, COCOA, COTTON. Empty means the nine main agricultural ones.
example: WHEAT
date_fromtext
First report date to include, as YYYY-MM-DD.
example: 2026-09-01

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
commoditytextCommodity3 of 3
markettextMarket3 of 3
exchangetextExchange3 of 3
report_datedateReport date3 of 3
open_interestnumberOpen interest3 of 3
producer_longnumberProducer long3 of 3
producer_shortnumberProducer short3 of 3
swap_longnumberSwap long3 of 3
swap_shortnumberSwap short3 of 3
managed_money_longnumberManaged money long3 of 3
managed_money_shortnumberManaged money short3 of 3
managed_money_netnumberManaged money net3 of 3
other_longnumberOther long3 of 3
other_shortnumberOther short3 of 3
weekly_changenumberWeekly change3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordCommodityMarketExchangeOpen interestProducer longProducer shortSwap longSwap shortManaged money longManaged money shortManaged money netOther longOther shortWeekly changeReport date
1WHEATWHEAT-SRWCHICAGO BOARD OF TRADE483,35977,01681,50881,88719,60990,375174,294-83,91943,06317,528939Dec 1, 2026
2WHEATWHEAT-HRWCHICAGO BOARD OF TRADE296,62551,72288,43375,2561,63651,06082,480-31,4209,64111,177-2,264Dec 1, 2026
3WHEATWHEAT-HRSpringMIAX FUTURES EXCHANGE61,08925,75728,2585,412013,91519,530-5,6152,276936-3,224Dec 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.
Known limits
  • 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.