Orderbuch abrufen
get
https://api.cryptomus.com/v1/exchange/market/order-book/{currencyPair}
Anfrage
Abfrageparameter
Name | Parametertyp | Definition |
---|---|---|
currencyPair* | string | Währungspaar |
level* | integer | VolumenstufeVerfügbare Optionen:• 0• 1• 2• 3• 4• 5 |
Parametertyp
stringDefinition
WährungspaarParametertyp
integerDefinition
VolumenstufeVerfügbare Optionen:- 0- 1- 2- 3- 4- 5
* - obligatorischer Parameter
Beispiel anfordern
curl --location 'https://api.cryptomus.com/v1/exchange/market/order-book/BTC_USDT?level=1'
KOPIERENAntwort
Antwortparameter
Name | Parametertyp | Definition |
---|---|---|
bids | array | Angebotspreise |
bids.*.price | string | Angebotspreis |
bids.*.quantity | string | Angebotsmenge |
asks | array | Nachfragepreise |
asks.*.price | string | Basisvolumen |
asks.*.quantity | string | Nachfragemenge |
Parametertyp
arrayDefinition
AngebotspreiseParametertyp
stringDefinition
AngebotspreisParametertyp
stringDefinition
AngebotsmengeParametertyp
arrayDefinition
NachfragepreiseParametertyp
stringDefinition
BasisvolumenParametertyp
stringDefinition
Nachfragemenge
Antwortbeispiel
1{
2 "state": 0,
3 "result": {
4 "timestamp": "1724069797.1308",
5 "bids": [
6 {
7 "price": "0.04548320",
8 "quantity": "12462000"
9 },
10 {
11 "price": "3.00000000",
12 "quantity": "12457000"
13 }
14 ],
15 "asks": [
16 {
17 "price": "2.73042000",
18 "quantity": "12506000"
19 },
20 {
21 "price": "0.33660000",
22 "quantity": "12508000"
23 }
24 ]
25 }
26}
KOPIEREN