API documentation
API public
For use API public authorization not required.
Statistics of prices and trading volumes for trading pairs
Method name
ticker
Request type
POST or GET
Incoming parameters
none
Example query
Example response in JSON
{ "result": "success", "ticker": [ { "pair": "arion_btc", "last_price": "0.00000016", "last_price_min": "0.00000015", "last_price_max": "0.00000016", "last_price_percent_change": "3.23", "vol_24h_1": "44.22210212", "vol_24h_2": "0.00000703", "timestamp":"1618335901" }, { "pair": "atct_s11", "last_price": "3.824", "last_price_min": "3.824", "last_price_max": "3.824", "last_price_percent_change": "0", "vol_24h_1": "0", "vol_24h_2": "0", "timestamp":"1618335901" }, ... ] } Book of orders for the trading pair
Method name
order_book
Request type
POST
Incoming parameters
pairs - (str) trading pairs list
limit - (int) optional, count records, from 1 to 25, default 1 Example query
$param['pairs'] = array('btc_usd', 'doge_btc'); $param['limit'] = 5; $ch = curl_init('https://exchange-assets.com/api/public/v2/order_book/'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param)); $response = curl_exec($ch); curl_close($ch); Example response in JSON
[ { "result":"success", "pair":"btc_usdt", "asks": [ ["63100","0.00023771"], ["63000","0.00145073"], ... ], "bids": [ ["60901","0.0000328"], ["60900","0.00024627"], ... ] }, { "result":"success", "pair":"doge_btc", "asks": [ ["0.00000144","250"], ["0.00000143","2.45786347"], ... ], "bids": [ ["0.00000142","250.025"], ["0.00000141","250.025"], ... ] }, ... ] Description of data
result - the result of the request (success or error)
pair - trading pair asks - book of Ask orders in the format [price, amount] bids - book of Bid orders in the format [price, amount] List of currencies, wallets status, fees and limits
Method name
currencies
Request type
POST or GET
Incoming parameters
none
Example query
Example response in JSON
{ "result": "success", "currencies": [ { "currency": "PMUSD", "name": "PerfectMoney", "deposit_can": "0", "deposit_min": "0.1", "deposit_fee": "0", "deposit_fee_percent": "0", "withdraw_can": "stop", "withdraw_min": "0.1", "withdraw_fee_fixed": "0", "withdraw_fee_percent": "2" }, { "currency": "ADVCUSD", "name": "AdvCash", "deposit_can": "0", "deposit_min": "0.1", "deposit_fee": "0", "deposit_fee_percent": "0", "withdraw_can": "stop", "withdraw_min": "0.15", "withdraw_fee_fixed": "0", "withdraw_fee_percent": "2" } ... ] } Description of data
result - the result of the request (success or error)
currency - currency ticker name - name of payment system deposit_can - deposit status, 1 — works, 0 — not work deposit_min - minimum deposit deposit_fee - deposit fee deposit_fee_percent - deposit fee in percent withdraw_can - withdraw status, 1 — works, 0 — not work withdraw_min - minimum withdraw withdraw_fee - withdraw fee withdraw_fee_percent - withdraw fee in percent |
|
Last news |
Last topics on forum |
Last answers on forum
![]() |
|