

/api/v1/cot/{currency}Commitment of Traders rows for a currency or instrument code, newest first. Optionally bound by date range. Limited to the most recent 3 months. Need more history? Contact us for a business API.
| Name | In | Type | Req. | Description |
|---|---|---|---|---|
| currency | path | string | yes | Currency or instrument code, case-insensitive. Example: aud, eur, gold. |
| from | query | string (ISO date) | no | Only rows on or after this date (YYYY-MM-DD). |
| to | query | string (ISO date) | no | Only rows on or before this date. |
| page | query | integer | no | Page number (default 1). |
| limit | query | integer | no | Rows per page (default 100, max 500). |
curl -H "Authorization: Bearer afx_live_xxx" \
"https://www.analytics-fx.com/api/v1/cot/aud"{
"apiVersion": "v1",
"data": [
{ "date": "2026-06-17", "symbol": "AUD", "long": 41250, "short": 60310,
"largespecsLong": 38900, "largespecsShort": 55120,
"retailLong": 2350, "retailShort": 5190 }
],
"meta": { "requestId": "req_cd34",
"credits": { "cost": 1, "remaining": 993 },
"pagination": { "page": 1, "limit": 100, "total": 312, "hasMore": true } }
}GET /api/v1/cot/aud?page=1&limit=100Create a key at /dashboard/api. The key stays in your browser.