Skip to main content

Entities and Rules

Entities and Rules Request

Message sent to fetch the list of all entities available for trading on the exchange.

tip

The response can be quite large and we advise API clients to cache it on their end

Entities and Rules Request Message

NameTypeComments
user_tagstringClient defined tag used to identify the request

Example

{
"entities_and_rules_request": {
"user_tag": "unique_request_id"
}
}

Entities and Rules Response

This message is sent in response to the entities and rules request message.

Entities and Rules Response Message

NameTypeComments
server_utc_timestampintegerTime at which the message was generated by the API
user_tagstringClient defined tag used to identify the request
symbolsSymbol[]see below

Symbol Message

NameTypeComments
symbolstringInstrument name e.g BTC-USD
tradeable_entity_idintegerunique instrument id
statusstringactive / suspended
base_assetstring
quote_assetstring
minimum_quantityfloat
maximum_quantityfloat
minimum_valuefloat
maximum_valuefloat
quantity_stepfloat
price_stepfloat
tagsstring[]An array of tags used to classify the type of data

Examples

Spot

{
"entities_and_rules_response": {
"server_utc_timestamp": "1637577603616450",
"user_tag": "unique_request_id",
"symbols": [
{
"symbol": "BTC-USD",
"tradeable_entity_id": "4",
"status": "active",
"base_asset": "BTC",
"quote_asset": "USD",
"minimum_quantity": "0.0001",
"maximum_quantity": "100.0",
"minimum_value": "0.00001",
"maximum_value": "100000000.0",
"quantity_step": "0.0001",
"price_step": "0.1",
"tags": ["spot"]
}
]
}
}

Option

{
"entities_and_rules_response": {
"server_utc_timestamp": "1637577603616450",
"user_tag": "unique_request_id",
"symbols": [
{
"symbol": "BTC-20230929-16000C",
"tradeable_entity_id": "3637",
"status": "active",
"base_asset": "BTC-20230929-16000C",
"quote_asset": "USD",
"minimum_quantity": "0.0001",
"maximum_quantity": "100.0",
"minimum_value": "0.0005",
"maximum_value": "100000000.0",
"quantity_step": "0.0001",
"price_step": "5.0",
"tags": ["BTC", "option", "month"]
}
]
}
}

Future

{
"entities_and_rules_response": {
"server_utc_timestamp": "1637577603616450",
"user_tag": "unique_request_id",
"symbols": [
{
"symbol": "ETH-20221216",
"tradeable_entity_id": "4826",
"status": "active",
"base_asset": "ETH-20221216",
"quote_asset": "USD",
"minimum_quantity": "0.001",
"maximum_quantity": "1000.0",
"minimum_value": "0.00005",
"maximum_value": "100000000.0",
"quantity_step": "0.001",
"price_step": "0.05",
"tags": ["ETH", "future", "week"]
}
]
}
}

Perpetual

{
"entities_and_rules_response": {
"server_utc_timestamp": "1637577603616450",
"user_tag": "unique_request_id",
"symbols": [
{
"symbol": "BTC-USD-PERPETUAL",
"tradeable_entity_id": "13",
"status": "active",
"base_asset": "BTC-USD-PERPETUAL",
"quote_asset": "USD",
"minimum_quantity": "0.0001",
"maximum_quantity": "100.0",
"minimum_value": "0.00001",
"maximum_value": "100000000.0",
"quantity_step": "0.0001",
"price_step": "0.1",
"tags": ["BTC", "perpetual_future", "perpetual"]
}
]
}
}