CFTC Commitments of Traders and Revisions
Pricing
from $3.00 / 1,000 results
CFTC Commitments of Traders and Revisions
Get weekly Legacy, Disaggregated and TFF positions from the CFTC and detect revisions to previously reported contracts.
CFTC Commitments of Traders and Revisions
Pricing
from $3.00 / 1,000 results
Get weekly Legacy, Disaggregated and TFF positions from the CFTC and detect revisions to previously reported contracts.
You can access the CFTC Commitments of Traders and Revisions programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "1.0", "x-build-id": "ay3whvmNthTWogn1g" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/vespa-zzz~cftc-cot/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-vespa-zzz-cftc-cot", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } }, "/acts/vespa-zzz~cftc-cot/runs": { "post": { "operationId": "runs-sync-vespa-zzz-cftc-cot", "x-openai-isConsequential": false, "summary": "Executes an Actor and returns information about the initiated run in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/runsResponseSchema" } } } } } } }, "/acts/vespa-zzz~cftc-cot/run-sync": { "post": { "operationId": "run-sync-vespa-zzz-cftc-cot", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "inputSchema": { "type": "object", "properties": { "reports": { "title": "Reports", "minItems": 1, "maxItems": 6, "uniqueItems": true, "type": "array", "description": "Select one or more report variants. Combined reports include futures and options.", "items": { "type": "string", "enum": [ "disaggregated_futures_only", "disaggregated_combined", "legacy_futures_only", "legacy_combined", "tff_futures_only", "tff_combined" ], "enumTitles": [ "Disaggregated — Futures Only", "Disaggregated — Combined", "Legacy — Futures Only", "Legacy — Combined", "TFF — Futures Only", "TFF — Combined" ] }, "default": [ "disaggregated_futures_only" ] }, "contractCodes": { "title": "CFTC contract market codes", "maxItems": 10, "type": "array", "description": "Match up to 10 exact codes. Keep leading zeros. When omitted for Disaggregated Futures Only with no market or group filters, the Actor uses corn, WTI crude oil and gold. An explicit empty list includes all codes.", "items": { "type": "string", "pattern": "^[A-Za-z0-9]{1,12}$" } }, "marketNameContains": { "title": "Market or exchange name contains", "maxLength": 100, "type": "string", "description": "Match a literal substring of the CFTC market and exchange name, ignoring letter case." }, "commodityGroups": { "title": "Commodity groups", "maxItems": 10, "type": "array", "description": "Match any listed CFTC group name, ignoring letter case. Examples are AGRICULTURE, NATURAL RESOURCES and FINANCIAL INSTRUMENTS.", "items": { "type": "string", "pattern": "^[A-Za-z][A-Za-z &-]{0,49}$" } }, "from": { "title": "First report date", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string", "description": "Inclusive first report date in YYYY-MM-DD format. A historical run with no start date covers up to 52 weeks through the end date." }, "to": { "title": "Last report date", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string", "description": "Inclusive last report date in YYYY-MM-DD format. When omitted, the latest available CFTC date anchors the range for each report." }, "latestOnly": { "title": "Latest report week", "type": "boolean", "description": "Select the most recent report date in bounds for each report before applying market filters. Monitoring also checks previously reported dates in bounds for revisions. Turn off to retrieve history.", "default": true }, "onlyNew": { "title": "Monitor new and revised rows", "type": "boolean", "description": "Emit each tracked report, contract and date on first observation or when published values change. Use the same state key on subsequent runs.", "default": false }, "stateKey": { "title": "Monitoring state key", "pattern": "^[a-zA-Z0-9_-]{1,50}$", "type": "string", "description": "Name of the baseline to use in monitoring mode. Use 1 to 50 letters, digits, underscores or hyphens.", "default": "default" } } }, "runsResponseSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "id": { "type": "string" }, "actId": { "type": "string" }, "userId": { "type": "string" }, "startedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "finishedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "status": { "type": "string", "example": "READY" }, "meta": { "type": "object", "properties": { "origin": { "type": "string", "example": "API" }, "userAgent": { "type": "string" } } }, "stats": { "type": "object", "properties": { "inputBodyLen": { "type": "integer", "example": 2000 }, "rebootCount": { "type": "integer", "example": 0 }, "restartCount": { "type": "integer", "example": 0 }, "resurrectCount": { "type": "integer", "example": 0 }, "computeUnits": { "type": "integer", "example": 0 } } }, "options": { "type": "object", "properties": { "build": { "type": "string", "example": "latest" }, "timeoutSecs": { "type": "integer", "example": 300 }, "memoryMbytes": { "type": "integer", "example": 1024 }, "diskMbytes": { "type": "integer", "example": 2048 } } }, "buildId": { "type": "string" }, "defaultKeyValueStoreId": { "type": "string" }, "defaultDatasetId": { "type": "string" }, "defaultRequestQueueId": { "type": "string" }, "buildNumber": { "type": "string", "example": "1.0.0" }, "containerUrl": { "type": "string" }, "usage": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "integer", "example": 1 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } }, "usageTotalUsd": { "type": "number", "example": 0.00005 }, "usageUsd": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "number", "example": 0.00005 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for CFTC Commitments of Traders and Revisions from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: