Get Instruments

GET {{URL_ORIGIN}}/api/v2/instruments

This API allows to get a list of all instruments with their details.

NEW v1.30.0 Get Instruments- Fields

FieldTypeDescription
symbolstringOptional
free text search by symbol
NEW v1.32.0 see the Suffix/Prefix table below
descriptionstringOptional
free text search by description
NEW v1.32.0 see the Suffix/Prefix table below
calendarIdintOptional
search by calendarId
tickSizeTableIdintOptional
search by tickSizeTableId
tradingModeleNumOptional
search by tradingModel
- CLOB
- RFQ
startDateFromDateOptional
Search for the instrument that startdate ≥ dateFrom.
Format:YYYY-MM-DDThh:mm:ss[.SSS]

NEW v1.31.0for instruments without startDate, send - 0000-01-01T00:00
startDateToDateOptional
Search for the instrument that startdate < dateTo. Format:YYYY-MM-DDThh:mm:ss[.SSS]
stopDateFromDateOptional
Search for the instrument that stopdate ≥ dateFrom. Format:YYYY-MM-DDThh:mm:ss[.SSS]

NEW v1.31.0for instruments without stopDate, send - 0000-01-01T00:00
stopDateToDateOptional
Search for the instrument that stopdate < dateTo. Format:YYYY-MM-DDThh:mm:ss[.SSS]
productintOptional
Search by underlyingInstrumentId
NEW v1.31.0for instruments without product - send 0
NEW v1.31.0derivativeInstrumentCategoryeNumOptional
Search instruments that has an underling instrument and is in this category NEW v1.32.0 & active
For example see below

for values see in the Category List - here
CHANGED v1.31.0 statuses[]eNumOptional
Search by the list of statuses
- ACTIVE
- DISABLED
- ARCHIVED
categories[]eNumOptional
Search by catagory.
for values see in the Category List - here
subCategoryeNumOptional
Search by sub-catagory.
for values see in the SubCategory List - here
strategyeNumOptional
Search by strategy.
- SPREAD
- STRIP
offsetintOptional
Which record to start send from
If nothing was sent default is 0 (=first record)
limitintOptional
How many records to include in each page
If nothing was sent default is 10,000
orderByobjectOptional
object with 2 parameters:
- field (String) = Symbol
- direction (Asc, Desc) direction

If nothing or invalid field was sent the default is [Symbol, Asc]

Example for derivativeInstrumentCategory instrument -

  • InstrumentId: 1,

  • InstrumentId: 2,

  • InstrumentId: 3,

  • InstrumentId: 4,

  • InstrumentId: 10, underlyingInstrumentId: 1, category: Futures, status: active

  • InstrumentId: 11, underlyingInstrumentId: 2, category: Futures, status: disabled

  • InstrumentId: 12, underlyingInstrumentId: 3, category: Spot, status: active

  • InstrumentId: 13, underlyingInstrumentId: 4, category: Spot, status: disabled

When Derivative Instrument Category = Futures → InstrumentId:1 is returned.

When Derivative Instrument Category = Spot →InstrumentId:3 is returned.

NEW v1.32.0 Suffix & Prefix

Pattern TypeDescriptionSample
Contains the word XFind any description/ symbols that contains XX
Starts with XFind any description/ symbols that start with XX*
Ends with XFind any description/ symbol that ends with X*X
Equal to 'X'Find any description/ symbol that = X'X'

NEW v1.30.0 Get Instrument- Error Codes

CodeMessage
102Single category should be sent
102Wrong Sub Category
102Strategies category should be sent
100Missing or invalid parameter: [FieldName]

RESPONSES

status: OK

{&quot;totalCount&quot;:&quot;3&quot;,&quot;instruments&quot;:[{&quot;id&quot;:&quot;24155&quot;,&quot;symbol&quot;:&quot;INS&quot;,&quot;calendarId&quot;:&quot;10&quot;,&quot;activityStatus&quot;:&quot;DISABLED&quot;,&quot;minQuantity&quot;:&quot;0.1&quot;,&quot;maxQuantity&quot;:&quot;999999&quot;,&quot;pricePrecision&quot;:&quot;10&quot;,&quot;quantityPrecision&quot;:&quot;10&quot;,&quot;description&quot;:&quot;test&quot;,&quot;quoteCurrency&quot;:&quot;USD&quot;,&quot;auctions&quot;:[],&quot;tradingModels&quot;:[&quot;CLOB&quot;],&quot;minQuantityTradeEntries&quot;:[{&quot;type&quot;:&quot;EFRP&quot;,&quot;amount&quot;:&quot;10&quot;},{&quot;type&quot;:&quot;Block&quot;,&quot;amount&quot;:&quot;5&quot;},{&quot;type&quot;:&quot;Other&quot;,&quot;amount&quot;:&quot;5&quot;}]},{&quot;id&quot;:&quot;24287&quot;,&quot;symbol&quot;:&quot;Test&quot;,&quot;calendarId&quot;:&quot;10&quot;,&quot;activityStatus&quot;:&quot;ACTIVE&quot;,&quot;minQuantity&quot;:&quot;0.0001&quot;,&quot;maxQuantity&quot;:&quot;10000000&quot;,&quot;pricePrecision&quot;:&quot;6&quot;,&quot;quantityPrecision&quot;:&quot;4&quot;,&quot;description&quot;:&quot;Testing instrument&quot;,&quot;quoteCurrency&quot;:&quot;USD&quot;,&quot;auctions&quot;:[],&quot;tradingModels&quot;:[&quot;CLOB&quot;]},{&quot;id&quot;:&quot;25459&quot;,&quot;symbol&quot;:&quot;INS1&quot;,&quot;calendarId&quot;:&quot;10&quot;,&quot;activityStatus&quot;:&quot;ACTIVE&quot;,&quot;minQuantity&quot;:&quot;0.1&quot;,&quot;maxQuantity&quot;:&quot;9999&quot;,&quot;pricePrecision&quot;:&quot;10&quot;,&quot;quantityPrecision&quot;:&quot;10&quot;,&quot;description&quot;:&quot;Test&quot;,&quot;quoteCurrency&quot;:&quot;USD&quot;,&quot;auctions&quot;:[{&quot;days&quot;:[&quot;SUNDAY&quot;],&quot;startTimes&quot;:[&quot;10:00:00&quot;],&quot;duration&quot;:&quot;600000&quot;,&quot;matchingAlgorithm&quot;:&quot;PRICE_AND_TIME&quot;,&quot;allowedTimeInForces&quot;:[&quot;GTC&quot;],&quot;eventsModes&quot;:[&quot;LIT&quot;],&quot;auctionType&quot;:&quot;MANY_TO_MANY&quot;,&quot;trigger&quot;:&quot;TimeBased&quot;,&quot;overrideReferencePrice&quot;:false}],&quot;tradingModels&quot;:[&quot;CLOB&quot;]}]}