---
title: "Commitments of Traders (COT) API | Narwhal API"
description: "Weekly CFTC Commitments of Traders positions in US futures markets: long and short contracts by trader type, with history from 1986."
url: "https://narwhalapi.com/api/trader-positions"
---

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.

[Get a free API key](https://narwhalapi.com/signup)
[Read the docs →](https://narwhalapi.com/docs/api/trader-positions.md)

## 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

GET List the markets`/v1/markets/positions`

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

---

[Full reference →](https://narwhalapi.com/docs/api/trader-positions.md)

GET Get 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

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

---

[Full reference →](https://narwhalapi.com/docs/api/trader-positions.md)

GET Get the weekly history of a market`/v1/markets/positions/{market}/history`

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

#### Parameters

- `market` required A CFTC contract market code, or our id such as XAU, WTI or EUR.
- `report` optional Which report: legacy, disaggregated or financial.
- `start` optional First day or year of the range.
- `end` optional Last day or year of the range.
- `limit` optional How many rows to return in one page.
- `cursor` optional The next_cursor of the previous page, sent with the same other parameters.

---

[Full reference →](https://narwhalapi.com/docs/api/trader-positions.md)

## 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

### API reference

Parameters, response fields and errors.

[Read the docs →](https://narwhalapi.com/docs/api/trader-positions.md)

### Commodities

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

[Explore the API →](https://narwhalapi.com/api/commodities.md)

## 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.

## Start with a free key

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)
