Klever Exchange API (1.0.0)
Download OpenAPI specification:Download
Response samples
- 200
- 400
- 404
Content type
application/json
{- "symbol": "KLV-USDT",
- "baseVolume": "3307686.6511170827",
- "basePrecision": "5",
- "quotePrecision": "6",
- "quoteVolume": "70079.9570772176311649",
- "price": "0.021187",
- "high": "0.02364",
- "low": "0.020243",
- "bid": "30000",
- "ask": "40000",
- "variationPrice": "0.0005500112230535",
- "variationRatePrice": "2.6651718862585",
- "time": 1648152241
}
Response samples
- 200
Content type
application/json
[- {
- "symbol": "ETH-USDT",
- "baseVolume": "0.2427019187709352",
- "basePrecision": "6",
- "quotePrecision": "3",
- "quoteVolume": "756.9109784351795504603144",
- "price": "3118.685597",
- "high": "3118.685597",
- "low": "2889.716511425422",
- "bid": "3118.685597",
- "ask": "3118.685597",
- "variationPrice": "204.67045514534476",
- "variationRatePrice": "7.023657914662727",
- "time": 1648152349
}, - {
- "symbol": "BTC-USDT",
- "baseVolume": "0.16900775",
- "quoteVolume": "7474.78688297",
- "price": "44227.48",
- "high": "45052.92",
- "low": "42062.02769541285",
- "bid": "44227.48",
- "ask": "44227.48",
- "variationPrice": "2165.4523045871515",
- "variationRatePrice": "5.148235649189372",
- "time": 1648152349
}
]
CREATE LIMIT ORDER
Authorizations:
header Parameters
apikey | string Example: 8e4a1b3a-546a-47c4-8a02-dfadfadfa-sadasda-awfsa-sadasda-sdasd-dasdawdads |
Request Body schema: application/json
side | string |
symbol | string |
quantity | number |
price | number |
Responses
Request samples
- Payload
Content type
application/json
{- "side": "BUY",
- "symbol": "DVK-KLV",
- "quantity": 5,
- "price": 0.000001
}
Response samples
- 200
Content type
application/json
{- "orderId": "bd4133ef-de2b-458d-881d-1a016a7738c0",
- "success": true
}
CANCEL ORDER
Authorizations:
header Parameters
apikey | string Example: 8e4a1b3a-546a-47c4-8a02-dfadfadfa-sadasda-awfsa-sadasda-sdasd-dasdawdads |
Request Body schema: application/json
orderId | string |
Responses
Request samples
- Payload
Content type
application/json
{- "orderId": "bd4133ef-de2b-458d-881d-1a016a7738c0"
}
Response samples
- 200
Content type
application/json
{- "orderId": "bd4133ef-de2b-458d-881d-1a016a7738c0",
- "success": true
}
CREATE MARKET ORDER
Authorizations:
header Parameters
apikey | string Example: 8e4a1b3a-546a-47c4-8a02-dfadfadfa-sadasda-awfsa-sadasda-sdasd-dasdawdads |
Request Body schema: application/json
side | string |
symbol | string |
quantity | number |
Responses
Request samples
- Payload
Content type
application/json
{- "side": "BUY",
- "symbol": "DVK-KLV",
- "quantity": 2
}
Response samples
- 200
Content type
application/json
{- "orderId": "89639381-6ca9-45be-b68b-4287afa30120",
- "success": true
}
GET BALANCE
Authorizations:
query Parameters
abbr | string Example: abbr=KLV |
header Parameters
apikey | string Example: 8e4a1b3a-546a-47c4-8a02-dfadfadfa-sadasda-awfsa-sadasda-sdasd-dasdawdads |
Responses
Response samples
- 200
- 400
- 404
Content type
application/json
{- "currency": "KLV",
- "balance": "5.197532003729595",
- "available": "5.197532003729595",
- "holds": "0"
}