Skip to main content

Klever Exchange API (1.0.0)

Download OpenAPI specification:Download

Authentication

apikeyAuth

Security Scheme Type HTTP
HTTP Authorization Scheme apikey

Market

GET ORDERBOOK

query Parameters
limit
integer
Example: limit=10
symbol
string
Example: symbol=KLV-USDT

Responses

Response samples

Content type
application/json
{
  • "bids": [
    ],
  • "asks": [
    ],
  • "time": 1648152088
}

GET SYMBOLS

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

GET TICKER

query Parameters
symbol
string
Example: symbol=KLV-USDT

Responses

Response samples

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
}

GET TICKERS

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Order

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

Content type
application/json
{
  • "side": "BUY",
  • "symbol": "DVK-KLV",
  • "quantity": 5,
  • "price": 0.000001
}

Response samples

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

Content type
application/json
{
  • "orderId": "bd4133ef-de2b-458d-881d-1a016a7738c0"
}

Response samples

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

Content type
application/json
{
  • "side": "BUY",
  • "symbol": "DVK-KLV",
  • "quantity": 2
}

Response samples

Content type
application/json
{
  • "orderId": "89639381-6ca9-45be-b68b-4287afa30120",
  • "success": true
}

Account

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

Content type
application/json
{
  • "currency": "KLV",
  • "balance": "5.197532003729595",
  • "available": "5.197532003729595",
  • "holds": "0"
}

Health

HEALTH

Responses

Response samples

Content type
application/json
{
  • "response": "RUNNING"
}