Reference Data
Symbol Information
- GET
https://api.poloniex.com/markets - GET
https://api.poloniex.com/markets/{symbol}
/markets: get all symbols and their tradeLimit info. priceScale is referring to the max number of decimals allowed for a given symbol. For example, priceScale of 2 implies accepted values like 200.34, 13.2, 100 and priceScale of 0 implies accepted values like 200, 92, 13. Fields quantityScale and amountScale work in similar fashion. minQuantity and minAmount refer to the minimum size of the order.
| Response Field | Data Type | Description |
|---|---|---|
| symbol | String | symbol name |
| baseCurrencyName | String | base currency name |
| quoteCurrencyName | String | quote currency name |
| displayName | String | symbol display name |
| state | String | NORMAL, PAUSE, POST_ONLY |
| visibleStartTime | Long | time since symbol is visible in the frontend |
| tradableStartTime | Long | time since symbol is tradable |
| symbolTradeLimit | Map | symbol market configuration |
| crossMargin | Map | symbol cross margin info |
| Response Field | Data Type | Description |
|---|---|---|
| symbol | String | symbol name |
| priceScale | Integer | decimal precision for price |
| quantityScale | Integer | decimal precision for quantity |
| amountScale | Integer | decimal precision for amount |
| minQuantity | String | minimum required quantity |
| minAmount | String | minimum required amount |
| maxQuantity | String | maximum required quantity,If it is equal to 0, no check |
| maxAmount | String | maximum required amount,If it is equal to 0, no check |
| highestBid | String | maximum allowed bid price (market bound) |
| lowestAsk | String | minimum allowed ask price (market bound) |
| Response Field | Data Type | Description |
|---|---|---|
| supportCrossMargin | Boolean | indicates if symbol supports cross margin |
| maxLeverage | Integer | maximum supported leverage |
/markets/{symbol}: get a single symbol and its tradeLimit info.
| Request Parameter | Data Type | Required | Description |
|---|---|---|---|
| symbol | String | true | symbol name |
Response fields and symbolTradeLimit fields are the same as those of /markets
Example output:
[
{
"symbol": "BTC_USDT",
"baseCurrencyName": "BTC",
"quoteCurrencyName": "USDT",
"displayName": "BTC/USDT",
"state": "NORMAL",
"visibleStartTime": 1659018819512,
"tradableStartTime": 1659018819512,
"symbolTradeLimit": {
"symbol": "BTC_USDT",
"priceScale": 2,
"quantityScale": 6,
"amountScale": 2,
"minQuantity": "0.000001",
"minAmount": "1",
"maxQuantity" : "10000000000000000",
"maxAmount" : "10000000000000000",
"highestBid": "0",
"lowestAsk": "0"
},
"crossMargin": {
"supportCrossMargin": true,
"maxLeverage": 3
}
},
{
"symbol": "ETH_USDT",
"baseCurrencyName": "ETH",
"quoteCurrencyName": "USDT",
"displayName": "ETH/USDT",
"state": "NORMAL",
"visibleStartTime": 1659018820007,
"tradableStartTime": 1659018820007,
"symbolTradeLimit": {
"symbol": "ETH_USDT",
"priceScale": 2,
"quantityScale": 6,
"amountScale": 2,
"minQuantity": "0.000001",
"minAmount": "1",
"maxQuantity" : "10000000000000000",
"maxAmount" : "10000000000000000",
"highestBid": "0",
"lowestAsk": "0"
},
"crossMargin": {
"supportCrossMargin": true,
"maxLeverage": 3
}
},
…
]