TRXMarket
Search
K

Get Market Depth

Introduction
This endpoint allows you to get market depth data of trading pairs。
Interface Address
Request Method
GET
Query Parameters
Name
Types
Required
Default Value
Description
Range of value
Example
pairID
string
Yes
-
Trading pair id
Trading pair ID value
44
Response Content
Name
Type
Description
Example
code
int
Status code (For details, please view status code)
0
message
string
Message (For details, please view status code)
OK
amount
float64
Trading volume (unit: base token)
82728
Price
float64
Trading price
0.00273
DeepPrice
int64
Internal reserved fields
0
ExchangeID
int64
Trading pair ID
44
Response Example
{
code: 0,
message: "OK",
data: {
buy: [
{
amount: 82728,
Price: 0.00273,
DeepPrice: 0
}
],
sell: [
{
amount: 1019420,
Price: 0.002794,
DeepPrice: 0
}
],
ExchangeID: 44
}
}