GET api/v2/markets
General information about endpoints
Information
Description
Description
Retrieves a list of markets.
Route
GET api/v2/markets
Permissions
Public
Request Parameters:
Parameter
Type
Required
Description
page
integer
No
Pagination page number
per_page
integer
No
Number of items per page
active
boolean
No
Filter only active markets
asset
string
No
Mutually exclusive with base_asset and quote_asset. Filters markets including the specified asset as either base or quote currency.
base_asset
string
No
Filters markets including the specified asset as the base currency.
quote_asset
string
No
Filters markets including the specified asset as the quote currency.
type
string
No
Filters markets by asset type (crypto, fiat).
tags
array
No
Filters markets by tags
Response
{
"total_count" : 18,
"per_page" : 2,
"total_pages" : 9,
"page" : 1,
"prev_page" : ,
"next_page" : 2,
"items" : [
{
"active" : true,
"available_quote_balance" : 0.9,
"base_asset" : usdt,
"base_asset_tag" : ,
"base_precision" : 8,
"id" : usdteur,
"market" : usdteur,
"name" : USDT/EUR,
"quote_asset" : eur,
"quote_asset_tag" : ,
"quote_precision" : 4
},
{
"active" : true,
"available_quote_balance" : 0.9,
"base_asset" : trx,
"base_asset_tag" : ,
"base_precision" : 8,
"id" : trxeur,
"market" : trxeur,
"name" : TRX/EUR,
"quote_asset" : eur,
"quote_asset_tag" : ,
"quote_precision" : 6
}
]
}