# x402stock CFTC Commitments of Traders (COT) by Market

> x402stock CFTC Commitments of Traders (COT) by Market is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Returns the latest CFTC Commitments of Traders report data for a specified futures market, including open interest, non-commercial/commercial/non-reportable long/short/net positions, weekly changes, and net position history.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/cot/:market?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-cftc-commitments-of-traders-cot-by-market-ee1432df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wmmSoaKz6Et9kC6aC4Jtp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402stock-cftc-commitments-of-traders-cot-by-market-ee1432df
```

Example prompt: Pull the CFTC Commitments of Traders report for crude oil futures for the last 24 weeks — I want to see open interest, non-commercial and commercial net positions, and how they've changed week over week.

## When to prefer this

Use this endpoint when you need structured, per-market CFTC COT positioning data for a specific supported futures market (commodities, FX, equity indices, crypto, or rates) with historical weekly series. Prefer this over scraping the CFTC website directly because it returns clean structured data with net position history. Best for market sentiment analysis, contrarian trading signals, or macro positioning research on any of the 13 supported markets.

## Known failure modes

- Invalid market slug returns an error or empty response — only the 13 predefined slugs (sp500, nasdaq, gold, silver, crude-oil, natural-gas, euro, british-pound, japanese-yen, swiss-franc, us-dollar-index, 10y-note, bitcoin) are supported
- weeks parameter exceeding 52 is rejected (schema maximum)
- weeks=0 is rejected (exclusiveMinimum:0)
- Payment failure (402) if USDC payment is not properly attached
- Data may be delayed by up to a week as CFTC releases COT reports weekly on Fridays

## How this service works

CFTC Commitments of Traders for one futures market by slug: sp500, nasdaq, gold, silver, crude-oil, natural-gas, euro, british-pound, japanese-yen, swiss-franc, us-dollar-index, 10y-note, bitcoin. Returns open interest and non-commercial, commercial, and non-reportable long/short/net with weekly changes plus net history. `?weeks=` 12 (max 52). From the US CFTC. From x402stock

## Output

Returns structured COT report data for the requested futures market, including total open interest, and long, short, and net position counts (plus weekly changes) for non-commercial (large speculators), commercial, and non-reportable (small traders) categories. Also includes a historical series of net positions for up to 52 weeks.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "market": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "weeks": {
       "type": "integer",
       "default": 12,
       "maximum": 52,
       "exclusiveMinimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-cftc-commitments-of-traders-cot-by-market-ee1432df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
