Private API

This includes endpoints for retrieving market data, account information, order management, and account details of your trading account.

Note: Some of the API response parameters may be redundant in order to stay compatible with the older version. Please only reference parameters specified in the API documentation.

User Authentication

Generate authentication token using the public and private key using Crypto Library in nodejs.

var signstring=crypto.createHmac('sha512', SECRET).update(formdata).digest('hex').toString();

please make sure you set the content type to 'application/x-www-form-urlencoded' in headers.

Get Balances

This retrieves information for a single currency in your account, including the remaining balance, and the amount available or on hold.

Limit: 20 requests per 2 seconds
HTTP Requests

POST /mybalances

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameters Parameters Types Description
Return Response

Place Order

Plave Order suports spot trading only limit and market orders. More order types will become available in the future. You can place an order only if you have enough funds.

Once your order is placed, the amount will be put on hold until the order is executed.

Rate limit: 100 requests per 2 seconds
HTTP Requests

POST /addorder

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
currencyPair String Yes You can customize combination as required in our selected markets. The system supports alphabets (case-sensitive) eg (BTC_USDT).
rate float Yes price for each and can be used from satoshi
amount float Yes number of coins/tokens and can be used from satoshi
type String Yes Specify Buy Order or Sell Order
Response

Generate Address

This supports generating address for all supported currencies in exchange listed.

Rate limit: 50 requests per 2 seconds
HTTP Requests

POST /generateaddess

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
currency String YES Ticker of the currency to which deposit address is required.
Response

Cancel Order

This is used to cancel an unfilled order.

Rate limit: 100 requests per 2 seconds
HTTP Requests

POST /cancelOrder

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
orderNumber number Yes Specify order id received in my pending orders request.
Response

Cancel Combination Orders

Cancel multiple open orders for each selected trading pair.

Rate limit: 20 requests per 2 seconds
HTTP Requests

POST /cancelOrderCombination

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
currencyPair String Yes Provide specified combination to delete all pending orders . (case sensitive ) eg. BTC_USDT
Response

Cancel All Pending Orders

Cancel multiple open orders for each selected trading pair.

Rate limit: 20 requests per 2 seconds
HTTP Requests

POST /cancelallOrders

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
Response

My trade History

This retrieves the list of your orders executed from the most recent 3 months.

Rate limit: 10 requests per 2 seconds
HTTP Requests

POST /myTradeHistory

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
Return Parameters

Open Orders

This retrieves the list of your current open orders.

Rate limit: 20 requests per 2 seconds
HTTP Requests

POST /myopenorders

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
Return Parameters

Order Details

Retrieve order details by order ID.Can get order information for nearly 3 months。 Unfilled orders will be kept in record for only two hours after it is canceled.

Rate limit: 20 requests per 2 seconds
HTTP Requests

POST /OrderInfo

Headers
Parameters Parameters Types Required Description
ACCESSKEY String [required] Public Key
SIGN String [required] sha512 of all form data
Parameters
Parameter Type Required Description
orderNumber Number [required] Order number for which order details are required.
Return Parameters

Trade Fee

Obtain the transaction fee rate corresponding to your current account transaction level.

Rate limit: 1 request per 2 seconds
HTTP Requests

GET /tradefee

Response
Example Response

Public - Trading Pairs

This provides list of market data and is publicly accessible without account authentication.

Retrieves list of Traded pairs for selected combination.

Rate limit: 20 requests per 2 seconds
HTTP Requests

GET /getavailablepairs

Response

Public - Filled Orders

Retrieve the latest 60 transactions of selected trading pairs.

Rate limit: 20 requests per 2 seconds
HTTP Requests

GET /trades/BTC_USDT

Response

Working Source

Complete code is implented with all samples and is available on Github