This method provides information on a pair’s active orders.
Additionally, it accepts the optional GET-parameter limit, which specifies how many orders is to be displayed (150 by default).
It takes a value of not more than 2000.
The example of request:
https://askbtc.org/v1/api/depth/btc_usd
The example of response:
{
"btc_usd":{
"asks":[
[403.426,0.01],
[403.5,15],
[403.504,0.425],
[403.505,0.1],
...
],
"bids":[
[403.2,2.48502251],
[403.082,0.46540304],
[402.91,0.99007913],
[402.83,0.07832332],
...
]
}
...
}
asks: sell orders.
bids: buy orders.