> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Tff futures only

> Positions and open interest from the CFTC Traders in Financial Futures - Futures Only report for one or many markets and weeks. Use `markets` first to find contract_market_code values; use `fields` to keep the payload small.

## Request contract

* **Method and path:** POST /apis/v1/cftc-gov/commitments-of-traders/tff-futures-only
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/cftc-gov/commitments-of-traders/tff-futures-only`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/cftc-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "cftc-gov.commitments-of-traders.tff-futures-only",
  "method": "POST",
  "path": "/apis/v1/cftc-gov/commitments-of-traders/tff-futures-only",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "contract_market_code": "020601",
              "page_size": 1
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "commodity_group_name": {
              "description": "Exact commodity_group_name, case-insensitive: AGRICULTURE, NATURAL RESOURCES, FINANCIAL INSTRUMENTS.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "commodity_name": {
              "description": "Exact commodity_name, case-insensitive (GOLD, WHEAT, NATURAL GAS, BITCOIN).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "commodity_subgroup_name": {
              "description": "Exact commodity_subgroup_name, case-insensitive (GRAINS, PRECIOUS METALS, PETROLEUM AND PRODUCTS, CURRENCIES, STOCK INDICES, ...).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "contract_market_code": {
              "description": "Exact cftc_contract_market_code, a string with leading zeros kept (088691 = GOLD - COMMODITY EXCHANGE INC., 001602 = WHEAT-SRW - CBOT). Discover codes with `markets`. Alone, a code with no rows in this dataset is not_found; combined with date or other filters an empty page is a legitimate empty result. Pattern: ^[A-Za-z0-9]{1,12}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "cursor": {
              "description": "next_cursor from the previous page of the same query (the SODA $offset).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "exchange_code": {
              "description": "cftc_market_code without its padding: CBT, CME, CMX, NYME, ICUS, ICEU, CMXE, FREX... Matches the padded value the dataset stores ('CMX '). Pattern: ^[A-Za-z0-9]{1,4}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "fields": {
              "description": "Projection: SODA column names to return (open_interest_all, noncomm_positions_long_all, m_money_positions_long_all, ...). The identity columns id, market_and_exchange_names, report_date_as_yyyy_mm_dd and cftc_contract_market_code are always included. An unknown column is invalid_input. Omit for every column.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "from": {
              "description": "Earliest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page_size": {
              "default": 100,
              "description": "Rows per page (a legacy row is ~4.7 KB, a disaggregated row ~7 KB).\n\nProvider reference: minimum 1; maximum 1000; default 100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 1000,
                "min": 1
              }
            },
            "query": {
              "description": "SODA full-text search ($q) over the text columns, e.g. `gold` or `chicago board of trade`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "report_date": {
              "description": "One weekly report date (a Tuesday), YYYY-MM-DD. Not combinable with from / to. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "sort": {
              "default": "recent_first",
              "description": "Order by report date then id. The upstream default order is undefined, so an order is always sent.\n\nProvider reference: allowed values [\"recent_first\", \"oldest_first\"]; default \"recent_first\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "recent_first",
                  "oldest_first"
                ]
              }
            },
            "to": {
              "description": "Latest report date to include, YYYY-MM-DD (inclusive). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/cftc-gov.json POST /apis/v1/cftc-gov/commitments-of-traders/tff-futures-only
openapi: 3.1.0
info:
  description: ''
  title: CFTC Commitments of Traders
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    cftc-gov:
      description: ''
      title: CFTC Commitments of Traders
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: e39ae3c4ff59929bae4fa39d7a1059cb32f7865b7a65e373e3a6b2c34410575f
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/cftc-gov/commitments-of-traders/disaggregated-combined
    - /apis/v1/cftc-gov/commitments-of-traders/disaggregated-futures-only
    - /apis/v1/cftc-gov/commitments-of-traders/legacy-combined
    - /apis/v1/cftc-gov/commitments-of-traders/legacy-futures-only
    - /apis/v1/cftc-gov/commitments-of-traders/markets
    - /apis/v1/cftc-gov/commitments-of-traders/supplemental
    - /apis/v1/cftc-gov/commitments-of-traders/tff-combined
    - /apis/v1/cftc-gov/commitments-of-traders/tff-futures-only
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:5a1c0922f7797545ccf1d8b06b9c6dcafe4d159d12df640154adf24432cf2fc0
    facts_hash: e39ae3c4ff59929bae4fa39d7a1059cb32f7865b7a65e373e3a6b2c34410575f
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: cftc-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/cftc-gov/commitments-of-traders/tff-futures-only:
    post:
      tags:
        - CFTC Commitments of Traders
      summary: Tff futures only
      description: >-
        Positions and open interest from the CFTC Traders in Financial Futures -
        Futures Only report for one or many markets and weeks. Use `markets`
        first to find contract_market_code values; use `fields` to keep the
        payload small.
      operationId: cftc-gov.commitments-of-traders.tff-futures-only
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  contract_market_code: '020601'
                  page_size: 1
            schema:
              additionalProperties: true
              properties:
                commodity_group_name:
                  description: >-
                    Exact commodity_group_name, case-insensitive: AGRICULTURE,
                    NATURAL RESOURCES, FINANCIAL INSTRUMENTS.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                commodity_name:
                  description: >-
                    Exact commodity_name, case-insensitive (GOLD, WHEAT, NATURAL
                    GAS, BITCOIN).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                commodity_subgroup_name:
                  description: >-
                    Exact commodity_subgroup_name, case-insensitive (GRAINS,
                    PRECIOUS METALS, PETROLEUM AND PRODUCTS, CURRENCIES, STOCK
                    INDICES, ...).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                contract_market_code:
                  description: >-
                    Exact cftc_contract_market_code, a string with leading zeros
                    kept (088691 = GOLD - COMMODITY EXCHANGE INC., 001602 =
                    WHEAT-SRW - CBOT). Discover codes with `markets`. Alone, a
                    code with no rows in this dataset is not_found; combined
                    with date or other filters an empty page is a legitimate
                    empty result. Pattern: ^[A-Za-z0-9]{1,12}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                cursor:
                  description: >-
                    next_cursor from the previous page of the same query (the
                    SODA $offset).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                exchange_code:
                  description: >-
                    cftc_market_code without its padding: CBT, CME, CMX, NYME,
                    ICUS, ICEU, CMXE, FREX... Matches the padded value the
                    dataset stores ('CMX '). Pattern: ^[A-Za-z0-9]{1,4}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                fields:
                  description: >-
                    Projection: SODA column names to return (open_interest_all,
                    noncomm_positions_long_all, m_money_positions_long_all,
                    ...). The identity columns id, market_and_exchange_names,
                    report_date_as_yyyy_mm_dd and cftc_contract_market_code are
                    always included. An unknown column is invalid_input. Omit
                    for every column.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                from:
                  description: >-
                    Earliest report date to include, YYYY-MM-DD (inclusive).
                    Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page_size:
                  default: 100
                  description: >-
                    Rows per page (a legacy row is ~4.7 KB, a disaggregated row
                    ~7 KB).


                    Provider reference: minimum 1; maximum 1000; default 100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 1000
                    min: 1
                query:
                  description: >-
                    SODA full-text search ($q) over the text columns, e.g.
                    `gold` or `chicago board of trade`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                report_date:
                  description: >-
                    One weekly report date (a Tuesday), YYYY-MM-DD. Not
                    combinable with from / to. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                sort:
                  default: recent_first
                  description: >-
                    Order by report date then id. The upstream default order is
                    undefined, so an order is always sent.


                    Provider reference: allowed values ["recent_first",
                    "oldest_first"]; default "recent_first".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - recent_first
                      - oldest_first
                to:
                  description: >-
                    Latest report date to include, YYYY-MM-DD (inclusive).
                    Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-22.
                  summary: Official provider example
                  value:
                    count: 1
                    data_last_modified: Fri, 18 Sep 2026 19:30:05 GMT
                    dataset_id: gpe5-46if
                    futures_only: true
                    next_cursor: '1'
                    observed_at_ms: 1790037942068
                    report: tff_futures_only
                    report_name: Traders in Financial Futures - Futures Only
                    rows:
                      - asset_mgr_positions_long: '1096888'
                        asset_mgr_positions_short: '636226'
                        asset_mgr_positions_spread: '221118'
                        cftc_commodity_code: '020 '
                        cftc_contract_market_code: '020601'
                        cftc_market_code: 'CBT '
                        cftc_region_code: CHI
                        cftc_subgroup_code: F30
                        change_in_asset_mgr_long: '4253'
                        change_in_asset_mgr_short: '76258'
                        change_in_asset_mgr_spread: '-4103'
                        change_in_dealer_long_all: '3664'
                        change_in_dealer_short_all: '-6546'
                        change_in_dealer_spread_all: '106'
                        change_in_lev_money_long: '70652'
                        change_in_lev_money_short: '5422'
                        change_in_lev_money_spread: '-6735'
                        change_in_nonrept_long_all: '-1879'
                        change_in_nonrept_short_all: '-1268'
                        change_in_open_interest_all: '65134'
                        change_in_other_rept_long: '-2350'
                        change_in_other_rept_short: '474'
                        change_in_other_rept_spread: '1526'
                        change_in_tot_rept_long_all: '67013'
                        change_in_tot_rept_short: '66402'
                        commodity: T-BONDS
                        commodity_group_name: FINANCIAL INSTRUMENTS
                        commodity_name: T-BONDS
                        commodity_subgroup_name: Interest Rates - U.S. Treasury
                        conc_gross_le_4_tdr_long: '20.6'
                        conc_gross_le_4_tdr_short: '37.4'
                        conc_gross_le_8_tdr_long: '31.6'
                        conc_gross_le_8_tdr_short: '48.0'
                        conc_net_le_4_tdr_long_all: '20.0'
                        conc_net_le_4_tdr_short_all: '35.1'
                        conc_net_le_8_tdr_long_all: '30.6'
                        conc_net_le_8_tdr_short_all: '45.6'
                        contract_market_name: UST BOND
                        contract_units: (CONTRACTS OF $100,000 FACE VALUE)
                        dealer_positions_long_all: '30239'
                        dealer_positions_short_all: '271909'
                        dealer_positions_spread_all: '13227'
                        futonly_or_combined: FutOnly
                        id: 260915020601F
                        lev_money_positions_long: '203681'
                        lev_money_positions_short: '415416'
                        lev_money_positions_spread: '27397'
                        market_and_exchange_names: UST BOND - CHICAGO BOARD OF TRADE
                        nonrept_positions_long_all: '226619'
                        nonrept_positions_short_all: '164625'
                        open_interest_all: '1867442'
                        other_rept_positions_long: '46747'
                        other_rept_positions_short: '115998'
                        other_rept_positions_spread: '1526'
                        pct_of_oi_asset_mgr_long: '58.7'
                        pct_of_oi_asset_mgr_short: '34.1'
                        pct_of_oi_asset_mgr_spread: '11.8'
                        pct_of_oi_dealer_long_all: '1.6'
                        pct_of_oi_dealer_short_all: '14.6'
                        pct_of_oi_dealer_spread_all: '0.7'
                        pct_of_oi_lev_money_long: '10.9'
                        pct_of_oi_lev_money_short: '22.2'
                        pct_of_oi_lev_money_spread: '1.5'
                        pct_of_oi_nonrept_long_all: '12.1'
                        pct_of_oi_nonrept_short_all: '8.8'
                        pct_of_oi_other_rept_long: '2.5'
                        pct_of_oi_other_rept_short: '6.2'
                        pct_of_oi_other_rept_spread: '0.1'
                        pct_of_oi_tot_rept_long_all: '87.9'
                        pct_of_oi_tot_rept_short: '91.2'
                        pct_of_open_interest_all: '100.0'
                        report_date_as_yyyy_mm_dd: '2026-09-15T00:00:00.000'
                        tot_rept_positions_long_all: '1640823'
                        tot_rept_positions_short: '1702817'
                        traders_asset_mgr_long_all: '88'
                        traders_asset_mgr_short_all: '28'
                        traders_asset_mgr_spread: '67'
                        traders_dealer_long_all: '10'
                        traders_dealer_short_all: '25'
                        traders_dealer_spread_all: '5'
                        traders_lev_money_long_all: '38'
                        traders_lev_money_short_all: '43'
                        traders_lev_money_spread: '19'
                        traders_other_rept_long_all: '11'
                        traders_other_rept_short: '8'
                        traders_tot_all: '251'
                        traders_tot_rept_long_all: '180'
                        traders_tot_rept_short_all: '163'
                        yyyy_report_week_ww: 2026 Report Week 37
                    sort: recent_first
                    source_url: >-
                      https://publicreporting.cftc.gov/resource/gpe5-46if.json?$where=cftc_contract_market_code%3D%27020601%27&$order=report_date_as_yyyy_mm_dd%20DESC,id%20ASC&$limit=2&$offset=0
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Traders in Financial Futures (TFF), futures only:
            dealer/intermediary, asset manager/institutional, leveraged funds
            and other reportable positions for financial futures (currencies,
            equity indices, interest rates, crypto), from 2006. Dataset
            gpe5-46if (Traders in Financial Futures - Futures Only) on
            publicreporting.cftc.gov, weekly rows (one per market and Tuesday
            report date), recent-first by default, all values as strings exactly
            as published. Filter by contract market code, exchange, commodity
            name/group/subgroup, report date or date range, full text; project
            columns with `fields`; page with page_size / cursor.


            The response contains the tool result directly.


            The provider identifies `rows` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `cftc_contract_market_code` | string |  |

            | `cftc_market_code` | string | Exchange code padded to 4 characters
            ('CMX ', 'CBT ', 'CMXE'). |

            | `commodity_group_name` | string |  |

            | `commodity_name` | string |  |

            | `commodity_subgroup_name` | string |  |

            | `contract_market_name` | string |  |

            | `id` | string | Row key: yymmdd + contract code + F (futures only)
            or C (combined); supplemental rows have no suffix. |

            | `market_and_exchange_names` | string |  |

            | `open_interest_all` | string |  |

            | `report_date_as_yyyy_mm_dd` | string | Report date as a floating
            timestamp, e.g. 2026-09-15T00:00:00.000. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.