All APIs

Commitments of Traders (COT) API

Weekly CFTC Commitments of Traders positions in US futures markets: long and short contracts by trader type, with history from 1986.

First request

Get the latest week for a market

curl --request GET \
  --url "https://api.narwhalapi.com/v1/markets/positions/XAU" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"
Example response
{
  "market": "088691",
  "name": "GOLD - COMMODITY EXCHANGE INC.",
  "commodity": "XAU",
  "currency": null,
  "group": "NATURAL RESOURCES",
  "contract_units": "(CONTRACTS OF 100 TROY OUNCES)",
  "report_date": "2026-11-17",
  "reports": [
    {
      "report": "legacy",
      "report_date": "2026-11-17",
      "open_interest": 407834,
      "open_interest_change": 3109,
      "traders": [
        {
          "category": "non_commercial",
          "long": 210051,
          "short": 43919,
          "spreading": 73515,
          "long_change": -16183,
          "short_change": 7792,
          "spreading_change": 11785,
          "net": 166132,
          "net_change": -23975
        },
        {
          "category": "commercial",
          "long": 77005,
          "short": 270755,
          "spreading": null,
          "long_change": 6542,
          "short_change": -17230,
          "spreading_change": null,
          "net": -193750,
          "net_change": 23772
        }
      ]
    }
  ],
  "source": "US Commodity Futures Trading Commission, Commitments of Traders (futures only)"
}

Endpoints

GETList the markets/v1/markets/positions

Every market still reported, with its code and the reports it appears in.


Full reference →
GETGet the latest week of a market/v1/markets/positions/{market}

Long and short positions by trader type, with the change from the week before.

Parameters

  • marketrequired

    A CFTC contract market code, or our id such as XAU, WTI or EUR.


Full reference →
GETGet the weekly history of a market/v1/markets/positions/{market}/history

One report, week by week, a page at a time.

Parameters

  • marketrequired

    A CFTC contract market code, or our id such as XAU, WTI or EUR.

  • reportoptional

    Which report: legacy, disaggregated or financial.

  • startoptional

    First day or year of the range.

  • endoptional

    Last day or year of the range.

  • limitoptional

    How many rows to return in one page.

  • cursoroptional

    The next_cursor of the previous page, sent with the same other parameters.


Full reference →

Coverage

The legacy report covers every market from 1986. The disaggregated report covers physical commodities and the financial report covers financial futures, both from 2006.

Positions are counted on a Tuesday and published on the following Friday, later in a holiday week. Figures are numbers of contracts, futures only. There are no prices.

Sources

US Commodity Futures Trading Commission, Commitments of Traders. The source is named on every answer.

Related APIs

Commodities

Prices for spot metals and physical commodities, with native units and series definitions.

Explore the API →

FAQ

What is the Commitments of Traders report?

A weekly report by the US Commodity Futures Trading Commission that shows how many futures contracts each type of trader holds long and short.

How often is the report updated?

Weekly. Positions are counted on a Tuesday and published on the following Friday, later in a holiday week.

How do I name a market?

Use its CFTC contract market code, such as 088691. The main contract of a commodity or currency we serve also answers to our id, such as XAU, WTI or EUR.

What does the trader positions API cost?

Each answer is one Markets call from your prepaid credit. Every account gets $10 free every month, with no card.