{"info":{"_postman_id":"cf80c109-6151-4c98-9389-c0705e9d7be6","name":"Exmo API","description":"<html><head></head><body><h1 id=\"change-log\">Change Log</h1>\n<p><strong>2022-02-28</strong></p>\n<ul>\n<li>Added new parameter <code>pair</code> to the <code>user_open_orders</code> method.</li>\n</ul>\n<p><strong>2021-07-07</strong></p>\n<ul>\n<li>Added Margin Websocket API documentation.</li>\n</ul>\n<p><strong>2021-06-03</strong></p>\n<ul>\n<li>Added new parameter <code>parent_order_id_str</code> to the <code>stop_market_order_create</code> method.</li>\n</ul>\n<p><strong>2021-05-20</strong></p>\n<ul>\n<li>Added new optional parameter <code>order_id</code> to the <code>order_max_quantity</code> method.</li>\n</ul>\n<p><strong>2021-04-26</strong></p>\n<ul>\n<li>Added Margin API documentation.</li>\n</ul>\n<p><strong>2020-11-12</strong></p>\n<ul>\n<li>Added new optional parameter <code>client_id</code> to the <code>stop_market_order_create</code> method.</li>\n</ul>\n<p><strong>2020-10-16</strong></p>\n<ul>\n<li>Added new optional parameter <code>client_id</code> to the <code>order_create</code> method.<br>If this parameter was set, then it'll be also added to the responses of these methods: <code>user_open_orders</code>, <code>user_cancelled_orders</code>, <code>user_trades</code>, <code>order_trades</code>.</li>\n</ul>\n<p><strong>2020-07-13</strong></p>\n<ul>\n<li>Added the new method <code>code_check</code></li>\n</ul>\n<p><strong>2020-07-10</strong></p>\n<ul>\n<li>Added the new method <code>currency_list_extended</code></li>\n</ul>\n<p><strong>2020-06-26</strong></p>\n<ul>\n<li>Added the new method <code>payments_providers_crypto_list</code>.</li>\n</ul>\n<p><strong>2020-06-22</strong></p>\n<ul>\n<li>Added <code>original_quantity</code> and <code>original_amount</code> fields to WebSocket API Order entries.</li>\n</ul>\n<p><strong>2020-06-16</strong></p>\n<ul>\n<li>Added WebSocket API documentation.</li>\n</ul>\n<p><strong>2020-04-29</strong></p>\n<ul>\n<li>Added the new method <code>wallet_operations</code>.</li>\n<li>Removed previous limitation about number of API requests from one IP address for <code>Wallet API</code><br>Now all <code>Wallet API</code> requests from single user are limited to 10 RPS.</li>\n</ul>\n<p><strong>2020-04-23</strong></p>\n<ul>\n<li>Added the new method <code>candles_history</code> which allows a user to download the data of any candlesticks on EXMO and use it in their software or develop and test their own bots and trading strategies on real historical data.</li>\n<li>Added the new stop orders method.</li>\n<li>Added transaction fee parameters to the <code>pair_settings</code>, <code>order_trades</code>, and <code>user_trades</code> methods (for both Maker and Taker).</li>\n<li>Added new parameter <code>Reviewing</code> to the <code>excode_load</code> method, which displays if the EX-CODE is currently under review.<ul>\n<li>Reviewing = <code>true</code> – if EX-CODE is uploaded but is currently under review</li>\n<li>Reviewing = <code>false</code> – if the reviewing is not needed and the payment was successful</li>\n</ul>\n</li>\n<li>Added new parameter <code>price_precision</code> to the <code>pair_settings</code> method, which displays how many decimal places can be used in the price when placing an order.</li>\n</ul>\n<hr>\n<p>If you detect an error in API, need help or have an idea on how to improve it, please contact the <a href=\"https://exmo.me/en/support\">Technical Support</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Change Log","slug":"change-log"}],"owner":"10287440","collectionId":"cf80c109-6151-4c98-9389-c0705e9d7be6","publishedId":"SzYXWKPi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-26T15:37:21.000Z"},"item":[{"name":"REST","item":[{"name":"v1.1","item":[{"name":"Public API","item":[{"name":"trades","id":"5a5a9c0d-cf17-47f6-9d62-6d4404ebd5ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/trades","description":"<p>List of the deals on currency pairs</p>\n","urlObject":{"protocol":"https","path":["v1.1","trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"ddce748d-9291-4f3b-9edb-0b5ac7769c85","name":"trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"}]},"url":"https://api.exmo.com/v1.1/trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": [\n    {\n      \"trade_id\": 3,\n      \"type\": \"sell\",\n      \"price\": \"100\",\n      \"quantity\": \"1\",\n      \"amount\": \"100\",\n      \"date\": 1435488248\n    }\n  ]\n}"}],"_postman_id":"5a5a9c0d-cf17-47f6-9d62-6d4404ebd5ac"},{"name":"order_book","id":"c60c51a8-e683-4f45-a000-820723d37871","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of displayed positions (default: 100, max: 1000)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_book","description":"<p>The book of current orders on the currency pair</p>\n","urlObject":{"protocol":"https","path":["v1.1","order_book"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"2a329165-0a5c-4af6-a4a2-eac34ace6818","name":"order_book","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"},{"key":"limit","value":"100","description":"the number of displayed positions (default: 100, max: 1000)","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_book"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": {\n    \"ask_quantity\": \"3\",\n    \"ask_amount\": \"500\",\n    \"ask_top\": \"100\",\n    \"bid_quantity\": \"1\",\n    \"bid_amount\": \"99\",\n    \"bid_top\": \"99\",\n    \"ask\": [[100,1,100],[200,2,400]],\n    \"bid\": [[99,1,99]]\n  }\n}"}],"_postman_id":"c60c51a8-e683-4f45-a000-820723d37871"},{"name":"ticker","id":"4c8e6459-3503-4361-b012-c34bb9f7e385","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/ticker","description":"<p>Statistics on prices and volume of trades by currency pairs</p>\n","urlObject":{"protocol":"https","path":["v1.1","ticker"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"f0732d7c-cd17-400e-9cc9-02d27e39a6e2","name":"ticker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/ticker"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": {\n    \"buy_price\": \"589.06\",\n    \"sell_price\": \"592\",\n    \"last_trade\": \"591.221\",\n    \"high\": \"602.082\",\n    \"low\": \"584.51011695\",\n    \"avg\": \"591.14698808\",\n    \"vol\": \"167.59763535\",\n    \"vol_curr\": \"99095.17162071\",\n    \"updated\": 1470250973\n  }\n}"}],"_postman_id":"4c8e6459-3503-4361-b012-c34bb9f7e385"},{"name":"pair_settings","id":"7de7e75c-5833-45a8-b937-c2276d235aaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/pair_settings","description":"<p>Currency pairs settings</p>\n<p>Notice:</p>\n<p>Parameters <code>min_amount</code> and <code>max_amount</code> are not used for limit orders, but only for market orders when buying or selling \"For the Amount of\", and indicates limits in the second currency of the pair.</p>\n","urlObject":{"protocol":"https","path":["v1.1","pair_settings"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"52346680-601c-4d3c-a593-a4a53ed867be","name":"pair_settings","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/pair_settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"EXM_ETH\": {\n        \"min_quantity\": \"1\",\n        \"max_quantity\": \"1000\",\n        \"min_price\": \"1\",\n        \"max_price\": \"1000\",\n        \"max_amount\": \"1000\",\n        \"min_amount\": \"1\",\n        \"price_precision\": 8,\n        \"commission_taker_percent\": \"0.2\",\n        \"commission_maker_percent\": \"0.2\"\n    },\n    \"BTC_USD\": {\n        \"min_quantity\": \"0.001\",\n        \"max_quantity\": \"100\",\n        \"min_price\": \"1\",\n        \"max_price\": \"10000\",\n        \"max_amount\": \"30000\",\n        \"min_amount\": \"1\",\n        \"price_precision\": 2,\n        \"commission_taker_percent\": \"0.2\",\n        \"commission_maker_percent\": \"0.2\"\n    }\n}"}],"_postman_id":"7de7e75c-5833-45a8-b937-c2276d235aaa"},{"name":"currency","id":"20263fe7-bbcd-4bae-89f4-4f830a893c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/currency","description":"<p>Currencies list</p>\n","urlObject":{"protocol":"https","path":["v1.1","currency"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"b1eeddcd-174f-4716-bcb3-58d3eff38171","name":"currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\"USD\",\"EUR\",\"BTC\",\"DOGE\",\"LTC\"]"}],"_postman_id":"20263fe7-bbcd-4bae-89f4-4f830a893c38"},{"name":"currency_list_extended","id":"7cdf0ca8-9ff6-4cf3-aa33-bcec83155c49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"url":"https://api.exmo.com/v1.1/currency/list/extended","description":"<p>Extended list of currencies</p>\n","urlObject":{"protocol":"https","path":["v1.1","currency","list","extended"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"7e278202-3323-46c8-b646-30b9c95159f7","name":"currency_list_extended","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"https://api.exmo.com/v1.1/currency/list/extended"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[{\"name\":\"USD\",\"description\":\"US Dollar\"}, {\"name\":\"UAH\",\"description\":\"Ukrainian hryvnia\"}]"}],"_postman_id":"7cdf0ca8-9ff6-4cf3-aa33-bcec83155c49"},{"name":"required_amount","id":"21af9230-221b-4aea-8243-2fd3da72055b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"quantity","value":"11","description":"<p>quantity to buy</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/required_amount","description":"<p>Calculating the sum of buying a certain amount of currency for the particular currency pair</p>\n","urlObject":{"protocol":"https","path":["v1.1","required_amount"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"02564b5a-79d2-4579-a36d-a07d755456ce","name":"required_amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"quantity","value":"11","description":"quantity to buy","type":"text"}]},"url":"https://api.exmo.com/v1.1/required_amount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"quantity\": 3,\n  \"amount\": 5,\n  \"avg_price\": 3.66666666\n}"}],"_postman_id":"21af9230-221b-4aea-8243-2fd3da72055b"},{"name":"candles_history","id":"65eeb949-74e5-4631-9184-c38387fe53e8","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"host":true,"user-agent":true},"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.exmo.com/v1.1/candles_history?symbol=BTC_USD&resolution=30&from=1585556979&to=1585557979","description":"<p>Get candles history</p>\n","urlObject":{"protocol":"https","path":["v1.1","candles_history"],"host":["api","exmo","com"],"query":[{"description":{"content":"<p>currency pair</p>\n","type":"text/plain"},"key":"symbol","value":"BTC_USD"},{"description":{"content":"<p>discreteness of candles, possible values: 1, 5, 15, 30, 45, 60, 120, 180, 240, D, W, M</p>\n","type":"text/plain"},"key":"resolution","value":"30"},{"description":{"content":"<p>beginning of period</p>\n","type":"text/plain"},"key":"from","value":"1585556979"},{"description":{"content":"<p>end of period</p>\n","type":"text/plain"},"key":"to","value":"1585557979"}],"variable":[]}},"response":[{"id":"b4a14683-e957-4904-bb5b-42eca9a3e695","name":"candles_history","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.exmo.com/v1.1/candles_history?symbol=BTC_USD&resolution=30&from=1585556979&to=1585557979","protocol":"https","host":["api","exmo","com"],"path":["v1.1","candles_history"],"query":[{"key":"symbol","value":"BTC_USD","description":"currency pair"},{"key":"resolution","value":"30","description":"discreteness of candles, possible values: 1, 5, 15, 30, 45, 60, 120, 180, 240, D, W, M"},{"key":"from","value":"1585556979","description":"beginning of period"},{"key":"to","value":"1585557979","description":"end of period"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"api-gateway/0.1.18"},{"key":"date","value":"Mon, 30 Mar 2020 09:41:36 GMT"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"114"},{"key":"access-control-allow-methods","value":"POST, GET, OPTIONS, PUT, DELETE"},{"key":"access-control-allow-headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Key, Sign"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"candles\": [\n        {\n            \"t\": 1585557000000,\n            \"o\": 6590.6164,\n            \"c\": 6602.3624,\n            \"h\": 6618.78965693,\n            \"l\": 6579.054,\n            \"v\": 6.932754980000013\n        }\n    ]\n}"}],"_postman_id":"65eeb949-74e5-4631-9184-c38387fe53e8"},{"name":"payments_providers_crypto_list","id":"4190035d-24b1-453d-833b-37e0a52f88e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.exmo.com/v1.1/payments/providers/crypto/list","description":"<p>Crypto providers list</p>\n","urlObject":{"protocol":"https","path":["v1.1","payments","providers","crypto","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"38471a4c-ce56-46a5-8724-4a39e8a0e323","name":"payments_providers_crypto_list","originalRequest":{"method":"GET","header":[],"url":"https://api.exmo.com/v1.1/payments/providers/crypto/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n\"BTC\": [\n    {\n      \"type\": \"deposit\", //provider method type, withdrawal or deposit\n      \"name\": \"BTC\", //provider name\n      \"currency_name\": \"BTC\", //currency name\n      \"min\": \"0\", //min amount per operation\n      \"max\": \"0\", //max amount per operation\n      \"enabled\": true, //provider status\n      \"comment\": \"\", //comment for provider\n      \"commission_desc\": \"\", //description of commission\n      \"currency_confirmations\": 0 //the number of required confirmations for the operation\n    },\n    {\n      \"type\": \"withdraw\",\n      \"name\": \"BTC\",\n      \"currency_name\": \"BTC\",\n      \"min\": \"0.01\",\n      \"max\": \"350.001\",\n      \"enabled\": true,\n      \"comment\": \"\",\n      \"commission_desc\": \"\",\n      \"currency_confirmations\": 3\n    }\n],\n  \"LTC\": [\n    {\n      \"type\": \"deposit\",\n      \"name\": \"LTC\",\n      \"currency_name\": \"LTC\",\n      \"min\": \"0\",\n      \"max\": \"0\",\n      \"enabled\": true,\n      \"comment\": \"\",\n      \"commission_desc\": \"\",\n      \"currency_confirmations\": 0\n    },\n    {\n      \"type\": \"withdraw\",\n      \"name\": \"LTC\",\n      \"currency_name\": \"LTC\",\n      \"min\": \"0.5\",\n      \"max\": \"1050\",\n      \"enabled\": true,\n      \"comment\": \"\",\n      \"commission_desc\": null,\n      \"currency_confirmations\": 50\n    }\n]\n}"}],"_postman_id":"4190035d-24b1-453d-833b-37e0a52f88e2"}],"id":"e4ea2d2f-e5cf-4605-85fa-3181b62a4a95","description":"<p>This API does not require authorization and can be accessed using the GET or POST methods.</p>\n<p>General URL with API access looks like this: <code>https://api.exmo.com/v1.1/{api_name}?{api_params}</code> where <code>api_name</code> is the name of API you are accessing and <code>api_params</code> are the incoming request parameters (if necessary)</p>\n","event":[{"listen":"prerequest","script":{"id":"95d74b3e-646b-457e-8050-d330bb9679fb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"27df9135-243f-47e6-9738-1adb6785e131","type":"text/javascript","exec":[""]}}],"_postman_id":"e4ea2d2f-e5cf-4605-85fa-3181b62a4a95"},{"name":"Authenticated API","item":[{"name":"user_info","id":"c8388df7-1f9f-4d41-81c4-5a387d171dc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/user_info","description":"<p>Getting information about user's account</p>\n","urlObject":{"protocol":"https","path":["v1.1","user_info"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"0f8227f4-6458-4d6d-b007-a75d46be4e00","name":"user_info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"uid\": 10542,\n  \"server_date\": 1435518576,\n  \"balances\": {\n    \"BTC\": \"970.994\",\n    \"USD\": \"949.47\"\n  },\n  \"reserved\": {\n    \"BTC\": \"3\",\n    \"USD\": \"0.5\"\n  }\n}"}],"_postman_id":"c8388df7-1f9f-4d41-81c4-5a387d171dc6"},{"name":"order_create","id":"80daa469-ec59-4d0a-b229-6a311d8dd1cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"quantity","value":"1.56789","description":"<p>quantity for the order</p>\n","type":"text"},{"key":"price","value":"10000.56789","description":"<p>price for the order</p>\n","type":"text"},{"key":"type","value":"buy","description":"<p>type of order, can have the following values:</p>\n<ul>\n<li>buy - buy order</li>\n<li>sell - sell order</li>\n<li>market_buy - market buy-order</li>\n<li>market_sell - market sell-order</li>\n<li>market_buy_total - market buy-order for a certain amount</li>\n<li>market_sell_total - market sell-order for a certain amount</li>\n</ul>\n","type":"text"},{"key":"exec_type","value":"","description":"<p>exec option for limit orders (optional parameter), can have the following values:</p>\n<ul>\n<li>post_only - order will only be placed if no part of it is filled while being placed</li>\n<li>fok - order will only be placed if whole order immediately fill while being placed</li>\n<li>ioc - while order is being placed, the exchange attempts to execute all or part immediately and then cancels any unfilled portion of the order</li>\n</ul>\n","type":"text"},{"key":"client_id","value":"100500","description":"<p>client id for the order (optional parameter, must be a positive integer)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_create","description":"<p>Order creation</p>\n<p><strong>Examples of order creation using PHP:</strong></p>\n<p>Creation of an order to buy 3 BTC for 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;100,\n    \"type\"=&gt;\"buy\"\n));\n</code></pre><p>Creation of an order to sell 3 BTC at 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;100,\n    \"type\"=&gt;\"sell\"\n));\n</code></pre><p>Creation of a market order to buy 3 BTC</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_buy\"\n));\n</code></pre><p>Creation of a market order to sell 3 BTC</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_sell\"\n));\n</code></pre><p>Creation of a market order to buy BTC for the amount of 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;100,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_buy_total\"\n));\n</code></pre><p>Creation of a market order to sell BTC for the amount of 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;100,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_sell_total\"\n));\n</code></pre>","urlObject":{"protocol":"https","path":["v1.1","order_create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"54277083-49dd-4a6a-a00c-74df58dd0539","name":"order_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"quantity","value":"1.56789","description":"quantity for the order","type":"text"},{"key":"price","value":"10000.56789","description":"price for the order","type":"text"},{"key":"type","value":"buy","description":"type of order, can have the following values:\n+ buy - buy order\n+ sell - sell order\n+ market_buy - market buy-order\n+ market_sell - market sell-order\n+ market_buy_total - market buy-order for a certain amount\n+ market_sell_total - market sell-order for a certain amount","type":"text"},{"key":"client_id","value":"100500","description":"client id for the order (optional parameter, must be a positive integer)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"order_id\": 123456,\n  \"client_id\": 100500\n}"}],"_postman_id":"80daa469-ec59-4d0a-b229-6a311d8dd1cd"},{"name":"order_cancel","id":"1f710d4b-75bc-4b65-ad68-006f863a3f26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123456","description":"<p>order identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_cancel","description":"<p>Order cancellation</p>\n","urlObject":{"protocol":"https","path":["v1.1","order_cancel"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"3d8e098d-a025-44e2-b9c4-1b8e5e8e35a8","name":"order_cancel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123456","description":"order identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\"\n}"}],"_postman_id":"1f710d4b-75bc-4b65-ad68-006f863a3f26"},{"name":"stop_market_order_create","id":"de6f4321-eeac-468c-87f7-c4ad7062e265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"quantity","value":"1.56789","description":"<p>quantity for the order</p>\n","type":"text"},{"key":"trigger_price","value":"10000.56789","description":"<p>price for the order</p>\n","type":"text"},{"key":"type","value":"buy","description":"<p>type of order, can have the following values:</p>\n<ul>\n<li>buy - stop market buy order</li>\n<li>sell - stop market sell order</li>\n</ul>\n","type":"text"},{"key":"client_id","value":"100500","description":"<p>client id for the order (optional parameter, must be a positive integer)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/stop_market_order_create","description":"<p>Stop market order creation</p>\n","urlObject":{"protocol":"https","path":["v1.1","stop_market_order_create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"7ed9f623-411d-417c-9f7d-0fdf9fc94b30","name":"stop_market_order_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"quantity","value":"1.56789","description":"quantity for the order","type":"text"},{"key":"trigger_price","value":"10000.56789","description":"price for the order","type":"text"},{"key":"type","value":"buy","description":"type of order, can have the following values:\n+ buy - stop market buy order\n+ sell - stop market sell order","type":"text"},{"key":"client_id","value":"100500","description":"client id for the order (optional parameter, must be a positive integer)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/stop_market_order_create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"client_id\": 100500,\n    \"parent_order_id\": 507056272792275327,\n    \"parent_order_id_str\": \"507056272792275327\"\n}"}],"_postman_id":"de6f4321-eeac-468c-87f7-c4ad7062e265"},{"name":"stop_market_order_cancel","id":"a4d0aae8-28f7-41ac-94fd-c4030130453d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"parent_order_id","value":"507056272792275327","description":"<p>stop market order identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/stop_market_order_cancel","description":"<p>Stop market order cancellation</p>\n","urlObject":{"protocol":"https","path":["v1.1","stop_market_order_cancel"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"e7c60896-1923-442c-a08d-80508b8a47ee","name":"stop_market_order_cancel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"parent_order_id","value":"507056272792275327","description":"currency pair","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/stop_market_order_cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"a4d0aae8-28f7-41ac-94fd-c4030130453d"},{"name":"user_open_orders","id":"0e135370-daa4-4689-8acd-b6876dee9ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_open_orders","description":"<p>Getting the list of user’s active orders</p>\n","urlObject":{"protocol":"https","path":["v1.1","user_open_orders"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"a3dca2fb-b658-416f-ad80-6b37e03597c1","name":"user_open_orders","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":{"raw":"https://api.exmo.com/v1.1/user_open_orders?pair=USDT_USD,BTC_USD","protocol":"https","host":["api","exmo","com"],"path":["v1.1","user_open_orders"],"query":[{"key":"pair","value":"USDT_USD,BTC_USD","type":"text"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"USDT_USD\": [\n    {\n      \"parent_order_id\": \"507061384740151010\",\n      \"client_id\": \"100500\",\n      \"created\": \"1589547391\",\n      \"type\": \"stop_market_buy\",\n      \"pair\": \"USDT_USD\",\n      \"quantity\": \"1\",\n      \"trigger_price\": \"5\",\n      \"amount\": \"5\"\n    }\n  ],\n  \"BTC_USD\": [\n    {\n      \"order_id\": \"14\",\n      \"client_id\": \"100500\",\n      \"created\": \"1435517311\",\n      \"type\": \"buy\",\n      \"pair\": \"BTC_USD\",\n      \"price\": \"100\",\n      \"quantity\": \"1\",\n      \"amount\": \"100\"\n    }\n  ]\n}"}],"_postman_id":"0e135370-daa4-4689-8acd-b6876dee9ba1"},{"name":"user_trades","id":"b8d8d9af-4f46-46a1-939b-ad261d79f452","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned deals (default: 100, maximum: 100)</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last deal offset (default: 0)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_trades","description":"<p>Getting the list of user’s deals</p>\n","urlObject":{"protocol":"https","path":["v1.1","user_trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"9a5e3eaa-a643-4847-bba5-9b7a48273d8a","name":"user_trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"},{"key":"limit","value":"100","description":"the number of returned deals (default: 100, мmaximum: 100)","type":"text"},{"key":"offset","value":"0","description":"last deal offset (default: 0)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"BTC_USD\": [\n        {\n            \"trade_id\": 20056872,\n            \"client_id\": 100500,\n            \"date\": 1435488248,\n            \"type\": \"buy\",\n            \"pair\": \"BTC_USD\",\n            \"quantity\": \"1\",\n            \"price\": \"100\",\n            \"amount\": \"100\",\n            \"order_id\": 7,\n            \"parent_order_id\": 117684023830293,\n            \"exec_type\": \"taker\",\n            \"commission_amount\": \"0.02\",\n            \"commission_currency\": \"BTC\",\n            \"commission_percent\": \"0.2\"\n        }\n    ],\n    \"BTC_EUR\": [\n        {\n            \"trade_id\": 20056873,\n            \"client_id\": 0,\n            \"date\": 1435488248,\n            \"type\": \"sell\",\n            \"pair\": \"BTC_EUR\",\n            \"quantity\": \"1\",\n            \"price\": \"100\",\n            \"amount\": \"100\",\n            \"order_id\": 8,\n            \"exec_type\": \"maker\",\n            \"commission_amount\": \"1\",\n            \"commission_currency\": \"EUR\",\n            \"commission_percent\": \"0.1\"\n        }\n    ]\n}"}],"_postman_id":"b8d8d9af-4f46-46a1-939b-ad261d79f452"},{"name":"user_cancelled_orders","id":"a51be1d0-af5f-44e4-99d7-f7b04c6067d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"limit","value":"100","description":"<p>the number of returned deals (default: 100, maximum: 10 000)</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last deal offset (default: 0)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_cancelled_orders","description":"<p>Getting the list of user’s cancelled orders</p>\n","urlObject":{"protocol":"https","path":["v1.1","user_cancelled_orders"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"80a86d65-21a3-4557-8395-61858dec5d77","name":"user_cancelled_orders","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"limit","value":"100","description":"the number of returned deals (default: 100, мmaximum: 10 000)","type":"text"},{"key":"offset","value":"0","description":"last deal offset (default: 0)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/user_cancelled_orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"parent_order_id\": \"507061048430834991\",\n        \"client_id\": \"100500\",\n        \"created\": \"1586422374\",\n        \"type\": \"stop_market_buy\",\n        \"pair\": \"XRP_USD\",\n        \"quantity\": \"1\",\n        \"trigger_price\": \"3\",\n        \"amount\": \"3\",\n        \"reason_status\": \"user_canceled\"\n    },\n    {\n        \"order_id\": \"6046763382\",\n        \"client_id\": \"0\",\n        \"created\": \"1586416857\",\n        \"type\": \"buy\",\n        \"pair\": \"XRP_USD\",\n        \"quantity\": \"30\",\n        \"price\": \"0.01\",\n        \"amount\": \"0.3\"\n    }\n]"}],"_postman_id":"a51be1d0-af5f-44e4-99d7-f7b04c6067d0"},{"name":"order_trades","id":"cf27781e-28e5-4b39-a52d-3110f5d22459","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"12345","description":"<p>order identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_trades","description":"<p>Getting the history of deals with the order</p>\n","urlObject":{"protocol":"https","path":["v1.1","order_trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"0a2145ad-d255-423f-a1bb-8c086233c610","name":"order_trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"12345","description":"order identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/order_trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"buy\",\n  \"in_currency\": \"BTC\",\n  \"in_amount\": \"1\",\n  \"out_currency\": \"USD\",\n  \"out_amount\": \"100\",\n  \"trades\": [\n    {\n      \"trade_id\": 3,\n      \"client_id\": 100500,\n      \"date\": 1435488248,\n      \"type\": \"buy\",\n      \"pair\": \"BTC_USD\",\n      \"order_id\": 12345,\n      \"quantity\": 1,\n      \"price\": 100,\n      \"amount\": 100,\n      \"exec_type\": \"taker\",\n      \"commission_amount\": \"0.02\",\n      \"commission_currency\": \"BTC\",\n      \"commission_percent\": \"0.2\"\n    }\n  ]\n}"}],"_postman_id":"cf27781e-28e5-4b39-a52d-3110f5d22459"}],"id":"9df85ac2-5a00-4715-a54e-e891d6ab3468","description":"<p>To access this API it is necessary to use the POST method.</p>\n<p><strong>URL</strong> — should be used the following address: <code>https://api.exmo.com/v1.1/{api_name}</code> where <code>api_name</code> is the name of API method</p>\n<p>Authorization is realized by sending the following headers to the server:</p>\n<p><strong>Key</strong> — Public key that can be found in user’s profile settings\n(example: K-7cc97c89aed2a2fd9ed7792d48d63f65800c447b)</p>\n<p><strong>Sign</strong> — POST data (param=val&amp;param1=val1) encrypted with method HMAC-SHA512 using secret key; the secret key also can be found in user’s profile settings</p>\n<p>There’s a possibility to associate several keys with one account for API access.</p>\n<p>All the requests should also include the obligatory POST parameter <code>nonce</code> with incremental numerical value (&gt;0). The incremental numerical value should never reiterate or decrease.</p>\n<p>To access API you can use the already existing code in the following languages:</p>\n<ul>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/php\">PHP</a> or <code>composer require exmo/api</code></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/js\">Javascript</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/nodejs\">Nodejs</a> or <code>npm install exmo-api</code></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/c#\">C#</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/%D1%81++\">C++</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/python\">Python</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/objectivec\">Objective C</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/swift\">Swift</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/java\">Java</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/ruby\">Ruby</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/golang\">Golang</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/r\">R</a></li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"130acfd1-0cca-456d-9f2a-6ad631c7362e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cc6b9a1e-baec-42c0-a046-f037de970c04","type":"text/javascript","exec":[""]}}],"_postman_id":"9df85ac2-5a00-4715-a54e-e891d6ab3468"},{"name":"Excode API","item":[{"name":"excode_create","id":"6d7f3363-601b-4525-a546-a3729cefc5a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"currency","value":"BTC","description":"<p>name of coupon currency</p>\n","type":"text"},{"key":"amount","value":"10","description":"<p>amount in the coupon</p>\n","type":"text"},{"key":"login","value":"test_user","description":"<p>login of user, who can upload EXCODE coupon (<strong>not necessary param, if it present - coupon can upload only this user or their creator</strong>)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/excode_create","description":"<p>EXCODE coupon creation</p>\n","urlObject":{"protocol":"https","path":["v1.1","excode_create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"eab827cd-e49e-4500-a1fc-d0b58767009b","name":"excode_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"currency","value":"BTC","description":"name of coupon currency","type":"text"},{"key":"amount","value":"10","description":"amount in the coupon","type":"text"},{"key":"login","value":"test_user","description":"login of user, who can upload EXCODE coupon (**not necessary param, if it present - coupon can upload only this user or their creator**)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/excode_create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467757\",\n  \"code\": \"EX-CODE_9004_BTC7c3f8adc0b158658....\",\n  \"amount\": \"10\",\n  \"currency\": \"BTC\",\n  \"login\": \"test_user\",\n  \"commission\": \"0.01\",\n  \"balances\": {\n    \"BTC\": 940.994,\n    \"USD\": 949.472\n  }\n}"}],"_postman_id":"6d7f3363-601b-4525-a546-a3729cefc5a6"},{"name":"excode_load","id":"9cd0b31b-fb83-44b9-ac85-4e3cc67c15f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"<p>code of the EXCODE coupon</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/excode_load","description":"<p>EXCODE coupon uploading</p>\n","urlObject":{"protocol":"https","path":["v1.1","excode_load"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"c4f19932-e77c-431d-9d04-21353fe00636","name":"excode_load","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"code of the EXCODE coupon","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/excode_load"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467757\",\n  \"amount\": \"10\",\n  \"currency\": \"BTC\",\n  \"reviewing\": true\n}"}],"_postman_id":"9cd0b31b-fb83-44b9-ac85-4e3cc67c15f4"},{"name":"code_check","id":"09750ed5-e6e1-472f-95d7-eea6ce913ec8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"<p>code of the EXCODE coupon</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/code_check","description":"<p>EXCODE coupon checking</p>\n","urlObject":{"protocol":"https","path":["v1.1","code_check"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"29851193-e09e-4dae-96c8-f40888edb754","name":"code_check","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"code of the EXCODE coupon","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/code_check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"valid\": true,\n  \"created\": 1594387417,\n  \"used\": false,\n  \"used_dt\": 0,\n  \"amount\": \"10\",\n  \"currency\": \"BTC\"\n}"}],"_postman_id":"09750ed5-e6e1-472f-95d7-eea6ce913ec8"}],"id":"16e6ce35-e8c8-47d5-9ec8-cd7a78c05105","description":"<p>Using EXCODE API you can create and upload EXCODE coupons. <strong>The access is given only after a request to the Technical Support.</strong></p>\n","event":[{"listen":"prerequest","script":{"id":"15169cf9-b49c-43fd-92a8-24ff09772c82","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"59fb0256-65db-4106-b5ab-5e0a71b65a6d","type":"text/javascript","exec":[""]}}],"_postman_id":"16e6ce35-e8c8-47d5-9ec8-cd7a78c05105"},{"name":"Wallet API","item":[{"name":"deposit_address","id":"c8f9ced9-7ab6-4383-a6a4-bc54469ba60e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/deposit_address","description":"<p>Getting the list of addresses for cryptocurrency deposit</p>\n","urlObject":{"protocol":"https","path":["v1.1","deposit_address"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"88294075-d8ea-4429-a5ee-fd1304b3736f","name":"deposit_address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/deposit_address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC\": \"16UM5DoeHkV7Eb7tMfXSuQ2ueir1yj4P7d\",\n  \"DOGE\": \"DEVfhgKErG5Nzas2FZJJH8Y8pjoLfVfWq4\",\n  \"LTC\": \"LSJFhsVJM6GCFtSgRj5hHuK9gReLhNuKFb\",\n  \"XRP\": \"rB2yjyFCoJaV8QCbj1UJzMnUnQJMrkhv3S,1234\"\n}"}],"_postman_id":"c8f9ced9-7ab6-4383-a6a4-bc54469ba60e"},{"name":"withdraw_crypt","id":"3ab9c34d-ad58-4f87-9c57-2e2ea88a8325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"10","description":"<p>Amount of currency to be withdrawn (required)</p>\n","type":"text"},{"key":"currency","value":"BTC","description":"<p>Name of the currency to be withdrawn (required)</p>\n","type":"text"},{"key":"address","value":"16UM5DoeHkV7Eb7tMfXSu...","description":"<p>Withdrawal address (required)</p>\n","type":"text"},{"key":"invoice","value":"1234","description":"<p>Additional identifier (optional)</p>\n","type":"text"},{"key":"transport","value":"","description":"<p>The network in which the withdrawal will be made. If you do not specify, then the default network will be selected.\nExplanation: some currencies exist in several blockchains, and you can specify in which blockchain you want to withdraw tokens.\n (optional)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/withdraw_crypt","description":"<p>Creation of the task for cryptocurrency withdrawal.</p>\n<hr />\n<p>Description of the <strong>invoice</strong> parameter for currencies in which it is used:</p>\n<p><br /><br /></p><p><br /><br /><br /></p><table><tbody><tr><th>Currency</th><th>Parameter invoice</th><th>Description</th></tr><tr><td>XRP</td><td>Required</td><td>DESTINATION_TAG value</td></tr><tr><td>XEM</td><td>Optional</td><td>MESSAGE value</td></tr><tr><td>XLM</td><td>Required</td><td>MEMO value</td></tr><tr><td>EOS, PTI, ZAG</td><td>Optional</td><td>MEMO value</td></tr></tbody></table>\n\n<p>Description of the <strong>transport</strong> parameter for currencies in which it is used:</p>\n<p><br /><br /><br /></p><table><tbody><tr><th>Currency</th><th>Parameter transport</th><th>Available values</th><th>Default value</th></tr><tr><td>USDT</td><td>Optional</td><td><br /><b>ERC20</b> for withdrawal on the Ethereum network<br /><br /><b>TRC20</b> for withdrawal on the Tron network<br /><br /></td><td>not indicated for withdrawal on the Bitcoin network</td></tr></tbody></table>","urlObject":{"protocol":"https","path":["v1.1","withdraw_crypt"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"ba703792-635c-46b2-8038-86d9c28791d3","name":"withdraw_crypt","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"10","description":"Amount of currency to be withdrawn (required)","type":"text"},{"key":"currency","value":"BTC","description":"Name of the currency to be withdrawn (required)","type":"text"},{"key":"address","value":"16UM5DoeHkV7Eb7tMfXSu...","description":"Withdrawal address (required)","type":"text"},{"key":"invoice","value":"1234","description":"Additional identifier (optional)","type":"text"},{"key":"transport","value":"","description":"The network in which the withdrawal will be made. If you do not specify, then the default network will be selected.\nExplanation: some currencies exist in several blockchains, and you can specify in which blockchain you want to withdraw tokens.\n (optional)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/withdraw_crypt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467756\"\n}"}],"_postman_id":"3ab9c34d-ad58-4f87-9c57-2e2ea88a8325"},{"name":"withdraw_get_txid","id":"22e31775-14b8-4a51-b023-5b115ea99219","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"task_id","value":"467756","description":"<p>withdrawal task identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/withdraw_get_txid","description":"<p>Getting the transaction ID in order to keep track of it on blockchain</p>\n","urlObject":{"protocol":"https","path":["v1.1","withdraw_get_txid"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"3b1515ec-9ebe-47e9-a1fc-fcfcc48fa13c","name":"withdraw_get_txid","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"task_id","value":"467756","description":"withdrawal task identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/withdraw_get_txid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"status\": true,\n  \"txid\": \"ec46f784ad976fd7f7539089d1a129fe46...\"\n}"}],"_postman_id":"22e31775-14b8-4a51-b023-5b115ea99219"},{"name":"wallet_history","id":"31e69a33-4849-4e6a-b4b4-6d574238f6a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"date","value":"1493998000","description":"<p>timestamp of the day (if empty got current day)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/wallet_history","description":"<p>Get history of wallet</p>\n","urlObject":{"protocol":"https","path":["v1.1","wallet_history"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"8b1728a3-bbb5-4aec-ab27-02ee019a9877","name":"wallet_history","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Key","value":"<your_api_key>"},{"key":"Sign","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"date","value":"1493998000","description":"timestamp of the day (if empty got current day)","type":"text"},{"key":"nonce","value":"1716804281","type":"text"}]},"url":"https://api.exmo.com/v1.1/wallet_history"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"begin\": \"1493942400\",\n  \"end\": \"1494028800\",\n  \"history\": [{\n       \"dt\": 1461841192,\n       \"type\": \"deposit\",\n       \"curr\": \"EUR\",\n       \"status\": \"processing\",\n       \"provider\": \"Checkout\",\n       \"amount\": \"1\",\n       \"account\": \"\",\n       \"txid\": \"\"\n     },\n     {\n       \"dt\": 1463414785,\n       \"type\": \"withdrawal\",\n       \"curr\": \"USD\",\n       \"status\": \"paid\",\n       \"provider\": \"EXCODE\",\n       \"amount\": \"-1\",\n       \"account\": \"EX-CODE_19371_USDda...\",\n       \"txid\": \"\"\n     }\n  ]\n}"}],"_postman_id":"31e69a33-4849-4e6a-b4b4-6d574238f6a7"},{"name":"wallet_operations","id":"97f1becd-7aad-4e0e-babe-7bbe09e33706","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"limit","value":"100","description":"<p>the number of returned transactions (default: 100, maximum: 100)</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last transaction offset (default: 0)</p>\n","type":"text"},{"key":"currency","value":"BTC","description":"<p>one currency name (optional parameter)</p>\n","type":"text"},{"key":"provider","value":"BTC","description":"<p>one provider name (optional parameter)</p>\n","type":"text"},{"key":"type","value":"withdrawal","description":"<p>type of transaction: deposit or withdraw (optional parameter)</p>\n","type":"text"},{"key":"order_id","value":"100500","description":"<p>order identifier (optional parameter)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/wallet_operations","description":"<p>Get operations of wallet</p>\n","urlObject":{"protocol":"https","path":["v1.1","wallet_operations"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"3149aba3-63e9-47cf-862e-7f37b980d376","name":"wallet_operations","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"imit","value":"100","description":"the number of returned transactions (default: 100, maximum: 100)","type":"text"},{"key":"offset","value":"0","description":"last transaction offset (default: 0)","type":"text"},{"key":"currency","value":"DOGE","description":"one currency name (optional parameter)","type":"text"},{"key":"provider","value":"DOGE","description":"one provider name (optional parameter)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1.1/wallet_operations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"operation_id\": 47412538520634344,\n      \"created\": 1573760013,\n      \"updated\": 1573760013,\n      \"type\": \"withdraw\",\n      \"currency\": \"DOGE\",\n      \"status\": \"Paid\",\n      \"amount\": \"300\",\n      \"provider\": \"DOGE\",\n      \"commission\": \"0\",\n      \"account\": \"DOGE: DBVy8pF1f8yxaCVEHqHeR7kkcHecLQ8nRS\",\n      \"order_id\": 69670170,\n      \"extra\": {\n        \"txid\": \"f2b66259ae1580f371d38dd27e31a23fff8c04122b65ee3ab5a3f612d579c792\",\n        \"excode\": \"\",\n        \"invoice\": \"\"\n      },\n      \"error\": \"\"\n    },\n    {\n      \"operation_id\": 47412538520632940,\n      \"created\": 1573754832,\n      \"updated\": 1573754832,\n      \"type\": \"deposit\",\n      \"currency\": \"DOGE\",\n      \"status\": \"Transferred\",\n      \"amount\": \"1000\",\n      \"provider\": \"EX-CODE DOGE\",\n      \"commission\": \"0\",\n      \"account\": \"EX-CODE_4082962_DOGE0c76d9*****f75d5a188b\",\n      \"order_id\": 69668767,\n      \"extra\": {\n        \"txid\": \"\",\n        \"excode\": \"EX-CODE_4082962_DOGE0c76d9*****f75d5a188b\",\n        \"invoice\": \"\"\n      },\n      \"error\": \"\"\n    }\n  ],\n  \"count\": 23\n}"}],"_postman_id":"97f1becd-7aad-4e0e-babe-7bbe09e33706"}],"id":"1530e970-5b30-4ef5-8781-e569dc6f4313","description":"<p>Wallet API call the same as Authenticated API.</p>\n","event":[{"listen":"prerequest","script":{"id":"10fb18d5-ed46-4842-9d01-88e0d4d609ba","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"3502d207-1a50-4c3b-ab46-310b5ce85696","type":"text/javascript","exec":[""]}}],"_postman_id":"1530e970-5b30-4ef5-8781-e569dc6f4313"},{"name":"Margin API","item":[{"name":"order_create","id":"3561b86c-9ff1-436e-8e68-ac926b7eb523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"leverage","value":"2","description":"<p>leverage for the order</p>\n","type":"text"},{"key":"type","value":"stop_sell","description":"<p>type of order, can have the following values:</p>\n<ul>\n<li>limit_buy - limit buy-order</li>\n<li>limit_sell - limit sell-order</li>\n<li>market_buy - market buy-order</li>\n<li>market_sell - market sell-order</li>\n<li>stop_buy - stop market buy-order</li>\n<li>stop_sell - stop market sell-order</li>\n<li>stop_limit_buy - stop-limit buy-order</li>\n<li>stop_limit_sell - stop-limit sell-order</li>\n<li>trailing_stop_buy - trailng stop buy-order</li>\n<li>trailing_stop_sell - trailng stop sell-order</li>\n</ul>\n","type":"text"},{"key":"quantity","value":"0.2","description":"<p>quantity for the order</p>\n","type":"text"},{"key":"price","value":"0","description":"<p>price for the order</p>\n","type":"text"},{"key":"stop_price","value":"55000","description":"<p>stop price for stop-market and stop-limit orders</p>\n","type":"text"},{"key":"distance","value":"0","description":"<p>distance for trailing stop orders</p>\n","type":"text"},{"key":"expire","value":"0","description":"<p>expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0</p>\n","type":"text"},{"key":"client_id","value":"123","description":"<p>client id for the order (optional parameter, must be a positive integer)</p>\n","type":"text"},{"key":"comment","value":"user_comment","description":"<p>optional comment for order. up to 50 latin symbols, whitespaces, underscores  </p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/create","description":"<p>Order creation</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"6aeace8a-ba23-4dbc-89ab-7892f5617d59","name":"order_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"leverage","value":"2","description":"leverage for the order","type":"text"},{"key":"type","value":"stop_sell","description":"type of order, can have the following values:\n+ limit_buy - limit buy-order\n+ limit_sell - limit sell-order\n+ market_buy - market buy-order\n+ market_sell - market sell-order\n+ stop_buy - stop market buy-order\n+ stop_sell - stop market sell-order\n+ stop_limit_buy - stop-limit buy-order\n+ stop_limit_sell - stop-limit sell-order\n+ trailing_stop_buy - trailng stop buy-order\n+ trailing_stop_sell - trailng stop sell-order","type":"text"},{"key":"quantity","value":"0.2","description":"quantity for the order","type":"text"},{"key":"price","value":"0","description":"price for the order","type":"text"},{"key":"stop_price","value":"55000","description":"stop price for stop-market and stop-limit orders","type":"text"},{"key":"distance","value":"0","description":"distance for stop trailing orders","type":"text"},{"key":"expire","value":"0","description":"expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0","type":"text"},{"key":"client_id","value":"123","description":"client id for the order (optional parameter, must be a positive integer)","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/create"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"order_id\": \"1234\"\n}"}],"_postman_id":"3561b86c-9ff1-436e-8e68-ac926b7eb523"},{"name":"order_update","id":"f27ee040-c75f-4b59-b608-d05bd45b7899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"321","description":"<p>id of the open order</p>\n","type":"text"},{"key":"quantity","value":"0.21","description":"<p>quantity for the order</p>\n","type":"text"},{"key":"price","value":"22","description":"<p>price for the order</p>\n","type":"text"},{"key":"stop_price","value":"8101","description":"<p>stop price for stop-market and stop-limit orders</p>\n","type":"text"},{"key":"distance","value":"3","description":"<p>distance for trailing stop orders</p>\n","type":"text"},{"key":"expire","value":"0","description":"<p>expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0</p>\n","type":"text"},{"key":"comment","value":"updated_comment","description":"<p>optional comment for order. up to 50 latin symbols, whitespaces, underscores  </p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/update","description":"<p>Order update</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","update"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"17ad2715-275c-41aa-85ff-5778f730bd81","name":"order_update","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"321","description":"id of the open order","type":"text"},{"key":"quantity","value":"0.21","description":"quantity for the order","type":"text"},{"key":"price","value":"22","description":"price for the order","type":"text"},{"key":"stop_price","value":"8101","description":"stop price for stop-market and stop-limit orders","type":"text"},{"key":"distance","value":"3","description":"distance for stop trailing orders","type":"text"},{"key":"expire","value":"0","description":"expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/update"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"f27ee040-c75f-4b59-b608-d05bd45b7899"},{"name":"order_cancel","id":"705dfec5-2b35-4667-862b-faf54eca6209","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"321","description":"<p>id of the open order</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/cancel","description":"<p>Order cancellation</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","cancel"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"9b5839b4-c5b1-4cdd-8aed-6d18bd11f5b4","name":"order_cancel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"321","description":"id of the open order","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/cancel"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"705dfec5-2b35-4667-862b-faf54eca6209"},{"name":"position_close","id":"bbb7d5cf-9b1f-49f7-baec-c799a73d6fc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"<p>id of the position</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/close","description":"<p>Position close</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","close"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"e18779d1-67a2-4d51-bd9e-5dd5661dc965","name":"user/position/close","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"555","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/close"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:51:48GMT"},{"key":"Content-Length","value":"34"}],"cookie":[],"responseTime":null,"body":"{\n  \"order_id\":\"123\"\n}"}],"_postman_id":"bbb7d5cf-9b1f-49f7-baec-c799a73d6fc7"},{"name":"margin_add","id":"143ef808-79ca-4e49-9e79-a60ea4d8c0e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"<p>id of the position</p>\n","type":"text"},{"key":"quantity","value":"5.5","description":"<p>quantity to add to the position</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_add","description":"<p>Add margin to the position</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","margin_add"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"c86c5938-3ecc-48fb-9563-b5a143934a35","name":"margin_add","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","type":"text"},{"key":"quantity","value":"5.5","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_add"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"143ef808-79ca-4e49-9e79-a60ea4d8c0e3"},{"name":"margin_remove","id":"eebf9f25-0289-4946-9482-89872c738449","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"<p>id of the position</p>\n","type":"text"},{"key":"quantity","value":"5.5","description":"<p>quantity to remove from the position</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_remove","description":"<p>Remove margin from position</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","margin_remove"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"4b53a713-f790-47d0-8849-7cc35aac8a64","name":"margin_remove","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"id of the position","type":"text"},{"key":"quantity","value":"5.5","description":"quantity to remove from the position","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_remove"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"eebf9f25-0289-4946-9482-89872c738449"},{"name":"currency_list","id":"f771e7a8-5f7e-462c-9bd3-b92b672937c9","protocolProfileBehavior":{"disabledSystemHeaders":{"connection":true},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/currency/list","description":"<p>List of margin currencies</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","currency","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"fa948b98-9b42-480f-8782-47b77b667a18","name":"currency/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/currency/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:46:39GMT"},{"key":"Content-Length","value":"167"}],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"collateral\": false,\n      \"name\": \"BTC\",\n      \"position\": 0,\n      \"updated\": \"1615918736631675461\"\n    },\n    {\n      \"collateral\": true,\n      \"name\": \"USD\",\n      \"position\": 0,\n      \"updated\": \"1614163351417225399\"\n    }\n  ]\n}"}],"_postman_id":"f771e7a8-5f7e-462c-9bd3-b92b672937c9"},{"name":"pair_list","id":"90927062-256c-4b03-900f-2b99131f9a54","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/pair/list","description":"<p>List of margin pairs with its tickers and settings</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","pair","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"e23648ac-a62f-4d5b-a56c-c7472032baa1","name":"pair/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/pair/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Fri,20Nov202007:33:51GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"pairs\": [\n    {\n      \"buy_price\": \"55978.85\",\n      \"default_leverage\": \"3\",\n      \"is_fair_price\": true,\n      \"last_trade_price\": \"55999.23\",\n      \"liquidation_fee\": \"2\",\n      \"liquidation_level\": \"10\",\n      \"margin_call_level\": \"15\",\n      \"max_leverage\": \"3\",\n      \"max_order_price\": \"150000\",\n      \"max_order_quantity\": \"1\",\n      \"max_position_quantity\": \"1\",\n      \"max_price_precision\": 2,\n      \"min_order_price\": \"1\",\n      \"min_order_quantity\": \"0.00002\",\n      \"name\": \"BTC_USD\",\n      \"position\": 1,\n      \"sell_price\": \"55985.51\",\n      \"ticker_updated\": \"1619019818936107989\",\n      \"trade_maker_fee\": \"0\",\n      \"trade_taker_fee\": \"0.05\",\n      \"updated\": \"1619008608955599013\"\n    }\n  ]\n}"}],"_postman_id":"90927062-256c-4b03-900f-2b99131f9a54"},{"name":"settings","id":"6320a2d2-181f-489d-91d1-efcf7fe94dfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/settings","description":"<p>This method provides info about available leverage size, order_types and funding payment hour</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","settings"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"6c9bc8a3-f84c-4f1f-b41a-e2f102ab02de","name":"settings","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"raw","raw":""},"url":"https://api.exmo.com/v1.1/margin/settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:47:20GMT"},{"key":"Content-Length","value":"334"}],"cookie":[],"responseTime":null,"body":"{\n  \"funding_pay_rates_hour\": 1,\n  \"leverages\": [\n    \"1\",\n    \"2\",\n    \"3\",\n    \"4\",\n    \"5\",\n    \"10\"\n  ],\n  \"order_types\": [\n    \"limit_buy\",\n    \"limit_sell\",\n    \"market_buy\",\n    \"market_sell\",\n    \"stop_buy\",\n    \"stop_limit_buy\",\n    \"stop_limit_sell\",\n    \"stop_sell\",\n    \"trailing_buy\",\n    \"trailing_sell\"\n  ]\n}"}],"_postman_id":"6320a2d2-181f-489d-91d1-efcf7fe94dfe"},{"name":"funding_list","id":"2170c0dc-180b-4297-88f1-a99aaa2ecdc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/funding/list","description":"<p>List of funding currencies with their rates</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","funding","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"6ab0fb92-9cc3-4c19-9340-eb88fcc7cd80","name":"funding_list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/funding/list"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": {\n        \"BTC\": {\n            \"rate\": \"0.02\"\n        },\n        \"USD\": {\n            \"rate\": \"0.05\"\n        }\n    }\n}"}],"_postman_id":"2170c0dc-180b-4297-88f1-a99aaa2ecdc7"},{"name":"user_info","id":"34037947-0455-4c37-a077-f3fbdfcc1424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"url":"https://api.exmo.com/v1.1/margin/user/info","description":"<p>This method provides info about user permissions and statistics</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","info"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"e98b2e36-4016-4312-8790-aa7d2b6d4e7b","name":"user_info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"url":"https://api.exmo.com/v1.1/margin/user/info"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"info\": {\n        \"can_deposit\": true,\n        \"can_withdraw\": true,\n        \"max_leverages\": {\n            \"ADA_USD\": \"2\",\n            \"BCH_USD\": \"2\",\n            \"BTC_USD\": \"3\",\n            \"DASH_USD\": \"2\",\n            \"DOGE_USD\": \"2\",\n            \"ETH_USD\": \"3\",\n            \"LTC_USD\": \"2\",\n            \"TRX_USD\": \"2\",\n            \"XRP_USD\": \"3\",\n            \"ZEC_USD\": \"2\"\n        },\n        \"order_history_cnt\": 363,\n        \"trades_cnt\": 312,\n        \"uid\": 123,\n        \"wallet_history_cnt\": 582\n    }\n}"}],"_postman_id":"34037947-0455-4c37-a077-f3fbdfcc1424"},{"name":"order_list","id":"a7cfd4f0-476e-4675-b33f-22a46902f245","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/user/order/list","description":"<p>List of open orders</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"6ac0b521-ecae-4233-bdb8-f3ec48ad352c","name":"user/order/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/user/order/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Wed,03Feb202117:08:36GMT"},{"key":"Content-Length","value":"406"}],"cookie":[],"responseTime":null,"body":"{\n  \"orders\": [\n    {\n      \"client_id\": \"0\",\n      \"comment\": \"\",\n      \"created\": \"1619068707985325495\",\n      \"distance\": \"0\",\n      \"expire\": 0,\n      \"funding_currency\": \"BTC\",\n      \"funding_quantity\": \"0.01\",\n      \"funding_rate\": \"0.02\",\n      \"leverage\": \"2\",\n      \"order_id\": \"123\",\n      \"pair\": \"BTC_USD\",\n      \"previous_type\": \"limit_sell\",\n      \"price\": \"58000\",\n      \"quantity\": \"0.01\",\n      \"src\": 0,\n      \"stop_price\": \"0\",\n      \"trigger_price\": \"58000\",\n      \"type\": \"limit_sell\",\n      \"updated\": 1619068707989411800\n    }\n  ]\n}"}],"_postman_id":"a7cfd4f0-476e-4675-b33f-22a46902f245"},{"name":"order_history","id":"1d2524dd-ae6d-403a-a067-77b50d13fbe5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","description":"<p>last order log entry offset (required)</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned order log entries (required, maximum: 100)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/history","description":"<p>User order operation log</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","history"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"9164c09b-beeb-40c4-94a7-a588bfd614dd","name":"order_history","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","description":"last order log entry offset (required)","type":"text"},{"key":"limit","value":"100","description":"the number of returned order log entries (required, maximum: 100)","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/history"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"distance\": \"0\",\n            \"event_id\": \"692842802860022508\",\n            \"event_time\": \"1619069531190173720\",\n            \"event_type\": \"OrderCancelStarted\",\n            \"order_id\": \"123\",\n            \"order_status\": \"cancel_started\",\n            \"order_type\": \"limit_sell\",\n            \"pair\": \"BTC_USD\",\n            \"price\": \"54115\",\n            \"quantity\": \"0.001\",\n            \"stop_price\": \"0\",\n            \"trade_id\": \"0\",\n            \"trade_price\": \"0\",\n            \"trade_quantity\": \"0\",\n            \"trade_type\": \"\"\n        },\n        {\n            \"distance\": \"0\",\n            \"event_id\": \"692842802842270937\",\n            \"event_time\": \"1619064521757474253\",\n            \"event_type\": \"TradeCreated\",\n            \"order_id\": \"1234\",\n            \"order_status\": \"executing\",\n            \"order_type\": \"limit_buy\",\n            \"pair\": \"BTC_USD\",\n            \"price\": \"53925\",\n            \"quantity\": \"0.02440529\",\n            \"stop_price\": \"0\",\n            \"trade_id\": \"421\",\n            \"trade_price\": \"53925\",\n            \"trade_quantity\": \"0.02440529\",\n            \"trade_type\": \"buy\"\n        }\n    ]\n}"}],"_postman_id":"1d2524dd-ae6d-403a-a067-77b50d13fbe5"},{"name":"order_trades","id":"00810661-9119-46c5-aec5-55abe9cb42c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123","description":"<p>id of the order</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/trades","description":"<p>List of trades filtered by given order id</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"88810db1-a97f-4b66-9d3c-2fc0437df9f0","name":"order_trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123","description":"id of the order","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/trades"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"trades\": [\n        {\n            \"is_maker\": false,\n            \"order_id\": \"123\",\n            \"pair\": \"BTC_USD\",\n            \"price\": \"54122.25\",\n            \"quantity\": \"0.00069994\",\n            \"trade_dt\": \"1619069561718824428\",\n            \"trade_id\": \"692842802860135010\",\n            \"type\": \"sell\"\n        }\n    ]\n}"}],"_postman_id":"00810661-9119-46c5-aec5-55abe9cb42c7"},{"name":"order_max_quantity","id":"b55b6fc4-e313-4fd9-95a9-400a60630771","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"leverage","value":"2","description":"<p>leverage for the order</p>\n","type":"text"},{"key":"type","value":"limit_sell","description":"<p>type of order, can have the following values:</p>\n<ul>\n<li>limit_buy - limit buy-order</li>\n<li>limit_sell - limit sell-order</li>\n<li>market_buy - market buy-order</li>\n<li>market_sell - market sell-order</li>\n<li>stop_buy - stop market buy-order</li>\n<li>stop_sell - stop market sell-order</li>\n<li>stop_limit_buy - stop-limit buy-order</li>\n<li>stop_limit_sell - stop-limit sell-order</li>\n<li>trailing_stop_buy - trailng stop buy-order</li>\n<li>trailing_stop_sell - trailng stop sell-order</li>\n</ul>\n","type":"text"},{"key":"price","value":"55000","description":"<p>price for the order</p>\n","type":"text"},{"key":"distance","value":"0","description":"<p>distance for trailing stop orders</p>\n","type":"text"},{"key":"stop_price","value":"0","description":"<p>stop price for stop-market and stop-limit orders</p>\n","type":"text"},{"key":"order_id","value":"123","description":"<p>id of the order (optional parameter)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/max_quantity","description":"<p>Calculate maximum quantity for order that can be placed with provided order parameters</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","order","max_quantity"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"710d77bb-5177-49a1-a93b-af69a2206e72","name":"user/order/max_quantity","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","type":"text"},{"key":"leverage","value":"2","type":"text"},{"key":"type","value":"limit_sell","type":"text"},{"key":"price","value":"55000","type":"text"},{"key":"distance","value":"0","type":"text"},{"key":"stop_price","value":"0","type":"text"},{"key":"order_id","value":"123","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/order/max_quantity"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Wed,15Jul202017:38:40GMT"},{"key":"Content-Length","value":"26"}],"cookie":[],"responseTime":null,"body":"{\n  \"max_quantity\":\"0.01\"\n}"}],"_postman_id":"b55b6fc4-e313-4fd9-95a9-400a60630771"},{"name":"position_list","id":"772f0a3c-c6e5-40ed-bdca-c2e7e25b1bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/user/position/list","description":"<p>List of positions</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"05481d48-2f0d-4e92-9ad5-79d32995f72c","name":"user/position/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1.1/margin/user/position/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:50:02GMT"},{"key":"Content-Length","value":"633"}],"cookie":[],"responseTime":null,"body":"{\n  \"positions\": [\n    {\n      \"base_price\": \"53925\",\n      \"break_even_price\": \"53954.67358672\",\n      \"created\": \"1619064518617225942\",\n      \"funding_currency\": \"USD\",\n      \"funding_next_pay_dt\": \"1619139600\",\n      \"funding_next_pay_quantity\": \"0.20335117\",\n      \"funding_quantity\": \"4067.0235\",\n      \"funding_rate\": \"0.05\",\n      \"is_margin_call\": false,\n      \"leverage\": \"3\",\n      \"liquidation_price\": \"41365.87918952\",\n      \"margin\": \"1355.47114883\",\n      \"margin_call_price\": \"44063.47798892\",\n      \"margin_currency\": \"USD\",\n      \"margin_level\": \"33.82\",\n      \"need_liquidate\": false,\n      \"pair\": \"BTC_USD\",\n      \"pnl_currency\": \"USD\",\n      \"position_id\": \"123\",\n      \"quantity\": \"0.07542\",\n      \"realized_pnl\": \"-0.20335117\",\n      \"roe\": \"1.45\",\n      \"type\": \"long\",\n      \"unrealized_pnl\": \"22.00590054\"\n    }\n  ]\n}"}],"_postman_id":"772f0a3c-c6e5-40ed-bdca-c2e7e25b1bdd"},{"name":"margin_remove_info","id":"98097fec-fb0d-4856-803f-4fa451381b72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"<p>id of the position</p>\n","type":"text"},{"key":"quantity","value":"5.5","description":"<p>quantity to remove from the positon</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_remove_info","description":"<p>Calculate liquidation_price for the position in case of decreasing margin on a given quantity. If provided quantity is 0 or parameter is absent, all possible margin for removal will be considered</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","margin_remove_info"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"a359a152-b88d-4756-b11c-de0ccd735cf2","name":"margin_remove_info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"692835322353274916","type":"text"},{"key":"quantity","value":"1000","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_remove_info"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"info\": {\n        \"liquidation_price\": \"41299.01951834\",\n        \"max_quantity\": \"9.77255396\"\n    }\n}"}],"_postman_id":"98097fec-fb0d-4856-803f-4fa451381b72"},{"name":"margin_add_info","id":"9a592b71-09b5-4db4-87d3-3824eb9d4f4a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","description":"<p>id of the position</p>\n","type":"text"},{"key":"quantity","value":"5.5","description":"<p>quantity of margin to add to the position</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_add_info","description":"<p>Calculate liquidation_price for the position in case of increasing margin on given quantity. If provided quantity is 0 or parameter is absent, all free margin will be considered</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","position","margin_add_info"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"dcbc206e-db48-49ad-93f6-60c24fb416c0","name":"margin_add_info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"position_id","value":"123","type":"text"},{"key":"quantity","value":"5.5","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/position/margin_add_info"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"info\": {\n    \"liquidation_price\": \"41352.79539849\",\n    \"max_quantity\": \"18.20173714\"\n  }\n}"}],"_postman_id":"9a592b71-09b5-4db4-87d3-3824eb9d4f4a"},{"name":"wallet_list","id":"59c5160f-27a1-4d9a-8cfb-7979c7ffaac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/user/wallet/list","description":"<p>List of user's wallets</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","wallet","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"6700f12a-b2a6-4da1-9417-92d89c2eafef","name":"user/wallet/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"url":"https://api.exmo.com/v1.1/margin/user/wallet/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:50:34GMT"},{"key":"Content-Length","value":"151"}],"cookie":[],"responseTime":null,"body":"{\n  \"wallets\": {\n    \"USD\": {\n      \"balance\": \"1000\",\n      \"free\": \"600\",\n      \"used\": \"400\"\n    }\n  }\n}\n"}],"_postman_id":"59c5160f-27a1-4d9a-8cfb-7979c7ffaac6"},{"name":"wallet_history","id":"d07c782c-4375-42c1-a645-c889e2a91cd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","description":"<p>last wallet history entry offset (required)</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned wallet history entries (required, maximum: 100)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/wallet/history","description":"<p>User wallet operation log</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","wallet","history"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"b2d3ca85-647c-4c77-8d9d-40d2963049fa","name":"user/wallet/history","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","type":"text"},{"key":"limit","value":"100","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/wallet/history"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:50:19GMT"},{"key":"Content-Length","value":"756"}],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"currency\": \"USD\",\n      \"event_id\": \"692842802679610807\",\n      \"event_time\": \"1619019520904442331\",\n      \"event_type\": \"PNL\",\n      \"operation_type\": \"increase\",\n      \"order_id\": \"0\",\n      \"pair\": \"BTC_USD\",\n      \"position_id\": \"4321\",\n      \"price\": \"0\",\n      \"quantity\": \"39.3\",\n      \"rate\": \"0\",\n      \"trade_id\": \"0\"\n    },\n    {\n      \"currency\": \"USD\",\n      \"event_id\": \"692842802679610805\",\n      \"event_time\": \"1619019520904399297\",\n      \"event_type\": \"TradeFeeTaken\",\n      \"operation_type\": \"decrease\",\n      \"order_id\": \"123\",\n      \"pair\": \"BTC_USD\",\n      \"position_id\": \"321\",\n      \"price\": \"55962.89\",\n      \"quantity\": \"1.06884335\",\n      \"rate\": \"0.05\",\n      \"trade_id\": \"111\"\n    }\n  ]\n}"}],"_postman_id":"d07c782c-4375-42c1-a645-c889e2a91cd6"},{"name":"user_trade_list","id":"6c748f12-bd49-4680-b4f8-7c74fe5d1def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","description":"<p>last deal offset (required)</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned deals (required, maximum: 100)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/trade/list","description":"<p>Getting the list of user’s deals</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","user","trade","list"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"4766f06b-6329-4430-8fa3-29d256086da6","name":"user/trade/list","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","type":"text"},{"key":"limit","value":"100","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/user/trade/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Tue,20Oct202009:50:49GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"trades\": [\n    {\n      \"is_maker\": false,\n      \"order_id\": \"123\",\n      \"pair\": \"BTC_USD\",\n      \"price\": \"55962.89\",\n      \"quantity\": \"0.03\",\n      \"trade_dt\": \"1\",\n      \"trade_id\": \"12\",\n      \"type\": \"sell\"\n    },\n    {\n      \"is_maker\": true,\n      \"order_id\": \"124\",\n      \"pair\": \"BTC_USD\",\n      \"price\": \"54932.04\",\n      \"quantity\": \"0.06\",\n      \"trade_dt\": \"1\",\n      \"trade_id\": \"11\",\n      \"type\": \"buy\"\n    }\n}"}],"_postman_id":"6c748f12-bd49-4680-b4f8-7c74fe5d1def"},{"name":"trades","id":"f4b1aaf8-399f-403b-ab5e-4926d967a106","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair_name","value":"BTC_USD","description":"<p>one or multiple currency pairs separated by commas</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last deal offset (required)</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned deals (required, maximum: 100)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/trades","description":"<p> The list of trades grouped by pair</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"b7395867-41f7-4aa3-a0e1-1bced57cff1f","name":"trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair_name","value":"BTC_USD","type":"text"},{"key":"offset","value":"0","type":"text"},{"key":"limit","value":"100","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Wed,30Dec202008:00:58GMT"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n  \"trades\": {\n    \"BTC_USD\": [\n      {\n        \"trade_id\": \"5\",\n        \"trade_dt\": \"1234\",\n        \"trade_type\": \"buy\",\n        \"pair\": \"BTC_USD\",\n        \"quantity\": \"1\",\n        \"price\": \"50000\",\n        \"amount\": \"50000\"\n      }\n   ]\n}"}],"_postman_id":"f4b1aaf8-399f-403b-ab5e-4926d967a106"},{"name":"liquidation_feed","id":"7225930c-5bb7-493c-a446-2c3c748d5e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","description":"<p>last liquidation offset (required)</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned liquidations (required, maximum: 100)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/liquidation/feed","description":"<p>List of recent liquidations</p>\n","urlObject":{"protocol":"https","path":["v1.1","margin","liquidation","feed"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"b3245983-3f1f-480e-924a-b03611bf04ec","name":"liquidation/feed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"offset","value":"0","type":"text"},{"key":"limit","value":"100","type":"text"}]},"url":"https://api.exmo.com/v1.1/margin/liquidation/feed"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=utf-8"},{"key":"Date","value":"Mon,20Jul202009:15:45GMT"},{"key":"Content-Length","value":"199"}],"cookie":[],"responseTime":null,"body":"{\n  \"feed\": [\n    {\n      \"base_price\": \"0.56\",\n      \"dt\": \"1234\",\n      \"leverage\": \"3\",\n      \"liquidation_price\": \"0.7\",\n      \"pair\": \"XRP_USD\",\n      \"position_id\": \"123\",\n      \"position_type\": \"short\",\n      \"quantity\": \"1000\"\n    }\n}"}],"_postman_id":"7225930c-5bb7-493c-a446-2c3c748d5e7f"}],"id":"7fc0618d-35a3-4193-a4cf-c928818cd6f6","description":"<p>Margin API call the same as Authenticated API.</p>\n","event":[{"listen":"prerequest","script":{"id":"f1340fb0-2498-4046-bde3-fb00e0460a48","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a5a841e9-22d1-45a0-b187-d2d73be20e34","type":"text/javascript","exec":[""]}}],"_postman_id":"7fc0618d-35a3-4193-a4cf-c928818cd6f6"}],"id":"259491b7-fc26-41dc-bc97-328468549cb9","event":[{"listen":"prerequest","script":{"id":"abec7df9-9dcb-4329-a264-a30a1a5cd6b9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef09d6d4-e091-4d29-b502-e519d98a85e8","type":"text/javascript","exec":[""]}}],"_postman_id":"259491b7-fc26-41dc-bc97-328468549cb9","description":""},{"name":"v1","item":[{"name":"Public API","item":[{"name":"trades","id":"f80a5e86-a78f-4f4f-9482-9203fdb8ae50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/trades","description":"<p>List of the deals on currency pairs</p>\n","urlObject":{"protocol":"https","path":["v1","trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"4d974a95-e1f1-4dfd-b043-9be1a809c7d0","name":"trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"}]},"url":"https://api.exmo.com/v1/trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": [\n    {\n      \"trade_id\": 3,\n      \"type\": \"sell\",\n      \"price\": \"100\",\n      \"quantity\": \"1\",\n      \"amount\": \"100\",\n      \"date\": 1435488248\n    }\n  ]\n}"}],"_postman_id":"f80a5e86-a78f-4f4f-9482-9203fdb8ae50"},{"name":"order_book","id":"ba44dd7c-7092-4313-bd97-d1b2c432e712","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of displayed positions (default: 100, max: 1000)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/order_book","description":"<p>The book of current orders on the currency pair</p>\n","urlObject":{"protocol":"https","path":["v1","order_book"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"28797f30-1fea-492b-8ee3-60d560a08139","name":"order_book","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"},{"key":"limit","value":"100","description":"the number of displayed positions (default: 100, max: 1000)","type":"text"}]},"url":"https://api.exmo.com/v1/order_book"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": {\n    \"ask_quantity\": \"3\",\n    \"ask_amount\": \"500\",\n    \"ask_top\": \"100\",\n    \"bid_quantity\": \"1\",\n    \"bid_amount\": \"99\",\n    \"bid_top\": \"99\",\n    \"ask\": [[100,1,100],[200,2,400]],\n    \"bid\": [[99,1,99]]\n  }\n}"}],"_postman_id":"ba44dd7c-7092-4313-bd97-d1b2c432e712"},{"name":"ticker","id":"c8fc4950-29d7-4113-8360-4c5a9b52ad3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/ticker","description":"<p>Statistics on prices and volume of trades by currency pairs</p>\n","urlObject":{"protocol":"https","path":["v1","ticker"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"bd688e78-c1a8-4621-9b94-faaa6f41b90f","name":"ticker","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/ticker"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": {\n    \"buy_price\": \"589.06\",\n    \"sell_price\": \"592\",\n    \"last_trade\": \"591.221\",\n    \"high\": \"602.082\",\n    \"low\": \"584.51011695\",\n    \"avg\": \"591.14698808\",\n    \"vol\": \"167.59763535\",\n    \"vol_curr\": \"99095.17162071\",\n    \"updated\": 1470250973\n  }\n}"}],"_postman_id":"c8fc4950-29d7-4113-8360-4c5a9b52ad3a"},{"name":"pair_settings","id":"df3380d2-b87b-4e8c-b0dd-b52554e7b99d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/pair_settings","description":"<p>Currency pairs settings</p>\n<p>Notice:</p>\n<p>Parameters <code>min_amount</code> and <code>max_amount</code> are not used for limit orders, but only for market orders when buying or selling \"For the Amount of\", and indicates limits in the second currency of the pair.</p>\n","urlObject":{"protocol":"https","path":["v1","pair_settings"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"8d22cdbd-6d36-4ec4-bb1e-5fe17833318c","name":"pair_settings","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/pair_settings"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{ \n  \"BTC_USD\":{ \n    \"min_quantity\":\"0.001\",\n    \"max_quantity\":\"100\",\n    \"min_price\":\"1\",\n    \"max_price\":\"10000\",\n    \"max_amount\":\"30000\",\n    \"min_amount\":\"1\"\n  },\n  \"EXM_BTC\":{ \n    \"min_quantity\":\"0.01\",\n    \"max_quantity\":\"1000\",\n    \"min_price\":\"0.00001\",\n    \"max_price\":\"1\",\n    \"max_amount\":\"10\",\n    \"min_amount\":\"0.0001\"\n  }\n}"}],"_postman_id":"df3380d2-b87b-4e8c-b0dd-b52554e7b99d"},{"name":"currency","id":"33a65c1d-60c5-416d-875a-8a3da5aa43a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/currency","description":"<p>Currencies list</p>\n","urlObject":{"protocol":"https","path":["v1","currency"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"c2778ad3-6ca7-41e5-b6c5-3f5b45311f53","name":"currency","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/currency"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\"USD\",\"EUR\",\"BTC\",\"DOGE\",\"LTC\"]"}],"_postman_id":"33a65c1d-60c5-416d-875a-8a3da5aa43a6"},{"name":"required_amount","id":"6b0a83fc-cccf-4e42-b533-479b2a6c5e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"quantity","value":"11","description":"<p>quantity to buy</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/required_amount","description":"<p>Calculating the sum of buying a certain amount of currency for the particular currency pair</p>\n","urlObject":{"protocol":"https","path":["v1","required_amount"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"1ad45f68-dac6-4d28-876e-f2ff86461201","name":"required_amount","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"quantity","value":"11","description":"quantity to buy","type":"text"}]},"url":"https://api.exmo.com/v1/required_amount"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"quantity\": 3,\n  \"amount\": 5,\n  \"avg_price\": 3.66666666\n}"}],"_postman_id":"6b0a83fc-cccf-4e42-b533-479b2a6c5e5b"},{"name":"candles_history","id":"50371241-16a4-49a4-9816-0f54add38640","protocolProfileBehavior":{"disabledSystemHeaders":{"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true},"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.exmo.com/v1/candles_history?symbol=BTC_USD&resolution=30&from=1585556979&to=1585557979","description":"<p>Get candles history</p>\n","urlObject":{"protocol":"https","path":["v1","candles_history"],"host":["api","exmo","com"],"query":[{"description":{"content":"<p>currency pair</p>\n","type":"text/plain"},"key":"symbol","value":"BTC_USD"},{"description":{"content":"<p>discreteness of candles, possible values: 1, 5, 15, 30, 45, 60, 120, 180, 240, D, W, M</p>\n","type":"text/plain"},"key":"resolution","value":"30"},{"description":{"content":"<p>beginning of period</p>\n","type":"text/plain"},"key":"from","value":"1585556979"},{"description":{"content":"<p>end of period</p>\n","type":"text/plain"},"key":"to","value":"1585557979"}],"variable":[]}},"response":[{"id":"f8ce3340-f5f4-4acb-804c-9faa6e494aa2","name":"candles_history","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.exmo.com/v1/candles_history?symbol=BTC_USD&resolution=30&from=1585556979&to=1585557979","protocol":"https","host":["api","exmo","com"],"path":["v1","candles_history"],"query":[{"key":"symbol","value":"BTC_USD","description":"currency pair"},{"key":"resolution","value":"30","description":"discreteness of candles, possible values: 1, 5, 15, 30, 45, 60, 120, 180, 240, D, W, M"},{"key":"from","value":"1585556979","description":"beginning of period"},{"key":"to","value":"1585557979","description":"end of period"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"server","value":"api-gateway/0.1.18"},{"key":"date","value":"Mon, 30 Mar 2020 09:41:36 GMT"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"content-length","value":"114"},{"key":"access-control-allow-methods","value":"POST, GET, OPTIONS, PUT, DELETE"},{"key":"access-control-allow-headers","value":"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Key, Sign"},{"key":"access-control-allow-credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"candles\": [\n        {\n            \"t\": 1585557000000,\n            \"o\": 6590.6164,\n            \"c\": 6602.3624,\n            \"h\": 6618.78965693,\n            \"l\": 6579.054,\n            \"v\": 6.932754980000013\n        }\n    ]\n}"}],"_postman_id":"50371241-16a4-49a4-9816-0f54add38640"}],"id":"493aa9e7-caf7-4331-aa23-b380f7f8959e","description":"<p>This API does not require authorization and can be accessed using the GET or POST methods.</p>\n<p>General URL with API access looks like this: <code>https://api.exmo.com/v1/{api_name}?{api_params}</code> where <code>api_name</code> is the name of API you are accessing and <code>api_params</code> are the incoming request parameters (if necessary)</p>\n","event":[{"listen":"prerequest","script":{"id":"ce3cee67-1508-4995-836b-04b665684d00","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"47a32f68-641d-41b1-a148-a4c0ff85a8d8","type":"text/javascript","exec":[""]}}],"_postman_id":"493aa9e7-caf7-4331-aa23-b380f7f8959e"},{"name":"Authenticated API","item":[{"name":"user_info","id":"642405d6-d352-4378-b43e-6b0ba6c31ea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/user_info","description":"<p>Getting information about user's account</p>\n","urlObject":{"protocol":"https","path":["v1","user_info"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"4ed75692-50d6-47be-975d-659398aa0474","name":"user_info","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/user_info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"uid\": 10542,\n  \"server_date\": 1435518576,\n  \"balances\": {\n    \"BTC\": \"970.994\",\n    \"USD\": \"949.47\"\n  },\n  \"reserved\": {\n    \"BTC\": \"3\",\n    \"USD\": \"0.5\"\n  }\n}"}],"_postman_id":"642405d6-d352-4378-b43e-6b0ba6c31ea4"},{"name":"order_create","id":"feba57d9-5bc3-4876-aa22-fe290508a615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"<p>currency pair</p>\n","type":"text"},{"key":"quantity","value":"1.56789","description":"<p>quantity for the order</p>\n","type":"text"},{"key":"price","value":"10000.56789","description":"<p>price for the order</p>\n","type":"text"},{"key":"type","value":"buy","description":"<p>type of order, can have the following values:</p>\n<ul>\n<li>buy - buy order</li>\n<li>sell - sell order</li>\n<li>market_buy - market buy-order</li>\n<li>market_sell - market sell-order</li>\n<li>market_buy_total - market buy-order for a certain amount</li>\n<li>market_sell_total - market sell-order for a certain amount</li>\n</ul>\n","type":"text"},{"key":"exec_type","value":"","description":"<p>exec option for limit orders (optional parameter), can have the following values:</p>\n<ul>\n<li>post_only - order will only be placed if no part of it is filled while being placed</li>\n<li>fok - order will only be placed if whole order immediately fill while being placed</li>\n<li>ioc - while order is being placed, the exchange attempts to execute all or part immediately and then cancels any unfilled portion of the order</li>\n</ul>\n","type":"text"},{"key":"client_id","value":"100500","description":"<p>client id for the order (optional parameter, must be a positive integer)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/order_create","description":"<p>Order creation</p>\n<p><strong>Examples of order creation using PHP:</strong></p>\n<p>Creation of an order to buy 3 BTC for 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;100,\n    \"type\"=&gt;\"buy\"\n));\n</code></pre><p>Creation of an order to sell 3 BTC at 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;100,\n    \"type\"=&gt;\"sell\"\n));\n</code></pre><p>Creation of a market order to buy 3 BTC</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_buy\"\n));\n</code></pre><p>Creation of a market order to sell 3 BTC</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;3,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_sell\"\n));\n</code></pre><p>Creation of a market order to buy BTC for the amount of 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;100,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_buy_total\"\n));\n</code></pre><p>Creation of a market order to sell BTC for the amount of 100 USD</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_query(\"order_create\", Array(\n    \"pair\"=&gt;\"BTC_USD\",\n    \"quantity\"=&gt;100,\n    \"price\"=&gt;0,\n    \"type\"=&gt;\"market_sell_total\"\n));\n</code></pre>","urlObject":{"protocol":"https","path":["v1","order_create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"b7683dc7-96dc-4f3f-9ffb-e8d786ecffa0","name":"order_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"currency pair","type":"text"},{"key":"quantity","value":"1.56789","description":"quantity for the order","type":"text"},{"key":"price","value":"10000.56789","description":"price for the order","type":"text"},{"key":"type","value":"buy","description":"type of order, can have the following values:\n+ buy - buy order\n+ sell - sell order\n+ market_buy - market buy-order\n+ market_sell - market sell-order\n+ market_buy_total - market buy-order for a certain amount\n+ market_sell_total - market sell-order for a certain amount","type":"text"},{"key":"client_id","value":"100500","description":"client id for the order (optional parameter, must be a positive integer)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/order_create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"order_id\": 123456,\n  \"client_id\": 100500\n}"}],"_postman_id":"feba57d9-5bc3-4876-aa22-fe290508a615"},{"name":"order_cancel","id":"8a6c701d-a6c9-428b-b210-e94212e2597a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123456","description":"<p>order identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/order_cancel","description":"<p>Order cancellation</p>\n","urlObject":{"protocol":"https","path":["v1","order_cancel"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"edc7c353-bf38-4113-be02-7317daa196b7","name":"order_cancel","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"123456","description":"order identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/order_cancel"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\"\n}"}],"_postman_id":"8a6c701d-a6c9-428b-b210-e94212e2597a"},{"name":"user_open_orders","id":"0d8ac7cf-ce9c-4176-8353-a1fade841949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/user_open_orders","description":"<p>Getting the list of user’s active orders</p>\n","urlObject":{"protocol":"https","path":["v1","user_open_orders"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"fbf128a0-a0ea-4ee4-b201-d488a61141a1","name":"user_open_orders","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/user_open_orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": [\n    {\n      \"order_id\": \"14\",\n      \"client_id\": \"100500\",\n      \"created\": \"1435517311\",\n      \"type\": \"buy\",\n      \"pair\": \"BTC_USD\",\n      \"price\": \"100\",\n      \"quantity\": \"1\",\n      \"amount\": \"100\"\n    }\n  ]\n}"}],"_postman_id":"0d8ac7cf-ce9c-4176-8353-a1fade841949"},{"name":"user_trades","id":"a3895b2e-68fd-4252-b456-61d3fd6ae4b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD,BTC_EUR","description":"<p>one or various currency pairs separated by commas</p>\n","type":"text"},{"key":"limit","value":"100","description":"<p>the number of returned deals (default: 100, maximum: 10 000)</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last deal offset (default: 0)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/user_trades","description":"<p>Getting the list of user’s deals</p>\n","urlObject":{"protocol":"https","path":["v1","user_trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"fe811b7f-c087-4231-9c47-6b5ae23c6401","name":"user_trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"pair","value":"BTC_USD","description":"one or various currency pairs separated by commas","type":"text"},{"key":"limit","value":"100","description":"the number of returned deals (default: 100, мmaximum: 10 000)","type":"text"},{"key":"offset","value":"0","description":"last deal offset (default: 0)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/user_trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC_USD\": [\n    {\n      \"trade_id\": 3,\n      \"client_id\": 100500,\n      \"date\": 1435488248,\n      \"type\": \"buy\",\n      \"pair\": \"BTC_USD\",\n      \"order_id\": 7,\n      \"quantity\": 1,\n      \"price\": 100,\n      \"amount\": 100\n    }\n  ]\n}"}],"_postman_id":"a3895b2e-68fd-4252-b456-61d3fd6ae4b1"},{"name":"user_cancelled_orders","id":"aa0627c3-4b1c-4681-8f1e-7fe40d0ab47d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"limit","value":"100","description":"<p>the number of returned deals (default: 100, maximum: 10 000)</p>\n","type":"text"},{"key":"offset","value":"0","description":"<p>last deal offset (default: 0)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/user_cancelled_orders","description":"<p>Getting the list of user’s cancelled orders</p>\n","urlObject":{"protocol":"https","path":["v1","user_cancelled_orders"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"86050166-e5e4-47cc-92c1-b45888be0dc6","name":"user_cancelled_orders","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"limit","value":"100","description":"the number of returned deals (default: 100, мmaximum: 10 000)","type":"text"},{"key":"offset","value":"0","description":"last deal offset (default: 0)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/user_cancelled_orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"date\": 1435519742,\n    \"order_id\": 15,\n    \"client_id\": 100500,\n    \"order_type\": \"sell\",\n    \"pair\": \"BTC_USD\",\n    \"price\": 100,\n    \"quantity\": 3,\n    \"amount\": 300\n  }\n]"}],"_postman_id":"aa0627c3-4b1c-4681-8f1e-7fe40d0ab47d"},{"name":"order_trades","id":"c104aebf-4719-4c79-bc36-68045614b2bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"12345","description":"<p>order identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/order_trades","description":"<p>Getting the history of deals with the order</p>\n","urlObject":{"protocol":"https","path":["v1","order_trades"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"5a1d7085-b8cd-4884-94e8-7e4b8b0080d9","name":"order_trades","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"order_id","value":"12345","description":"order identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/order_trades"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"type\": \"buy\",\n  \"in_currency\": \"BTC\",\n  \"in_amount\": \"1\",\n  \"out_currency\": \"USD\",\n  \"out_amount\": \"100\",\n  \"trades\": [\n    {\n      \"trade_id\": 3,\n      \"client_id\": 100500,\n      \"date\": 1435488248,\n      \"type\": \"buy\",\n      \"pair\": \"BTC_USD\",\n      \"order_id\": 12345,\n      \"quantity\": 1,\n      \"price\": 100,\n      \"amount\": 100\n    }\n  ]\n}"}],"_postman_id":"c104aebf-4719-4c79-bc36-68045614b2bc"}],"id":"e5d9a3c5-175d-438e-a715-b7f0a7ac1d12","description":"<p>To access this API it is necessary to use the POST method.</p>\n<p><strong>URL</strong> — should be used the following address: <code>https://api.exmo.com/v1/{api_name}</code> where <code>api_name</code> is the name of API method</p>\n<p>Authorization is realized by sending the following headers to the server:</p>\n<p><strong>Key</strong> — Public key that can be found in user’s profile settings\n(example: K-7cc97c89aed2a2fd9ed7792d48d63f65800c447b)</p>\n<p><strong>Sign</strong> — POST data (param=val&amp;param1=val1) encrypted with method HMAC-SHA512 using secret key; the secret key also can be found in user’s profile settings</p>\n<p>There’s a possibility to associate several keys with one account for API access.</p>\n<p>All the requests should also include the obligatory POST parameter <code>nonce</code> with incremental numerical value (&gt;0). The incremental numerical value should never reiterate or decrease.</p>\n<p>To access API you can use the already existing code in the following languages:</p>\n<ul>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/php\">PHP</a> or <code>composer require exmo/api</code></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/js\">Javascript</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/nodejs\">Nodejs</a> or <code>npm install exmo-api</code></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/c#\">C#</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/%D1%81++\">C++</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/python\">Python</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/objectivec\">Objective C</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/swift\">Swift</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/java\">Java</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/ruby\">Ruby</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/golang\">Golang</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/rest/r\">R</a></li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"b2138135-2d1a-4cd2-abf1-84dffd517042","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bac83089-91bd-418e-968c-5b69a2427f90","type":"text/javascript","exec":[""]}}],"_postman_id":"e5d9a3c5-175d-438e-a715-b7f0a7ac1d12"},{"name":"Excode API","item":[{"name":"excode_create","id":"62252878-830d-4ae7-b905-8dfd41704a4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"currency","value":"BTC","description":"<p>name of coupon currency</p>\n","type":"text"},{"key":"amount","value":"10","description":"<p>amount in the coupon</p>\n","type":"text"},{"key":"login","value":"test_user","description":"<p>login of user, who can upload EXCODE coupon (<strong>not necessary param, if it present - coupon can upload only this user or their creator</strong>)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/excode_create","description":"<p>EXCODE coupon creation</p>\n","urlObject":{"protocol":"https","path":["v1","excode_create"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"74c79ce4-bd06-45dc-8461-52bc28648fe4","name":"excode_create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"currency","value":"BTC","description":"name of coupon currency","type":"text"},{"key":"amount","value":"10","description":"amount in the coupon","type":"text"},{"key":"login","value":"test_user","description":"login of user, who can upload EXCODE coupon (**not necessary param, if it present - coupon can upload only this user or their creator**)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/excode_create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467757\",\n  \"code\": \"EX-CODE_9004_BTC7c3f8adc0b158658....\",\n  \"amount\": \"10\",\n  \"currency\": \"BTC\",\n  \"login\": \"test_user\",\n  \"commission\": \"0.01\",\n  \"balances\": {\n    \"BTC\": 940.994,\n    \"USD\": 949.472\n  }\n}"}],"_postman_id":"62252878-830d-4ae7-b905-8dfd41704a4f"},{"name":"excode_load","id":"3aa1fe88-9e93-4dc4-9268-cc6a4eb501ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"<p>code of the EXCODE coupon</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/excode_load","description":"<p>EXCODE coupon uploading</p>\n","urlObject":{"protocol":"https","path":["v1","excode_load"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"296a9852-4a5c-413d-9488-6ad1b8a060be","name":"excode_load","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"EX-CODE_9004_BTC7c3f8adc0b158658....","description":"code of the EXCODE coupon","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/excode_load"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467757\",\n  \"amount\": \"10\",\n  \"currency\": \"BTC\",\n  \"reviewing\": true\n}"}],"_postman_id":"3aa1fe88-9e93-4dc4-9268-cc6a4eb501ce"}],"id":"65413554-4180-40b3-9036-ceabd873a103","description":"<p>Using EXCODE API you can create and upload EXCODE coupons. <strong>The access is given only after a request to the Technical Support.</strong></p>\n","_postman_id":"65413554-4180-40b3-9036-ceabd873a103"},{"name":"Wallet API","item":[{"name":"deposit_address","id":"75b4155c-3aac-463d-b925-8383adb3f194","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://api.exmo.com/v1/deposit_address","description":"<p>Getting the list of addresses for cryptocurrency deposit</p>\n","urlObject":{"protocol":"https","path":["v1","deposit_address"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"03a74c6f-df1f-4aef-acb4-df58a4ddf859","name":"deposit_address","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/deposit_address"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"BTC\": \"16UM5DoeHkV7Eb7tMfXSuQ2ueir1yj4P7d\",\n  \"DOGE\": \"DEVfhgKErG5Nzas2FZJJH8Y8pjoLfVfWq4\",\n  \"LTC\": \"LSJFhsVJM6GCFtSgRj5hHuK9gReLhNuKFb\",\n  \"XRP\": \"rB2yjyFCoJaV8QCbj1UJzMnUnQJMrkhv3S,1234\"\n}"}],"_postman_id":"75b4155c-3aac-463d-b925-8383adb3f194"},{"name":"withdraw_crypt","id":"c9b83af6-ebba-4122-b296-d4b4d9aa413e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"10","description":"<p>Amount of currency to be withdrawn (required)</p>\n","type":"text"},{"key":"currency","value":"BTC","description":"<p>Name of the currency to be withdrawn (required)</p>\n","type":"text"},{"key":"address","value":"16UM5DoeHkV7Eb7tMfXSu...","description":"<p>Withdrawal address (required)</p>\n","type":"text"},{"key":"invoice","value":"1234","description":"<p>Additional identifier (optional)</p>\n","type":"text"},{"key":"transport","value":"","description":"<p>The network in which the withdrawal will be made. If you do not specify, then the default network will be selected.\nExplanation: some currencies exist in several blockchains, and you can specify in which blockchain you want to withdraw tokens.\n (optional)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/withdraw_crypt","description":"<p>Creation of the task for cryptocurrency withdrawal.</p>\n<hr />\n<p>Description of the <strong>invoice</strong> parameter for currencies in which it is used:</p>\n<p><br /><br /></p><p><br /><br /><br /></p><table><tbody><tr><th>Currency</th><th>Parameter invoice</th><th>Description</th></tr><tr><td>XRP</td><td>Required</td><td>DESTINATION_TAG value</td></tr><tr><td>XEM</td><td>Optional</td><td>MESSAGE value</td></tr><tr><td>XLM</td><td>Required</td><td>MEMO value</td></tr><tr><td>EOS, PTI, ZAG</td><td>Optional</td><td>MEMO value</td></tr></tbody></table>\n\n<p>Description of the <strong>transport</strong> parameter for currencies in which it is used:</p>\n<p><br /><br /><br /></p><table><tbody><tr><th>Currency</th><th>Parameter transport</th><th>Available values</th><th>Default value</th></tr><tr><td>USDT</td><td>Optional</td><td><br /><b>ERC20</b> for withdrawal on the Ethereum network<br /><br /><b>TRC20</b> for withdrawal on the Tron network<br /><br /></td><td>not indicated for withdrawal on the Bitcoin network</td></tr></tbody></table>","urlObject":{"protocol":"https","path":["v1","withdraw_crypt"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"497b3ca6-3b74-46dc-b836-539e5bd39c7e","name":"withdraw_crypt","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"10","description":"Amount of currency to be withdrawn (required)","type":"text"},{"key":"currency","value":"BTC","description":"Name of the currency to be withdrawn (required)","type":"text"},{"key":"address","value":"16UM5DoeHkV7Eb7tMfXSu...","description":"Withdrawal address (required)","type":"text"},{"key":"invoice","value":"1234","description":"Additional identifier (optional)","type":"text"},{"key":"transport","value":"","description":"The network in which the withdrawal will be made. If you do not specify, then the default network will be selected.\nExplanation: some currencies exist in several blockchains, and you can specify in which blockchain you want to withdraw tokens.\n (optional)","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/withdraw_crypt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"task_id\": \"467756\"\n}"}],"_postman_id":"c9b83af6-ebba-4122-b296-d4b4d9aa413e"},{"name":"withdraw_get_txid","id":"5111a1b9-cecf-4d57-a340-9e4cb55e88da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"task_id","value":"467756","description":"<p>withdrawal task identifier</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/withdraw_get_txid","description":"<p>Getting the transaction ID in order to keep track of it on blockchain</p>\n","urlObject":{"protocol":"https","path":["v1","withdraw_get_txid"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"2186041b-bb1d-482e-b32a-034f27e09e80","name":"withdraw_get_txid","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Key","value":"<your_api_key>","type":"text"},{"key":"Sign","value":"<your_sign>","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"task_id","value":"467756","description":"withdrawal task identifier","type":"text"},{"key":"nonce","value":"1775272527","type":"text"}]},"url":"https://api.exmo.com/v1/withdraw_get_txid"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"status\": true,\n  \"txid\": \"ec46f784ad976fd7f7539089d1a129fe46...\"\n}"}],"_postman_id":"5111a1b9-cecf-4d57-a340-9e4cb55e88da"},{"name":"wallet_history","id":"5b8efb8b-580a-4998-938c-c241ddb9e3d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/x-www-form-urlencoded"},{"key":"Key","type":"text","value":"<your_api_key>"},{"key":"Sign","type":"text","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"date","value":"1493998000","description":"<p>timestamp of the day (if empty got current day)</p>\n","type":"text"}]},"url":"https://api.exmo.com/v1/wallet_history","description":"<p>Get history of wallet</p>\n","urlObject":{"protocol":"https","path":["v1","wallet_history"],"host":["api","exmo","com"],"query":[],"variable":[]}},"response":[{"id":"ba2577fb-36d1-4799-8344-f6e796fa11ac","name":"wallet_history","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Key","value":"<your_api_key>"},{"key":"Sign","value":"<your_sign>"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"date","value":"1493998000","description":"timestamp of the day (if empty got current day)","type":"text"},{"key":"nonce","value":"1716804389","type":"text"}]},"url":"https://api.exmo.com/v1/wallet_history"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"result\": true,\n  \"error\": \"\",\n  \"begin\": \"1493942400\",\n  \"end\": \"1494028800\",\n  \"history\": [{\n       \"dt\": 1461841192,\n       \"type\": \"deposit\",\n       \"curr\": \"EUR\",\n       \"status\": \"processing\",\n       \"provider\": \"Checkout\",\n       \"amount\": \"1\",\n       \"account\": \"\",\n       \"txid\": \"\"\n     },\n     {\n       \"dt\": 1463414785,\n       \"type\": \"withdrawal\",\n       \"curr\": \"USD\",\n       \"status\": \"paid\",\n       \"provider\": \"EXCODE\",\n       \"amount\": \"-1\",\n       \"account\": \"EX-CODE_19371_USDda...\",\n       \"txid\": \"\"\n     }\n  ]\n}"}],"_postman_id":"5b8efb8b-580a-4998-938c-c241ddb9e3d3"}],"id":"1885b0ef-5421-4a4c-ba2f-4ad1e614af18","description":"<p>Wallet API call the same as Authenticated API.</p>\n","event":[{"listen":"prerequest","script":{"id":"980df82f-836b-4961-8166-254e22ea0230","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"027d846f-4009-41b2-ae02-8b0d99e1c7da","type":"text/javascript","exec":[""]}}],"_postman_id":"1885b0ef-5421-4a4c-ba2f-4ad1e614af18"}],"id":"8ecf4702-3cb2-462b-9008-f41636da169f","_postman_id":"8ecf4702-3cb2-462b-9008-f41636da169f","description":""}],"id":"78c08852-d5e7-4354-96a3-3bad5184bbfa","description":"<p>EXMO offers its users four ways to access API.</p>\n<p><strong>Public API</strong></p>\n<p>Public API does not require authorization and can be accessed using the GET or POST methods.</p>\n<p><strong>Authenticated API</strong></p>\n<p>Authenticated API requires authorization and can be accessed using only the POST method.</p>\n<p><strong>Excode API</strong></p>\n<p>Excode API – private functions available only upon authorization. In order to access these functions, you need to contact the technical support.</p>\n<p><strong>Wallet API</strong></p>\n<p>Wallet API requires authorization and can be accessed using only the POST method.</p>\n<p><strong>API Rate Limits</strong></p>\n<p>The number of API requests is limited to 10 per/sec from one IP address or by a single user.</p>\n","event":[{"listen":"prerequest","script":{"id":"f820f852-83bd-4e63-ba37-f8110a2f5375","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"31eff43a-6ebd-42bd-a6b3-fb79742f781a","type":"text/javascript","exec":[""]}}],"_postman_id":"78c08852-d5e7-4354-96a3-3bad5184bbfa"},{"name":"Websocket","item":[{"name":"v1","item":[{"name":"General","item":[],"id":"1f377b72-f579-478e-bc99-8ab33494d0e9","description":"<p>EXMO WS API provides market and user's data in real-time.</p>\n<ul>\n<li>General endpoint is ws-api.exmo.com</li>\n<li>Each message received from API is JSON than contains <code>ts</code> field with current timestamp in UTC timezone in milliseconds and <code>event</code> field representing type of given message</li>\n<li>A single connection to a WS API server is valid for 24 hours</li>\n<li>WS API server sends a ping frame every 3 minutes. If server does not receive a pong frame back within a 10-minute period, the connection will be terminated by server side</li>\n<li>To access API you can use the already existing code in the following languages:<ul>\n<li><a href=\"https://github.com/exmo-dev/web-socket-api-php-client\">PHP</a> or <code>composer require exmo/web-socket-api</code></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/golang\">Golang</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/python2\">Python2</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/python3\">Python3</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/js\">Javascript</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/.net\">C#</a></li>\n<li><a href=\"https://github.com/exmo-dev/exmo_api_lib/tree/master/ws/java\">Java</a></li>\n</ul>\n</li>\n</ul>\n<h2 id=\"greetings-message\">greetings message</h2>\n<p>When websocket connection to server is established, server sends a greetings message with session id in session_id JSON field. In case of problems, please attach this id token to issue.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"info\",\n  \"code\": 1,\n  \"message\": \"connection established\",\n  \"session_id\": \"1c4548b5-379e-4399-bac0-0417c76cc74d\"\n}\n</code></pre><h2 id=\"subscribe\">subscribe</h2>\n<p>To start receiving data it is necessary to send a subscribe command message encoded as JSON to the server. id field is optional for any client's command.</p>\n<p>subscribe command format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"id\": 1, \n  \"method\": \"subscribe\",\n  \"topics\": [\n    \"spot/ticker:BTC_USD\",\n    \"spot/trades:EXM_BTC\",\n  ]\n}\n</code></pre><p>subscribe command response in case of success:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"id\": 1,\n  \"event\": \"subscribed\",\n  \"topic\": \"spot/ticker:BTC_USD\"\n}\n</code></pre><p>After this message received, all data associated with the topic will be sending into the connection.\nThe response in case of failure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"id\": 1,\n  \"event\": \"error\",\n  \"code\": 201030,\n  \"error\": \"HPY_BTC pair does not exists\"\n}\n</code></pre><h2 id=\"unsubscribe\">unsubscribe</h2>\n<p>To stop receiving data for certain topics it is necessary to send the unsubscribe command</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"id\": 1,\n  \"method\": \"unsubscribe\",\n  \"topics\": [\n    \"spot/ticker:BTC_USD\"\n  ]\n}\n</code></pre><p>in case of success</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"id\": 1,\n  \"event\": \"unsubscribed\",\n  \"topic\": \"spot/ticker:BTC_USD\"\n}\n</code></pre><p>unsubscribing topics without previous subscribing to them will be ignored</p>\n<h2 id=\"maintenance\">maintenance</h2>\n<p>Once maintenance on the exchange started, the server immediately terminates the session with this message in close frame:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"info\",\n  \"code\": 2,\n  \"message\": \"maintenance in progress\"\n}\n</code></pre><p>During maintenance period WS API won't be available. It is highly recommended to use exponential backoff logic in client while trying to reconnect to WS API</p>\n","event":[{"listen":"prerequest","script":{"id":"4b4e3596-6d43-41c6-8f6d-f67c328aa997","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c0c6ee22-4046-4854-9477-1a3bd7494332","type":"text/javascript","exec":[""]}}],"_postman_id":"1f377b72-f579-478e-bc99-8ab33494d0e9"},{"name":"Public API","item":[{"name":"Trades","item":[],"id":"46c874ed-db81-4384-a0b4-0c1311116401","description":"<p><strong>Data:</strong> all trades by certain pair since subscription time</p>\n<p><strong>Topics name:</strong> spot/trades:&lt;**pair**&gt;</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/trades:BTC_USD\",\n  \"data\": [\n    {\n      \"trade_id\": 3,\n      \"type\": \"sell\",\n      \"price\": \"100\",\n      \"quantity\": \"1\",\n      \"amount\": \"100\",\n      \"date\": 1574427585174\n    }\n  ]\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"77fba92a-ee99-4b18-a34d-b79a4ca10f1a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"635fc690-c72e-4aec-a933-5bb7d40f444e","type":"text/javascript","exec":[""]}}],"_postman_id":"46c874ed-db81-4384-a0b4-0c1311116401"},{"name":"Ticker","item":[],"id":"fd8f47bc-8517-43c0-bb60-1d61a86d4471","description":"<p><strong>Data:</strong> exchange ticker</p>\n<p><strong>Topics name:</strong> spot/ticker:&lt;**pair**&gt;</p>\n<p><strong>Update speed:</strong> approximately 10s</p>\n<p><strong>Snapshot:</strong> -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/ticker:BTC_USD\",\n  \"data\": {\n    \"buy_price\": \"9740.48\",\n    \"sell_price\": \"9745.33\",\n    \"last_trade\": \"9742.2\",\n    \"high\": \"9800\",\n    \"low\": \"9667.16\",\n    \"avg\": \"9737.15021844\",\n    \"vol\": \"297.08999423\",\n    \"vol_curr\": \"2894310.14185657\",\n    \"updated\": 1574427585\n  }\n}\n</code></pre>","_postman_id":"fd8f47bc-8517-43c0-bb60-1d61a86d4471"},{"name":"Order book snapshots","item":[],"id":"308cf5d9-773b-48c0-8e0d-5a1c2ca40751","description":"<p><strong>Data:</strong> top-25 order book positions</p>\n<p><strong>Topics name:</strong> spot/order_book_snapshots:&lt;**pair**&gt;</p>\n<p><strong>Update speed:</strong> 100ms</p>\n<p><strong>Snapshot:</strong> -</p>\n<p>Order book position format is JSON array of 3 numbers:\n<code>[\"price\",\"quantity\",\"amount\"]</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/order_book_snapshots:BTC_USD\",\n  \"data\": {\n    \"ask\": [[\"100\",\"1\",\"100\"],[\"200\",\"2\",\"400\"]],\n    \"bid\": [[\"99\",\"1\",\"99\"]]\n  }\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"8a35e2b3-77bd-46ee-b05f-22c1ca721ce5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"28fad22d-1b28-41ab-aa77-0c8bd7da6d2b","type":"text/javascript","exec":[""]}}],"_postman_id":"308cf5d9-773b-48c0-8e0d-5a1c2ca40751"},{"name":"Order book updates","item":[],"id":"62efb6e8-8524-409c-914a-ad4c143c3096","description":"<p><strong>Data:</strong> top-400 order book updates</p>\n<p><strong>Topics name:</strong> spot/order_book_updates:&lt;**pair**&gt;</p>\n<p><strong>Update speed:</strong> 100ms</p>\n<p><strong>Snapshot:</strong> Top-400 order book positions</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"snapshot\",\n  \"topic\": \"spot/order_book_updates:BTC_USD\",\n  \"data\": {\n    \"ask\": [[\"100\",\"3\",\"300\"],[\"200\",\"4\",\"800\"]],\n    \"bid\": [[\"99\",\"2\",\"198\"],[\"98\",\"1\",\"98\"]]\n  }\n}\n{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/order_book_updates:BTC_USD\",\n  \"data\": {\n    \"ask\": [[\"100\",\"1\",\"100\"],[\"200\",\"2\",\"400\"]],\n    \"bid\": [[\"99\",\"1\",\"99\"],[\"98\",\"0\",\"0\"]]\n  }\n}\n</code></pre><p>To have actual top-400 order book on client's side you need:</p>\n<ul>\n<li>Store top-400 order book position</li>\n<li>Apply all given updated position on your local copy</li>\n<li>Updates with 0 quantity means that position has been deleted</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"21656556-8a09-4b97-8a9c-0a84cef2387b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f76879f0-cf41-4de1-8984-1a47e7e43bb7","type":"text/javascript","exec":[""]}}],"_postman_id":"62efb6e8-8524-409c-914a-ad4c143c3096"}],"id":"a61050d1-b226-4cac-886f-d152226e8922","description":"<p>Public API allows to get market data in real-time.\nTo use this API it is necessary to establish websocket connection on <code>wss://ws-api.exmo.com:443/v1/public</code>.</p>\n<p>Data provided:</p>\n<ul>\n<li>trades</li>\n<li>ticker</li>\n<li>order book changes</li>\n</ul>\n<p>To start receiving this data you need to send a subscribe command message into the connection with topics you wish</p>\n","event":[{"listen":"prerequest","script":{"id":"48c80c1e-875f-4f93-8cc8-30d0c46c5527","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2f8e6184-5d0b-4e39-b937-c06c44b5bc41","type":"text/javascript","exec":[""]}}],"_postman_id":"a61050d1-b226-4cac-886f-d152226e8922"},{"name":"Authenticated API","item":[{"name":"Login","item":[],"id":"663089ff-ab82-41d8-a211-3f44b447cccd","description":"<p>Command format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"method\": \"login\",\n  \"id\": 1,\n  \"api_key\": \"your_api_key\",\n  \"sign\": \"your_sign\",\n  \"nonce\": 1574427585174\n}\n</code></pre><ul>\n<li><strong>api_key</strong> is public key that can be found in user’s profile settings (example: K-7cc97c89aed2a2fd9ed7792d48d63f65800c447b)</li>\n<li><strong>nonce</strong> is incremental numerical value (&gt;0) that should never be reiterated or decreased.</li>\n<li><strong>sign</strong> is concatinated string of <strong>api_key</strong> and <strong>nonce</strong> encrypted with method HMAC-SHA512 using secret key; the secret key also can be found in user’s profile settings. Sign bytes should be represented as base64 string.\nformula: <code>sign = base64(sha512(api_key+nonce,api_secret))</code></li>\n</ul>\n<p>In case of a successful login you will receive event above into connection:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"id\": 1,\n  \"event\": \"logged_in\"\n}\n</code></pre><p>Otherwise, you will receive an API error</p>\n","event":[{"listen":"prerequest","script":{"id":"4aaf5727-a7a1-4706-b636-78508d84067a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"153c041b-f12f-4f49-934c-f87e50da83f0","type":"text/javascript","exec":[""]}}],"_postman_id":"663089ff-ab82-41d8-a211-3f44b447cccd"},{"name":"User trades","item":[],"id":"4cf18cb3-4cee-4310-a18c-11e94b853ab2","description":"<p><strong>Data:</strong> all trades associated with the user since subscription time</p>\n<p><strong>Topics name:</strong> spot/user_trades</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> -</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/user_trades\",\n  \"data\": {\n    \"trade_id\": 51251,\n    \"type\": \"sell\",\n    \"price\": \"7728\",\n    \"quantity\": \"0.002\",\n    \"amount\": \"15.456\",\n    \"date\": 1574427585,\n    \"order_id\": 651251,\n    \"pair\": \"BTC_USD\",\n    \"exec_type\": \"taker\",\n    \"commission_amount\": \"0.030912\",\n    \"commission_currency\": \"USD\",\n    \"commission_percent\": \"0.2\"\n  }\n}\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"59292e71-13e4-4c3c-82a2-c7689857bb4e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9d765388-9620-4e3f-a7f2-e126f1d22455","type":"text/javascript","exec":[""]}}],"_postman_id":"4cf18cb3-4cee-4310-a18c-11e94b853ab2"},{"name":"Wallets","item":[],"id":"807fea69-e507-4b5d-bd08-aef94f55ac9b","description":"<p><strong>Data:</strong> all states of wallets since subscription time</p>\n<p><strong>Topics name:</strong> spot/wallet</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> User wallets by all currencies on exchange</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"snapshot\",\n  \"topic\": \"spot/wallet\",\n  \"data\": {\n    \"balances\": {\n      \"BTC\": \"3\",\n      \"USD\": \"1000\"\n    },\n    \"reserved\": {\n      \"BTC\": \"0.5\",\n      \"DASH\": \"0\"\n    }\n  }\n}\n{\n  \"ts\":1574427585174,\n  \"event\":\"update\",\n  \"topic\":\"spot/wallet\",\n  \"data\": {\n    \"currency\":\"BTC\",\n    \"balance\":\"2.5\",\n    \"reserved\":\"1\"\n  }\n}\n\n</code></pre>","event":[{"listen":"prerequest","script":{"id":"c96f3680-0db9-4407-8b75-91d2e00c7b43","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ef04479f-f781-4d2a-8a56-fb1757773600","type":"text/javascript","exec":[""]}}],"_postman_id":"807fea69-e507-4b5d-bd08-aef94f55ac9b"},{"name":"Orders","item":[],"id":"85f7bc03-b1c9-4cd2-bd22-8fd422272825","description":"<p><strong>Data:</strong> all states of orders since subscription time</p>\n<p><strong>Topics name:</strong> spot/orders</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> All limit orders and open stop orders</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"ts\": 1574427585174,\n  \"event\": \"snapshot\",\n  \"topic\": \"spot/orders\",\n  \"data\": [\n    {\n      \"order_id\": \"14\",\n      \"client_id\":\"100500\",\n      \"created\": \"1574427585\",\n      \"pair\": \"BTC_USD\",\n      \"price\": \"7750\",\n      \"quantity\": \"0.1\",\n      \"amount\": \"775\",\n      \"original_quantity\": \"0.1\",\n      \"original_amount\": \"775\",\n      \"type\": \"sell\",\n      \"status\": \"open\"\n    },\n    {\n      \"parent_order_id\": \"6216512412\",\n      \"client_id\":\"100501\",\n      \"created\": \"1574427585\",\n      \"type\": \"stop_market_sell\",\n      \"pair\": \"BTC_USD\",\n      \"quantity\": \"1\",\n      \"trigger_price\": \"7727\",\n      \"amount\": \"7727\",\n      \"status\": \"open\"\n    }\n  ]\n}\n{\n  \"ts\": 1574427585174,\n  \"event\": \"update\",\n  \"topic\": \"spot/orders\",\n  \"data\": {\n    \"order_id\": \"15\",\n    \"client_id\":\"100502\",\n    \"created\": \"1574427585\",\n    \"pair\": \"BTC_USD\",\n    \"quantity\": \"0\",\n    \"original_quantity\": \"0.1\",\n    \"type\": \"market_sell\",\n    \"status\": \"cancelled\",\n    \"last_trade_id\": \"51\",\n    \"last_trade_price\": \"7728\",\n    \"last_trade_quantity\": \"0.002\"\n  }\n}\n</code></pre><ul>\n<li>any limit and market order that matched with another order has 3 extra fields: <code>last_trade_id</code>, <code>last_trade_price</code>, <code>last_trade_quantity</code></li>\n<li><code>quantity</code> and <code>amount</code> fields of limit and market order is decreasing according to order execution</li>\n<li>stop order that has been triggered has <code>order_id</code> field with id of market order that executed this stop order</li>\n</ul>\n<p>order statuses:</p>\n<ul>\n<li><strong>open</strong>: limit orders and stop orders</li>\n<li><strong>executing</strong>: not fully filled market orders</li>\n<li><strong>cancelled</strong>: any cancelled by user orders, filled limit orders, executed market and stop orders</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"46eb0241-79ac-455b-97b1-43fee4acf8e5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dfdaf142-b8f8-4160-9913-6cc6de2d06aa","type":"text/javascript","exec":[""]}}],"_postman_id":"85f7bc03-b1c9-4cd2-bd22-8fd422272825"}],"id":"2c79d01a-160b-468e-a98a-07eb60125cf8","description":"<p>Authenticated API allows one to get user trades, wallets changes, and order changes in real-time.</p>\n<p>To use this API, it is necessary to establish websocket connection on <code>wss://ws-api.exmo.com:443/v1/private</code> and then log in using the Login method. Otherwise the connection will be terminated by server side in 30s</p>\n<p>Data provided:</p>\n<ul>\n<li>user trades</li>\n<li>wallet changes</li>\n<li>orders changes</li>\n</ul>\n","event":[{"listen":"prerequest","script":{"id":"0441595d-29f2-4624-8096-5414d367ddd4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"4970db66-980d-46f9-8011-1499f41898c6","type":"text/javascript","exec":[""]}}],"_postman_id":"2c79d01a-160b-468e-a98a-07eb60125cf8"},{"name":"Margin Authenticated API","item":[{"name":"Wallets","item":[],"id":"d3425a3d-82b4-4d2a-8fad-240388ca7e4f","description":"<p><strong>Data:</strong> all states of user wallets</p>\n<p><strong>Topic name:</strong> margin/wallet</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> User wallets by all currencies on the exchange</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n   \"ts\":1624370076651,\n   \"event\":\"snapshot\",\n   \"topic\":\"margin/wallets\",\n   \"data\":{\n      \"USDT\":{\n         \"balance\":\"1000000\",\n         \"used\":\"0\",\n         \"free\":\"1000000\"\n      },\n      \"USD\":{\n         \"balance\":\"1000000\",\n         \"used\":\"1831.925\",\n         \"free\":\"998168.075\"\n      }\n   }\n}\n{\n   \"ts\":1624370185720,\n   \"event\":\"update\",\n   \"topic\":\"margin/wallets\",\n   \"data\":{\n      \"USD\":{\n         \"balance\":\"1000123\",\n         \"used\":\"1831.925\",\n         \"free\":\"998291.075\"\n      }\n   }\n}\n\n</code></pre>","_postman_id":"d3425a3d-82b4-4d2a-8fad-240388ca7e4f"},{"name":"Orders","item":[],"id":"95e4ed18-1791-4e6d-83ad-cbfe9be1051c","description":"<p><strong>Data:</strong> all states of orders associated with the user</p>\n<p><strong>Topic name:</strong> margin/orders</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> All orders</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n   \"ts\":1624371281773,\n   \"event\":\"snapshot\",\n   \"topic\":\"margin/orders\",\n   \"data\":[\n      {\n         \"order_id\":\"692844278081168665\",\n         \"created\":\"1624371250919761600\",\n         \"type\":\"limit_buy\",\n         \"previous_type\":\"limit_buy\",\n         \"pair\":\"BTC_USD\",\n         \"leverage\":\"2\",\n         \"price\":\"10000\",\n         \"stop_price\":\"0\",\n         \"distance\":\"0\",\n         \"trigger_price\":\"10000\",\n         \"init_quantity\":\"0.1\",\n         \"quantity\":\"0.1\",\n         \"funding_currency\":\"USD\",\n         \"funding_quantity\":\"1000\",\n         \"funding_rate\":\"0\",\n         \"client_id\":\"111111\",\n         \"expire\":0,\n         \"src\":1,\n         \"comment\":\"comment1\",\n         \"updated\":1624371250938136600,\n         \"status\":\"active\"\n      }\n   ]\n}\n{\n   \"ts\":1624371221620,\n   \"event\":\"update\",\n   \"topic\":\"margin/orders\",\n   \"data\":{\n      \"order_id\":\"692844278081168599\",\n      \"created\":\"1624371221546858900\",\n      \"type\":\"market_buy\",\n      \"previous_type\":\"market_buy\",\n      \"pair\":\"BTC_USD\",\n      \"leverage\":\"2\",\n      \"price\":\"0\",\n      \"stop_price\":\"0\",\n      \"distance\":\"0\",\n      \"trigger_price\":\"36638.5\",\n      \"init_quantity\":\"0.1\",\n      \"quantity\":\"0\",\n      \"funding_currency\":\"USD\",\n      \"funding_quantity\":\"0\",\n      \"funding_rate\":\"0\",\n      \"client_id\":\"111111\",\n      \"expire\":0,\n      \"src\":1,\n      \"comment\":\"comment1\",\n      \"updated\":1624371221627390400,\n      \"status\":\"executed\"\n   }\n}\n</code></pre><p>order statuses:</p>\n<ul>\n<li><strong>active</strong>: open, executing orders</li>\n<li><strong>executed</strong>: fully filled orders</li>\n<li><strong>cancelled</strong>: any orders cancelled by the user, filled limit orders, executed market and stop orders</li>\n</ul>\n","_postman_id":"95e4ed18-1791-4e6d-83ad-cbfe9be1051c"},{"name":"User trades","item":[],"id":"953d1b3a-cf77-47c9-baf7-99e3f8cb78b1","description":"<p><strong>Data:</strong> all trades associated with the user</p>\n<p><strong>Topic name:</strong> margin/user_trades</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> last 100 user trades</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n   \"ts\":1624369720168,\n   \"event\":\"snapshot\",\n   \"topic\":\"margin/user_trades\",\n   \"data\":[\n      {\n         \"trade_id\":\"692844278081167054\",\n         \"trade_dt\":\"1624369773990729200\",\n         \"type\":\"buy\",\n         \"order_id\":\"692844278081167033\",\n         \"pair\":\"BTC_USD\",\n         \"quantity\":\"0.1\",\n         \"price\":\"36638.5\",\n         \"is_maker\":false\n      }\n   ]\n}\n{\n   \"ts\":1624370368612,\n   \"event\":\"update\",\n   \"topic\":\"margin/user_trades\",\n   \"data\":{\n      \"trade_id\":\"692844278081167693\",\n      \"trade_dt\":\"1624370368569092500\",\n      \"type\":\"buy\",\n      \"order_id\":\"692844278081167674\",\n      \"pair\":\"BTC_USD\",\n      \"quantity\":\"0.1\",\n      \"price\":\"36638.5\",\n      \"is_maker\":false\n   }\n}\n</code></pre>","_postman_id":"953d1b3a-cf77-47c9-baf7-99e3f8cb78b1"},{"name":"Positions","item":[],"id":"4d54a0a0-917f-4a83-999f-585d13fd8b5e","description":"<p><strong>Data:</strong> all positions associated with the user</p>\n<p><strong>Topic name:</strong> margin/positions</p>\n<p><strong>Update speed:</strong> real-time</p>\n<p><strong>Snapshot:</strong> open user positions</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n   \"ts\":1624369965122,\n   \"event\":\"snapshot\",\n   \"topic\":\"margin/positions\",\n   \"data\":[\n      {\n         \"position_id\":\"692844278081167060\",\n         \"created\":\"1624369773993800300\",\n         \"pair\":\"BTC_USD\",\n         \"type\":\"long\",\n         \"base_price\":\"36638.5\",\n         \"quantity\":\"0.1\",\n         \"leverage\":\"2\",\n         \"margin\":\"1831.925\",\n         \"margin_currency\":\"USD\",\n         \"margin_level\":\"40.9\",\n         \"realized_pnl\":\"0\",\n         \"unrealized_pnl\":\"-333.073\",\n         \"roe\":\"-18.18\",\n         \"pnl_currency\":\"USD\",\n         \"break_even_price\":\"36638.5\",\n         \"liquidation_price\":\"21983.1\",\n         \"margin_call_price\":\"23815.025\",\n         \"need_liquidate\":false,\n         \"is_margin_call\":false,\n         \"funding_currency\":\"USD\",\n         \"funding_quantity\":\"3663.85\",\n         \"funding_rate\":\"0\",\n         \"funding_next_pay_dt\":\"1624410000\",\n         \"funding_next_pay_quantity\":\"0\",\n         \"closed\":false\n      }\n   ]\n}\n{\n   \"ts\":1624370368614,\n   \"event\":\"update\",\n   \"topic\":\"margin/positions\",\n   \"data\":{\n      \"position_id\":\"692844278081167060\",\n      \"created\":\"1624369773993800300\",\n      \"pair\":\"BTC_USD\",\n      \"type\":\"long\",\n      \"base_price\":\"36638.5\",\n      \"quantity\":\"0.2\",\n      \"leverage\":\"2\",\n      \"margin\":\"3663.85\",\n      \"margin_currency\":\"USD\",\n      \"margin_level\":\"40.9\",\n      \"realized_pnl\":\"0\",\n      \"unrealized_pnl\":\"-666.146\",\n      \"roe\":\"-18.18\",\n      \"pnl_currency\":\"USD\",\n      \"break_even_price\":\"36638.5\",\n      \"liquidation_price\":\"21983.1\",\n      \"margin_call_price\":\"23815.025\",\n      \"need_liquidate\":false,\n      \"is_margin_call\":false,\n      \"funding_currency\":\"USD\",\n      \"funding_quantity\":\"7327.7\",\n      \"funding_rate\":\"0\",\n      \"funding_next_pay_dt\":\"1624410000\",\n      \"funding_next_pay_quantity\":\"0\",\n      \"closed\":false\n   }\n}\n{\n   \"ts\":1624369965122,\n   \"event\":\"update\",\n   \"topic\":\"margin/positions\",\n   \"data\":[\n      {\n         \"position_id\":\"692844278081167060\",\n         \"closed\":true\n      }\n   ]\n}\n</code></pre>","_postman_id":"4d54a0a0-917f-4a83-999f-585d13fd8b5e"}],"id":"c6de0865-35dd-4671-a22d-b1bb84d4d5eb","description":"<p>Margin Authenticated API allows one to get user margin trades, wallet and order changes in real-time.</p>\n<p>To use this API, it is necessary to establish a websocket connection on <code>wss://ws-api.exmo.com:443/v1/margin/private</code> and then log in using the Login method. Otherwise the connection will be terminated by a server side in 30 seconds.</p>\n<p>Data provided:</p>\n<ul>\n<li>user trades</li>\n<li>wallet changes</li>\n<li>order changes</li>\n<li>user positions</li>\n</ul>\n","_postman_id":"c6de0865-35dd-4671-a22d-b1bb84d4d5eb"}],"id":"a73cd85a-69e1-4c3b-828b-89837f17e609","event":[{"listen":"prerequest","script":{"id":"f0a44dcc-38b4-4d3e-b173-9af06ac9d32d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"54e10e57-9e70-4f40-abb6-6734e5b01929","type":"text/javascript","exec":[""]}}],"_postman_id":"a73cd85a-69e1-4c3b-828b-89837f17e609","description":""}],"id":"79d1a9d4-14f4-4cd5-8032-f39f47c2f584","event":[{"listen":"prerequest","script":{"id":"30348546-0c46-4f5f-9c2f-57776b4514ad","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5cc2c7bb-7528-4a33-a9b3-d9e097ab5a49","type":"text/javascript","exec":[""]}}],"_postman_id":"79d1a9d4-14f4-4cd5-8032-f39f47c2f584","description":""}],"event":[{"listen":"prerequest","script":{"id":"44b02f60-0cf1-4072-9edb-4bc0c78fb5f0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"32f3f0e6-1725-4e1b-bc8c-bcd5a9f2a482","type":"text/javascript","exec":[""]}}]}