Macro

One market's COT history

Weekly reports, newest first; history starts in 2010 and the free API returns the last six months. Docs: https://xoomar.com/markets/api/cot

get/api/markets/cot/{slug}

Request

  • Base URL: https://xoomar.com
  • URL: https://xoomar.com/api/markets/cot/{slug}
  • Auth: one of:
    • none
    • API key in header x-api-key

Path parameters

slugstring required

Market slug from /api/markets/cot

Query parameters

fromstring

First report date (YYYY-MM-DD)

tostring

Last report date (YYYY-MM-DD)

Response

OK

updatedAtstring date-time

When the response was built; a few dated feeds give the date of their newest row instead

source'xoomar.com'
docsstring
licensestring

Data terms

attributionstring
canonicalUrlstring uri

The matching page on xoomar.com

Changes

No recorded changes to this operation across all 1 revision of this API.