[Integrations](https://spiral.ai/integrations) › [dots](https://spiral.ai/integrations/dots) › [CFTC contract market directory](https://spiral.ai/integrations/dots/cftc-contract-market-directory)

# How to Use CFTC contract market directory in dots

Returns contract markets with exchange codes, commodity classifications, available report dates, and row counts. Use it to distinguish similarly named contracts and check their available history before requesting positions.

|  |  |
| --- | --- |
| Model | CFTC contract market directory |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with CFTC contract market directory in dots

- Every Monday, use CFTC contract market directory to list gold contracts and flag changes in their available reporting dates compared with the previous check.
- Every Monday at 9am: use CFTC contract market directory to look this up and give me the result as a table.
- Pull the latest numbers from CFTC contract market directory and tell me what changed since last week.
- Check CFTC contract market directory and summarize what you find in three bullet points.
- Pull the newest data from CFTC contract market directory and give me the result as a table.

## How to set up CFTC contract market directory in dots

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send dots this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create an API key**: In the console, open API keys and create a key for your dot. Copy it.

2. **Send your dot this message**: Your dot reads Spiral's skill and asks for your API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give your dot the key**: When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CFTC contract market directory**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "cftc-gov/commitments-of-traders/markets",
    "input": {
      "report": "legacy_futures_only"
    }
  }'
```

Then paste one of the prompts above: dots finds CFTC contract market directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/dots

## CFTC contract market directory tools and prices

- [CFTC Commitments of Traders · Markets](https://spiral.ai/tools/alexandria/cftc-gov/commitments-of-traders/markets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Case-insensitive substring of contract_market_name or commodity_name (GOLD, WHEAT, S&P, EURO FX). Pattern: ^[^%_]+$. |
| cursor |  | — | next_cursor from the previous page of the same query. |
| page_size | 1 to 500 | 100 | page_size |
| exchange_code |  | — | Exchange code without padding: CBT, CME, CMX, NYME, ICUS, ICEU, CMXE, FREX... Pattern: ^[A-Za-z0-9]{1,4}$. |
| commodity_group_name |  | — | AGRICULTURE, NATURAL RESOURCES or FINANCIAL INSTRUMENTS (case-insensitive). |

## What can you do with CFTC contract market directory in dots?

Maintain a weekly CFTC watchlist that shows the latest available reporting date and changes in the selected market data. A scheduled agent can refresh contract coverage or positioning summaries as new observations appear.

### Weekly positioning brief

Identify the relevant contract markets, then summarize open interest and changes in aggregate trader positions. Keep physical commodity and financial market classifications clearly labeled.

### Historical positioning ranges

Check each contract's available dates, then calculate where its current net position sits within its own historical range. Compare like trader categories within the same report type.

### Futures and combined exposure comparison

Match the same contract and reporting week across futures-only and combined reports. Show how including futures-equivalent options changes each trader category's reported position.

### Agricultural purchasing research

Find the relevant corn, wheat, or coffee contracts and prepare a positioning appendix for a purchasing review. Compare broad commercial activity, managed money, and index trader participation in separate tables.

### Research dataset coverage review

Use contract identities and available date ranges to select a study period. Inspect the resulting weekly position series for gaps before calculating changes or historical percentiles.

### Publication date monitoring

Check the latest available report dates for a contract watchlist and refresh its positioning tables when a new reporting week appears. Show the position date prominently in the resulting brief.

### Institutional financial market comparison

Identify currency, Treasury, or equity index contracts and compare asset manager and leveraged fund positioning. Add traditional commercial and noncommercial totals as separately labeled context.

### Agricultural index participation review

Compare index trader positions across selected agricultural contracts. Place the results beside legacy totals and disaggregated trader categories without treating those classifications as interchangeable.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All dots guides](https://spiral.ai/integrations/dots)

## CFTC contract market directory in other agents

- [Amp](https://spiral.ai/integrations/amp/cftc-contract-market-directory)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cftc-contract-market-directory)
- [Claude](https://spiral.ai/integrations/claude-desktop/cftc-contract-market-directory)
- [Claude Code](https://spiral.ai/integrations/claude-code/cftc-contract-market-directory)
- [Cline](https://spiral.ai/integrations/cline/cftc-contract-market-directory)
- [Codex](https://spiral.ai/integrations/codex/cftc-contract-market-directory)
- [Cursor](https://spiral.ai/integrations/cursor/cftc-contract-market-directory)
- [Devin](https://spiral.ai/integrations/devin/cftc-contract-market-directory)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cftc-contract-market-directory)
- [Gemini](https://spiral.ai/integrations/gemini/cftc-contract-market-directory)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/cftc-contract-market-directory)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cftc-contract-market-directory)
- [goose](https://spiral.ai/integrations/goose/cftc-contract-market-directory)
- [Grok](https://spiral.ai/integrations/grok/cftc-contract-market-directory)
- [Grok Build](https://spiral.ai/integrations/grok-build/cftc-contract-market-directory)
- [Hermes](https://spiral.ai/integrations/hermes/cftc-contract-market-directory)
- [Instinct](https://spiral.ai/integrations/instinct/cftc-contract-market-directory)
- [Manus](https://spiral.ai/integrations/manus/cftc-contract-market-directory)
- [Muse](https://spiral.ai/integrations/muse/cftc-contract-market-directory)
- [Muse Code](https://spiral.ai/integrations/muse-code/cftc-contract-market-directory)
- [n8n](https://spiral.ai/integrations/n8n/cftc-contract-market-directory)
- [Notion](https://spiral.ai/integrations/notion/cftc-contract-market-directory)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cftc-contract-market-directory)
- [opencode](https://spiral.ai/integrations/opencode/cftc-contract-market-directory)
- [Perplexity](https://spiral.ai/integrations/perplexity/cftc-contract-market-directory)
- [Raycast](https://spiral.ai/integrations/raycast/cftc-contract-market-directory)
- [VS Code](https://spiral.ai/integrations/vscode/cftc-contract-market-directory)
- [Windsurf](https://spiral.ai/integrations/windsurf/cftc-contract-market-directory)
- [Zapier](https://spiral.ai/integrations/zapier/cftc-contract-market-directory)

## More dots guides

- [CFTC commodity index trader positions](https://spiral.ai/integrations/dots/cftc-commodity-index-trader-positions)
- [CFTC disaggregated futures and options positions](https://spiral.ai/integrations/dots/cftc-disaggregated-futures-and-options-positions)
- [CFTC commodity futures positions](https://spiral.ai/integrations/dots/cftc-commodity-futures-positions)
- [CFTC disaggregated futures positions](https://spiral.ai/integrations/dots/cftc-disaggregated-futures-positions)
- [CFTC commodity futures and options positions](https://spiral.ai/integrations/dots/cftc-commodity-futures-and-options-positions)
- [CFTC financial futures and options positions](https://spiral.ai/integrations/dots/cftc-financial-futures-and-options-positions)

## Questions about CFTC contract market directory in dots

**Can dots use CFTC contract market directory?**

Yes. Add Spiral to dots as an MCP server, and dots can find and run CFTC contract market directory like any built-in tool.

**How much does CFTC contract market directory cost in dots?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.

**Do I need an Alexandria account to use CFTC contract market directory in dots?**

You need no Alexandria account. dots uses one Spiral API key for every tool, and Spiral runs CFTC contract market directory on its own Alexandria account.

**How long does it take to set up CFTC contract market directory in dots?**

About two minutes: create an API key, then send your dot this message, then give your dot the key.

**Does dots wait while CFTC contract market directory runs?**

CFTC contract market directory runs in the background. dots starts the run, checks on it and gives you the json when it's ready.

**How current is CFTC positioning data?**

Reports normally appear Friday at 3:30 p.m. Eastern time and describe positions from the preceding Tuesday. Federal holidays can delay publication by one or two days.

**Why can a contract disappear from COT reporting?**

A contract market drops out when it has fewer than 20 reportable large traders. CFTC adds it again once it reaches at least 20.

**Can I see how a specific fund is classified?**

CFTC does not publish individual traders' COT classifications because of confidentiality restrictions. The reports describe aggregate trader categories.

**How are options counted in combined reports?**

CFTC converts options into futures-equivalent positions using delta factors supplied by exchanges. Combined positions therefore include delta-adjusted options exposure alongside futures.

**How far back does CFTC's historical archive go?**

The source archives reach 1986 for legacy futures-only reports, 1995 for legacy combined reports, and 2006 for Supplemental reports. Individual contracts can have shorter histories.

