-
Notifications
You must be signed in to change notification settings - Fork 0
/
Depth_List_Api.txt
51 lines (49 loc) · 1.46 KB
/
Depth_List_Api.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Public Rest API for CoVEX (2019-07-31)
# General API Information
* The base endpoint is: **https://covex.io**
* All endpoints return either a JSON object or array.
* Data is returned in **ascending** order. Oldest first, newest last.
* All time and timestamp related fields are in milliseconds.
* For `GET` endpoints, parameters must be sent as a `query string`.
* For `POST`, `PUT`, and `DELETE` endpoints, the parameters may be sent as a
`query string` or in the `request body` with content type
`application/x-www-form-urlencoded`. You may mix parameters between both the
`query string` and `request body` if you wish to do so.
* Parameters may be sent in any order.
* If a parameter sent in both the `query string` and `request body`, the
`query string` parameter will be used.
### Depth List
```
GET /api/v1/depth/ETHLTC
```
**Parameters:**
ETHLTC
**Response:**
{
"status": 1,
"msg": "Success",
"Info": {
"LastUpdateTimestamp": "2019-07-25T14:19:52Z",
"bids": [
{
"QTY": "1304.40856873",
"PRICE": "0.43584000"
},
{
"QTY": "118.35742657",
"PRICE": "0.00000050"
}
],
"asks": [
{
"QTY": "1276.96652851",
"PRICE": "1000000000.00000000"
},
{
"QTY": "5.81810492",
"PRICE": "193.00000000"
}
]
}
}
```