API PUBLIC ENDPOINTS

API

For issues related to API, contact us at [email protected]

Terms used

Base Currency: The first currency in the trading pair is the base currency. For example, in trading pair TBE/ETH , the TBE is the base currency.

Quote Currency: The second currency in the trading pair is the Quote currency. For example, in trading pairs TBE/ETH, OMG/ETH the ETH is the quote currency.

Note: While making API calls, do not use the "/" between the currency pairs. For example, use TBEETH which is correct instead of TBE/ETH which will give you error.

Active Pairs

Get a list of all active Trading Pairs.

Get API EndPoint : https://towerx.co/API/ActivePairs
Example : https://towerx.co/API/ActivePairs

Response Details

Key Type Description
ActivePairs [string] "All available Active trading pairs"

Ratelimit: 6 req/min

Trade History

Get a list of the 50 most recent trades for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/Trade/:TradingPair
           Example : https://towerx.co/API/Trade/TBEETH

PATH PARAMS

symbol * string

Response Details

Key Type Description
timestamp [time]
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
exchange [string] "TowerX"
type [string] “sell” or “buy”

Ratelimit: 6 req/min

Buy Order Book

Get the 50 entries of Buy order book for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/BuyOrder/:TradingPair
           Example : https://towerx.co/API/BuyOrder/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
timestamp [time]

Ratelimit: 6 req/min

Sell Order Book

Get the 50 entries of Sell order book for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/SellOrder/:TradingPair
           Example : https://towerx.co/API/SellOrder/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
timestamp [time]

Ratelimit: 6 req/min

24 Hour volume

Get the 24 Hour Volume for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/24HourVolume/:TradingPair
           Example : https://towerx.co/API/24HourVolume/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
Pair [string]
Qcurrency [decimal] "Volume in Quote currency"
Bcurrency [decimal] "Volume in Base currency"

Ratelimit: 6 req/min

Last Price

Get the Last Price for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/LastPrice/:TradingPair
           Example : https://towerx.co/API/LastPrice/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type
Token [string]
Last Price [decimal]
Value [string]
timestamp [time]

Ratelimit: 6 req/min

API

For issues related to API, contact us at [email protected]

Terms used

Base Currency: The first currency in the trading pair is the base currency. For example, in trading pair TBE/ETH , the TBE is the base currency.

Quote Currency: The second currency in the trading pair is the Quote currency. For example, in trading pairs TBE/ETH, OMG/ETH the ETH is the quote currency.

Note: While making API calls, do not use the "/" between the currency pairs. For example, use TBEETH which is correct instead of TBE/ETH which will give you error.




Active Pairs

Get a list of all active Trading Pairs.

Get API EndPoint : https://towerx.co/API/ActivePairs
           Example : https://towerx.co/API/ActivePairs

Response Details

Key Type Description
ActivePairs [string] "All available Active trading pairs"

Ratelimit: 6 req/min

Trade History

Get a list of the 50 most recent trades for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/Trade/:TradingPair
           Example : https://towerx.co/API/Trade/TBEETH

PATH PARAMS

symbol * string

Response Details

Key Type Description
timestamp [time]
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
exchange [string] "TowerX"
type [string] “sell” or “buy”

Ratelimit: 6 req/min



Buy Order Book

Get the 50 entries of Buy order book for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/BuyOrder/:TradingPair
           Example : https://towerx.co/API/BuyOrder/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
timestamp [time]

Ratelimit: 6 req/min

Sell Order Book

Get the 50 entries of Sell order book for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/SellOrder/:TradingPair
           Example : https://towerx.co/API/SellOrder/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
price [decimal] "Price in Quote currency"
amount [decimal] "Amount in Base currency"
timestamp [time]

Ratelimit: 6 req/min

24 Hour volume

Get the 24 Hour Volume for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/24HourVolume/:TradingPair
           Example : https://towerx.co/API/24HourVolume/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type Description
Pair [string]
Qcurrency [decimal] "Volume in Quote currency"
Bcurrency [decimal] "Volume in Base currency"

Ratelimit: 6 req/min

Last Price

Get the Last Price for the given Trading Pair.

Get API EndPoint : https://towerx.co/API/LastPrice/:TradingPair
           Example : https://towerx.co/API/LastPrice/TBEETH

PATH PARAMS

TradingPair * string

Response Details

Key Type
Token [string]
Last Price [decimal]
Value [string]
timestamp [time]

Ratelimit: 6 req/min