Search the depth of buying and selling

Open-api (Api Demo)

Online Support avatar
Written by Online Support
Updated over a week ago

Search the depth of buying and selling

  1. 1.Interface address:/open/api/market_dept

  2. 2.Interface specification:(getrequest)Search the depth of buying and selling

  • This interface does not perform signature verification

Parameter

Fill in type

Explain

symbol

must fill

Market mark,ethbtc,See below for details

type

must fill

Depth type,step0, step1, step2(Merger depth0-2);step0time,The highest accuracy

Return value:

Field

Example

Explain

code

0

msg

''suc''

code>0fail

data

as follows:

{
"tick":{
"asks":[//Selling
{22112.22,0.9332},
{22112.21,0.2},
{22112.21,0.2},
{22112.21,0.2},
{22112.21,0.2},
],
"bids":[//Bid
{22111.22,0.9332},
{22111.21,0.2},
{22112.21,0.2},
{22112.21,0.2},
{22112.21,0.2},
]
}
}
Did this answer your question?