API Documentation
API URL
https://api.altex.exchange/v1
CORS enabled.


Ticker
GET /ticker
Returns current market rates.


Market History
GET /marketHistory/market/{marketName}
Returns the most recent completed orders for the given market.
Valid markets are "BTC_ETN, BTC_XHV, XMR_TRTL" for example.


Order Books
GET /orderBook/market/{marketName}
Returns the complete order book for the given market.
Valid markets are "BTC_ETN, BTC_XHV, XMR_TRTL" for example.


Order Books with Order Types
GET /orderBook/market/{marketName}/type/{orderType}
Returns the complete order book for the given market.
Valid markets are "BTC_ETN, BTC_XHV, XMR_TRTL" for example.
Valid order types are either "buy" or "sell".


Account Balance
GET /balance/apiKey/{apiKey}
Returns all balances for the given API key.


User Active Orders
GET /activeOrders/apiKey/{apiKey}
Returns all active orders for the given API key.


User Active Orders with Market
GET /activeOrders/apiKey/{apiKey}/market/{marketName}
Returns all active orders for the given API key and market.
Valid markets are "BTC_ETN, BTC_XHV, XMR_TRTL" for example.


Submit Order
GET /submitOrder/apiKey/{apiKey}/type/{orderType}/market/{marketName}/amount/{amount}/price/{price}
Submits an order according to the given parameters.
Valid markets are "BTC_ETN, BTC_XHV, XMR_TRTL" for example.
Valid order types are either "buy" or "sell".


Cancel Order
GET /cancelOrder/apiKey/{apiKey}/uid/{orderUID}
Cancels the order with the given Order UID.
Order UID's are exposed on the /activeOrders/apiKey/{apiKey} endpoint.


Get Deposit Address
GET /address/apiKey/{apiKey}/coin/{coin}
Returns the deposit addresses for the given API key and coin.
Valid coins are "BTC, XHV, ETN, OMB, TRTL" for example.