E-top Traders Market REST API Documentation

Welcome to the E-top Traders Market REST API documentation. This API (Application Programming Interface) will allow you to access the functionality of this exchange by means of HTTP requests, making integration with your own applications possible.


Connecting to the API

You can access the API at the following url:

https://www.etoptraders.com/api

You are permited to make up to 20 requests a minute.


Public API Methods

Return all the trading pairs supported by E-top Traders

Get https://www.etoptraders.com/tradepairs

Response:

{"status":"1","message":"Success","combinations":["ltc_btc","eth_btc","xrp_btc"]}

Return all the trading pairs transaction history supported by E-top Traders

Get https://www.etoptraders.com/tradehistory

Response:

{"status":"1","message":"Success","transaction_history":[{"tradedPrice":"10.00000000","filledAmt":"1.00000000","tradedDate":"2020-01-30 20:25:40","type":"1"},{"tradedPrice":"20.00000000","filledAmt":"1.00000000","tradedDate":"2020-01-30 20:30:45","type":"1"}]}

Return all transaction history based by pair supported by E-top Traders

Get https://www.etoptraders.com/tradehistorypair/ltc_btc

Get https://www.etoptraders.com/tradehistorypair/eth_btc

Get https://www.etoptraders.com/tradehistorypair/xrp_btc

Response:

{"status":"1","message":"Success","transaction_history":[{"tradedPrice":"10.00000000","filledAmt":"1.00000000","tradedDate":"2020-01-30 20:25:40","type":"1"},{"tradedPrice":"20.00000000","filledAmt":"1.00000000","tradedDate":"2020-01-30 20:30:45","type":"1"}]}

Return pair data

Get https://www.etoptraders.com/pairdatas/ltc_btc

Get https://www.etoptraders.com/pairdatas/eth_btc

Get https://www.etoptraders.com/pairdatas/xrp_btc

Response:

{"status":1,"data":[{"first_currency":"ltc","second_currency":"btc","buyRate":"106.50800675","sellRate":"104.39893731","lastPrice":"0.00462636","volume":"21.14857474"}]}

Return all pair trade data

Get https://www.etoptraders.com/tradedatas

Response:

{"status":1,"data":[{"first_currency":"ltc","second_currency":"btc","buyRate":"106.50800675","sellRate":"104.39893731","lastPrice":"0.00462636","volume":"21.14857474"},{"first_currency":"eth","second_currency":"btc","buyRate":"762.94702964","sellRate":"747.83916767","lastPrice":"0.02469990","volume":"9.37504926"},{"first_currency":"xrp","second_currency":"btc","buyRate":"1032064.04998450","sellRate":"1011627.13810370","lastPrice":"0.00002017","volume":"47035.14706422"}]}

Return active buy orders by pair (default 100 orders)

Get https://www.etoptraders.com/buyorder/ltc_btc

Get https://www.etoptraders.com/buyorder/eth_btc

Get https://www.etoptraders.com/buyorder/xrp_btc

Response:

{"status":"1","message":"Success","buy_orders":[{"price":"20.00000000","remainAmt":"0.00000000"},{"price":"10.00000000","remainAmt":"1.00000000"}]}

Return active buy orders per limit by pair

Get https://www.etoptraders.com/buyorder/ltc_btc/{limit: number}

Get https://www.etoptraders.com/buyorder/eth_btc/{limit: number}

Get https://www.etoptraders.com/buyorder/xrp_btc/{limit: number}

Response:

{"status":"1","message":"Success","buy_orders":[{"price":"20.00000000","remainAmt":"0.00000000"},{"price":"10.00000000","remainAmt":"1.00000000"}]}

Return active sell orders by pair (default 100 orders)

Get https://www.etoptraders.com/sellorder/ltc_btc

Get https://www.etoptraders.com/sellorder/eth_btc

Get https://www.etoptraders.com/sellorder/xrp_btc

Response:

{"status":"1","message":"Success","sell_orders":[{"price":"10.00000000","remainAmt":"0.00000000"}]}

Return active sell orders per limit by pair

Get https://www.etoptraders.com/sellorder/ltc_btc/{limit: number}

Get https://www.etoptraders.com/sellorder/eth_btc/{limit: number}

Get https://www.etoptraders.com/sellorder/xrp_btc/{limit: number}

Response:

{"status":"1","message":"Success","sell_orders":[{"price":"10.00000000","remainAmt":"0.00000000"}]}


Private API Methods

How to get API key & secret key

1. Login into the site

2. After login you can see API key and secret key in bottom of the dashboard page.

Get https://www.etoptraders.com/login

Replace api_key and secret_key with the selected users.

Get https://www.etoptraders.com/getaccountbal/api_key/secret_key

Response:

{"status":1,"data":[{"BTC":"0.00000000","LTC":"0.00000000","ETH":"0.00000000","XRP":"0.00000000"}]}