KeyVex Cftc Cot Reports API

The Cftc Cot Reports API from KeyVex — 1 operation(s) for cftc cot reports.

GitHub OpenAPI

Operations 1

GET /v1/cftc-cot-reports Returns CFTC Commitments of Traders (COT) report rows — weekly aggregated… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/keyvex-com:keyvex-com-cftc-cot-reports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keyvex-com-cftc-cot-reports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVex Cftc Cot Reports API
  version: 0.102.0
  termsOfService: https://keyvex.com/terms
  description: 'US public financial-disclosure data — congressional trades, insider filings (Form 4), lobbying, Treasury auctions, member profiles. Requires an API key — create a free one at https://keyvex.com and send it as the header `x-api-key: `. A free key returns most public-record datasets (one year of history; no market-price data and a few heavy datasets are on paid plans only), capped at 60 requests/day; paid plans raise the caps. The daily allowance resets at midnight Eastern.'
servers:
- url: https://api.keyvex.com
security:
- ApiKeyAuth: []
tags:
- name: Cftc Cot Reports
paths:
  /v1/cftc-cot-reports:
    get:
      operationId: get_cftc_cot_reports
      summary: Returns CFTC Commitments of Traders (COT) report rows — weekly aggregated…
      description: 'Returns CFTC Commitments of Traders (COT) report rows — weekly aggregated futures + options-on-futures positioning by trader class. The COT report is the macro positioning dataset for U.S. futures markets. Released every Friday 3:30 PM ET for the prior Tuesday close. Trader classes (the CFTC''s Legacy report, futures and options combined): - Non-commercial (large speculators — hedge funds, CTAs) - Commercial (hedgers — producers, swap dealers) - Non-reportable (small speculators) Every row carries report=''legacy'' and variant=''combined'' (futures and options together). Killer query patterns: - Macro positioning snapshot this week: latest_only=true (gives the latest report row for every contract in one query) - Large-spec extremes in S&P: commodity_name=''S&P 500 STOCK INDEX'' + sort_by=''noncomm_net'' + sort_order=''desc'' - Gold positioning history: commodity_name=''GOLD'' + since=''2026-01-01'' - Currency COT: contract_market_name substring ''YEN'' / ''EURO'' Source: publicreporting.cftc.gov/resource/jun7-fc8e.json, the CFTC''s Legacy Futures-and-Options Combined report (Socrata API, free, unauthenticated); each row''s source_url is that row''s own query on it. Covers EVERY regulated U.S. futures + options- on-futures contract — agricultural commodities, metals, energy, financials, FX, crypto. Pure-publisher posture: raw positioning numbers, no derived sentiment scores. Key derived fields (computed from raw): noncomm_net (large-spec net), comm_net (hedger net), nonrept_net (small-spec net). Concentration fields show top-4 / top-8 trader net long/short concentration.'
      parameters:
      - name: id
        in: query
        required: false
        description: Direct doc lookup ({contract_code}-{YYYY-MM-DD}). Fastest path.
        schema:
          type: string
      - name: cftc_contract_market_code
        in: query
        required: false
        description: Exact CFTC contract code (e.g., '13874A' = E-mini S&P 500, '088691' = Gold, '067651' = Crude Oil WTI).
        schema:
          type: string
      - name: contract_market_name
        in: query
        required: false
        description: Case-insensitive substring on contract_market_name (e.g., 'S&P 500', 'GOLD', 'CRUDE OIL', 'JAPANESE YEN'); a needle of 3 characters or fewer matches WHOLE WORDS ('GAS' finds 'NAT GAS', not 'GASOLINE'). Applied client-side, within a bounded window.
        schema:
          type: string
      - name: commodity_name
        in: query
        required: false
        description: Exact commodity name from CFTC's catalog (e.g., 'S&P 500 STOCK INDEX', 'GOLD', 'CRUDE OIL', 'EURO FX').
        schema:
          type: string
      - name: since
        in: query
        required: false
        description: Inclusive lower bound on report_date (YYYY-MM-DD).
        schema:
          type: string
      - name: until
        in: query
        required: false
        description: Inclusive upper bound on report_date (YYYY-MM-DD).
        schema:
          type: string
      - name: latest_only
        in: query
        required: false
        description: When true, returns only the most recent report row per contract (one row per contract instead of weekly history).
        schema:
          type: boolean
      - name: sort_by
        in: query
        required: false
        description: 'Sort key. Default: report_date. report_date, open_interest, noncomm_net, comm_net.'
        schema:
          type: string
          enum:
          - report_date
          - open_interest
          - noncomm_net
          - comm_net
      - name: sort_order
        in: query
        required: false
        description: 'Default: desc.'
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: limit
        in: query
        required: false
        description: Max records. Default 50, max 500.
        schema:
          type: integer
      responses:
        '200':
          description: 'JSON envelope: { results: [...], count, has_more }.'
        '400':
          description: Invalid parameter.
        '401':
          description: Missing or invalid API key.
        '402':
          description: This tool requires a higher plan (upgrade_required). Retrying will not help.
        '429':
          description: Tier rate/quota limit reached (rate_limited). Retry-After points at the reset.
      tags:
      - Cftc Cot Reports
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key