For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
      • GETContract Dependents
      • GETContract Find
      • POSTGet Product Fee Params
      • GETContract Item
      • GETContract Items
      • GETContract L Dependents
      • POSTRoll Contract
      • POSTRoll Contracts
      • GETContract Suggest
      • GETContract Group Find
      • GETContract Group Item
      • GETContract Group Items
      • GETContract Group List
      • GETContract Group Suggest
      • GETContract Maturity Dependents
      • GETContract Maturity Item
      • GETContract Maturity Items
      • GETContract Maturity L Dependents
      • GETCurrency Find
      • GETCurrency Item
      • GETCurrency Items
      • GETCurrency List
      • GETCurrency Suggest
      • GETCurrency Rate Dependents
      • GETCurrency Rate Item
      • GETCurrency Rate Items
      • GETCurrency Rate L Dependents
      • GETCurrency Rate List
      • GETExchange Find
      • GETExchange Item
      • GETExchange Items
      • GETExchange List
      • GETExchange Suggest
      • GETProduct Dependents
      • GETProduct Find
      • GETProduct Item
      • GETProduct Items
      • GETProduct L Dependents
      • GETProduct List
      • GETProduct Suggest
      • GETProduct Session Dependents
      • GETProduct Session Item
      • GETProduct Session Items
      • GETProduct Session L Dependents
      • GETSpread Definition Item
      • GETSpread Definition Items
Support Center
LogoLogo
REST API EndpointsContract Library

Spread Definition Item

GET
https://demo.tradovateapi.com/v1/spreadDefinition/item
GET
/v1/spreadDefinition/item
1const url = 'https://demo.tradovateapi.com/v1/spreadDefinition/item?id=1';
2const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
200Retrieved
1{
2 "timestamp": "2024-01-15T09:30:00Z",
3 "spreadType": "Bundle",
4 "uds": true,
5 "id": 1
6}
Retrieves an entity of SpreadDefinition type by its id
Was this page helpful?
Previous

Spread Definition Items

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

idlongRequired

Response

SpreadDefinition
timestampdatetime
spreadTypeenum
Bundle, BundleSpread, Butterfly, CalendarSpread, Condor, Crack, DoubleButterfly, General, IntercommoditySpread, LaggedIntercommoditySpread, Pack, PackButterfly, PackSpread, ReducedTickCalendarSpread, ReverseIntercommoditySpread, ReverseSpread, Strip, TreasuryIntercommoditySpread
udsboolean
idlong