List of available trading pairs
get https://api.cryptomus.com/v2/user-api/exchange/markets Copy
Response
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| id | string | Trading pair identifier |
| symbol | string | Trading pair symbol in the BASE_QUOTE format |
| baseCurrency | string | Base currency of the trading pair |
| quoteCurrency | string | Quote currency of the trading pair |
| baseMinSize | string | Minimum transaction amount in the base currency |
| quoteMinSize | string | Minimum transaction amount in the quote currency |
| baseMaxSize | string | Maximum transaction amount in the base currency |
| quoteMaxSize | string | Maximum transaction amount in the quote currency |
| basePrec | string | Decimal places precision for the base currency |
| quotePrec | string | Decimal places precision for the quoted currency |
Parameter type
stringDefinition
Trading pair identifierParameter type
stringDefinition
Trading pair symbol in the BASE_QUOTE formatParameter type
stringDefinition
Base currency of the trading pairParameter type
stringDefinition
Quote currency of the trading pairParameter type
stringDefinition
Minimum transaction amount in the base currencyParameter type
stringDefinition
Minimum transaction amount in the quote currencyParameter type
stringDefinition
Maximum transaction amount in the base currencyParameter type
stringDefinition
Maximum transaction amount in the quote currencyParameter type
stringDefinition
Decimal places precision for the base currencyParameter type
stringDefinition
Decimal places precision for the quoted currency
Response example
1{
2 "result": [
3 {
4 "id": "01HSBPVS17CT2GN2FV34K3AMPZ",
5 "symbol": "SHIB_USDT",
6 "baseCurrency": "SHIB",
7 "quoteCurrency": "USDT",
8 "baseMinSize": "100000.00000000",
9 "quoteMinSize": "5.00000000",
10 "baseMaxSize": "5000000000.00000000",
11 "quoteMaxSize": "10000000.00000000",
12 "basePrec": "0",
13 "quotePrec": "8"
14 },
15 {
16 "id": "01HSBPVS17CT2GN2FV34K3AMPC",
17 "symbol": "SOL_USDT",
18 "baseCurrency": "SOL",
19 "quoteCurrency": "USDT",
20 "baseMinSize": "0.01000000",
21 "quoteMinSize": "5.00000000",
22 "baseMaxSize": "500.00000000",
23 "quoteMaxSize": "10000000.00000000",
24 "basePrec": "4",
25 "quotePrec": "4"
26 },
27 ...
28 ]
29}
30 CopyPossible codes
404: User or resource not found
422: Invalid input data
500: Internal server error
Possible errors
example responses:
1{
2 "state": 0,
3 "message": "Standard validation error"
4}Copy