SLICEX API Documentation

General notes

This document aims to explain objectively how to use the exchange system to be used by robotic applications.

Contact the developer.

API detail

Public

Public methods require no authentication.

Get Assets

Get the list of all traded assets in the exchange.

curl -X GET "https://x.slicex.cc/api/v3/public/getassets"
GET https://x.slicex.cc/api/v3/public/getassets HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 17:31:39 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
Set-Cookie__cfduid=d8bec3bea45ccf30e9a10182ffe75d7841581528698; expires=Fri, 13-Mar-20 17:31:38 GMT; path=/; domain=.x.slicex.cc; HttpOnly; SameSite=Lax; Secure
VaryAccept-Encoding
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY56404c208fe0e092-FOR
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "Asset": "BTC",
            "AssetLong": "Bitcoin",
            "MinConfirmation": 1,
            "WithdrawTxFee": 0.001,
            "WithdrawTxFeePercent": 0,
            "SystemProtocol": "BITCOIN",
            "IsActive": true,
            "InfoMessage": "",
            "MaintenanceMode": false,
            "MaintenanceMessage": "",
            "FormatPrefix": "",
            "FormatSufix": "",
            "DecimalSeparator": ".",
            "ThousandSeparator": ",",
            "DecimalPlaces": 8,
            "Currency": "BTC",
            "CurrencyLong": "Bitcoin",
            "CoinType": "BITCOIN"
        },
        {
            "Asset": "ETH",
            "AssetLong": "Ethereum",
            "MinConfirmation": 4,
            "WithdrawTxFee": 0.01,
            "WithdrawTxFeePercent": 0,
            "SystemProtocol": "ETHEREUM",
            "IsActive": true,
            "InfoMessage": "",
            "MaintenanceMode": false,
            "MaintenanceMessage": "",
            "FormatPrefix": "",
            "FormatSufix": "",
            "DecimalSeparator": ".",
            "ThousandSeparator": ",",
            "DecimalPlaces": 8,
            "Currency": "ETH",
            "CurrencyLong": "Ethereum",
            "CoinType": "ETHEREUM"
        }
    ]
}

Get Markets

Ge the list of all traded pairs in the exchange.

curl -X GET "https://x.slicex.cc/api/v3/public/getmarkets"
GET https://x.slicex.cc/api/v3/public/getmarkets HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 17:48:08 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
VaryAccept-Encoding
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY56406447485cf710-GRU
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "MarketName": "ETH_BTC",
            "MarketAsset": "ETH",
            "BaseAsset": "BTC",
            "MarketAssetLong": "Ethereum",
            "BaseAssetLong": "Bitcoin",
            "IsActive": true,
            "MinTradeSize": 0.0001,
            "InfoMessage": "",
            "MarketCurrency": "ETH",
            "BaseCurrency": "BTC",
            "MarketCurrencyLong": "Ethereum",
            "BaseCurrencyLong": "Bitcoin"
        },
        {
            "MarketName": "BTC_USDT",
            "MarketAsset": "BTC",
            "BaseAsset": "USDT",
            "MarketAssetLong": "Bitcoin",
            "BaseAssetLong": "Tether",
            "IsActive": true,
            "MinTradeSize": 0.0001,
            "InfoMessage": "",
            "MarketCurrency": "BTC",
            "BaseCurrency": "USDT",
            "MarketCurrencyLong": "Bitcoin",
            "BaseCurrencyLong": "Tether"
        },
        {
            "MarketName": "ETH_USDT",
            "MarketAsset": "ETH",
            "BaseAsset": "USDT",
            "MarketAssetLong": "Ethereum",
            "BaseAssetLong": "Tether",
            "IsActive": true,
            "MinTradeSize": 0.0001,
            "InfoMessage": "",
            "MarketCurrency": "ETH",
            "BaseCurrency": "USDT",
            "MarketCurrencyLong": "Ethereum",
            "BaseCurrencyLong": "Tether"
        }
    ]
}

Get Ticker

Get the current tick values of a specific market.

curl -X GET "https://x.slicex.cc/api/v3/public/getticker?market={{market}}"
GET https://x.slicex.cc/api/v3/public/getticker?market={{market}} HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 17:52:58 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY56406b56c82ef710-GRU
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "Market": "ETH_BTC",
            "Bid": 0.02563192,
            "Ask": 0.02567192,
            "Last": 0.02567192
        }
    ]
}

Get Market Summary

Get the 24h summary of a specific market.

curl -X GET -H ": " "https://x.slicex.cc/api/v3/public/getmarketsummary?market={{market}}"
GET https://x.slicex.cc/api/v3/public/getmarketsummary?market={{market}} HTTP/1.1
Host: 
: 
Status200 OK
DateWed, 12 Feb 2020 18:00:43 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY564076b42d39f3bb-GRU
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "TimeStamp": "2020-02-12 18:00:43",
            "MarketName": "ETH_BTC",
            "MarketAsset": "ETH",
            "BaseAsset": "BTC",
            "MarketAssetName": "Ethereum",
            "BaseAssetName": "Bitcoin",
            "PrevDay": 0.0229478,
            "High": 0.02567192,
            "Low": 0.0228928,
            "Last": 0.02563192,
            "Average": 0.02418562,
            "Volume": 100.86817443,
            "BaseVolume": 2.4395591,
            "Bid": 0.02563192,
            "Ask": 0.02567192,
            "IsActive": "true",
            "InfoMessage": "",
            "MarketCurrency": "",
            "BaseCurrency": ""
        }
    ]
}

Get Market Summaries

Get the 24h summary of all active markets.

curl -X GET "https://x.slicex.cc/api/v3/public/getmarketsummaries?basemarket={{baseMarket}}"
GET https://x.slicex.cc/api/v3/public/getmarketsummaries?basemarket={{baseMarket}} HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 19:06:50 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
VaryAccept-Encoding
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY5640d78bc913f64f-GRU
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "TimeStamp": "2020-02-12 19:06:50",
            "MarketName": "ETH_BTC",
            "MarketAsset": "ETH",
            "BaseAsset": "BTC",
            "MarketAssetName": "Ethereum",
            "BaseAssetName": "Bitcoin",
            "PrevDay": 0.0232072,
            "High": 0.02567192,
            "Low": 0.0230046,
            "Last": 0.02563051,
            "Average": 0.0243604,
            "Volume": 91.8476663,
            "BaseVolume": 2.23744633,
            "Bid": 0.02560882,
            "Ask": 0.02563051,
            "IsActive": "true",
            "InfoMessage": "",
            "MarketCurrency": "Ethereum",
            "BaseCurrency": "Bitcoin"
        },
        {
            "TimeStamp": "2020-02-12 19:06:50",
            "MarketName": "LTC_BTC",
            "MarketAsset": "LTC",
            "BaseAsset": "BTC",
            "MarketAssetName": "Litecoin",
            "BaseAssetName": "Bitcoin",
            "PrevDay": 0.00748386,
            "High": 0.00771543,
            "Low": 0.00743386,
            "Last": 0.00771543,
            "Average": 0.00754377,
            "Volume": 47.77523236,
            "BaseVolume": 0.36040551,
            "Bid": 0.00768664,
            "Ask": 0.00771543,
            "IsActive": "true",
            "InfoMessage": "",
            "MarketCurrency": "Litecoin",
            "BaseCurrency": "Bitcoin"
        }
    ]
}

Get Order Book

Get the order book of a specific market.

curl -X GET "https://x.slicex.cc/api/v3/public/getorderbook?market={{market}}&type={{type}}&depth={{depth}}"
GET https://x.slicex.cc/api/v3/public/getorderbook?market={{market}}&type={{type}}&depth={{depth}} HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 20:02:45 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY564129776990e074-FOR
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": {
        "buy": [
            {
                "Quantity": 0.29649988,
                "Rate": 0.02566598
            },
            {
                "Quantity": 0.42478428,
                "Rate": 0.02563192
            },
            {
                "Quantity": 0.00479358,
                "Rate": 0.02559481
            }
        ],
        "sell": [
            {
                "Quantity": 0.00019787,
                "Rate": 0.02570598
            },
            {
                "Quantity": 0.25518029,
                "Rate": 0.02570956
            },
            {
                "Quantity": 0.50993806,
                "Rate": 0.02574522
            }
        ]
    }
}

Get Market History

Get historical trades of a specific market.

curl -X GET "https://x.slicex.cc/api/v3/public/getmarkethistory?market={{market}}&count={{count}}"
GET https://x.slicex.cc/api/v3/public/getmarkethistory?market={{market}}&count={{count}} HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 20:07:26 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY564130567d5ae074-FOR
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "TradeID": "10103855",
            "TimeStamp": "2020-02-12 19:56:25",
            "OrderType": "BUY",
            "Price": 0.02570598,
            "Quantity": 0.126,
            "BaseVolume": 0.00323895,
            "Total": 0.00323895
        },
        {
            "TradeID": "10103854",
            "TimeStamp": "2020-02-12 19:56:24",
            "OrderType": "BUY",
            "Price": 0.02570598,
            "Quantity": 0.17,
            "BaseVolume": 0.00437001,
            "Total": 0.00437001
        },
        {
            "TradeID": "10103833",
            "TimeStamp": "2020-02-12 19:52:01",
            "OrderType": "BUY",
            "Price": 0.02570598,
            "Quantity": 0.00049988,
            "BaseVolume": 0.00001285,
            "Total": 0.00001285
        },
        {
            "TradeID": "10103832",
            "TimeStamp": "2020-02-12 19:52:01",
            "OrderType": "BUY",
            "Price": 0.02569597,
            "Quantity": 0.39450012,
            "BaseVolume": 0.01013706,
            "Total": 0.01013706
        },
        {
            "TradeID": "10103831",
            "TimeStamp": "2020-02-12 19:52:00",
            "OrderType": "BUY",
            "Price": 0.02569597,
            "Quantity": 0.00002988,
            "BaseVolume": 7.7e-7,
            "Total": 7.7e-7
        }
    ]
}

Get Candles

Get candle format historical trades of a specific market.

curl -X GET "https://x.slicex.cc/api/v3/public/getcandles?market={{market}}&period={{period}}"
GET https://x.slicex.cc/api/v3/public/getcandles?market={{market}}&period={{period}} HTTP/1.1
Host: 
Status200 OK
DateWed, 12 Feb 2020 20:22:51 GMT
Content-Typeapplication/json; charset=UTF-8
Transfer-Encodingchunked
Connectionkeep-alive
VaryAccept-Encoding
Access-Control-Allow-Origin*
CF-Cache-StatusDYNAMIC
Expect-CTmax-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Servercloudflare
CF-RAY564146e3dd1ecf96-FOR
Content-Encodingbr
{
    "success": true,
    "message": "",
    "result": [
        {
            "TimeStamp": "2020-02-24 00:00:00",
            "Open": 0.01909575,
            "High": 0.0194117,
            "Low": 0.01858807,
            "Close": 0.01922915,
            "Volume": 115.42610876,
            "BaseVolume": 2.18918618
        },
        {
            "TimeStamp": "2020-02-17 00:00:00",
            "Open": 0.01951549,
            "High": 0.02570598,
            "Low": 0.01914152,
            "Close": 0.02570598,
            "Volume": 175.39668351,
            "BaseVolume": 4.07709472
        },
        {
            "TimeStamp": "2020-02-10 00:00:00",
            "Open": 0.0193185,
            "High": 0.0232072,
            "Low": 0.01891322,
            "Close": 0.02247976,
            "Volume": 229.69680549,
            "BaseVolume": 4.89664555
        },
        {
            "TimeStamp": "2020-02-03 00:00:00",
            "Open": 0.01914152,
            "High": 0.02191794,
            "Low": 0.01896192,
            "Close": 0.02167498,
            "Volume": 400.91602633,
            "BaseVolume": 8.44170028
        },
        {
            "TimeStamp": "2020-01-27 00:00:00",
            "Open": 0.01784842,
            "High": 0.02028098,
            "Low": 0.0175191,
            "Close": 0.02009538,
            "Volume": 471.66383823,
            "BaseVolume": 9.05756075
        },
        {
            "TimeStamp": "2020-01-20 00:00:00",
            "Open": 0.01740015,
            "High": 0.0185183,
            "Low": 0.01668381,
            "Close": 0.01668835,
            "Volume": 0.78415494,
            "BaseVolume": 0.01366655
        },
        {
            "TimeStamp": "2020-01-13 00:00:00",
            "Open": 0.01760598,
            "High": 0.01851829,
            "Low": 0.01604469,
            "Close": 0.01776165,
            "Volume": 7.36917745,
            "BaseVolume": 0.1299395
        },
        {
            "TimeStamp": "2020-01-06 00:00:00",
            "Open": 0.01791434,
            "High": 0.01882274,
            "Low": 0.01790264,
            "Close": 0.01858807,
            "Volume": 19.44758133,
            "BaseVolume": 0.36329854
        }
    ]
}

Private

Private methods use a pair of APIKEY and APISECRET to identify and authenticate the user who is sending the request.

APIKEY should be sent as a query parameter.

NONCE should be sent as a query parameter. NONCE is a number that should be used only once and it must be greater than the last NONCE used, since the exchange will ignore any requests with a NONCE equal or smaller than the previous NONCE. One commom use for nonce is the Unix Timestamp in miliseconds.

All private methods must be signed using hmac sha512. You should sign the entire url with your APISECRET and then add this signature (called APISIGN) to the request header before sending it.

Get Balance

Get your balance of a specific asset.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getbalance?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getbalance?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateThu, 13 Feb 2020 20:46:10 GMT
Content-Typetext/plain; charset=utf-8
Content-Length279
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresThu, 13 Feb 2020 20:46:11 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": [
        {
            "Asset": "BTC",
            "AssetName": "Bitcoin",
            "Balance": 1.12,
            "Available": 1.12,
            "Pending": 0,
            "IsActive": true,
            "AllowDeposit": true,
            "AllowWithdraw": true,
            "DepositAddress": "",
            "InfoMessage": "",
            "BtcEquivalent": 1.12,
            "Currency": "BTC",
            "CurrencyName": "Bitcoin"
        }
    ]
}

Get Balances

Get your balances of all assets.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getbalances?nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getbalances?nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateThu, 13 Feb 2020 21:21:00 GMT
Content-Typetext/plain; charset=utf-8
Content-Length1821
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresThu, 13 Feb 2020 21:21:01 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": [
        {
            "Asset": "BTC",
            "AssetName": "Bitcoin",
            "Balance": 1.12,
            "Available": 1.12,
            "Pending": 0,
            "IsActive": true,
            "AllowDeposit": true,
            "AllowWithdraw": true,
            "DepositAddress": "",
            "InfoMessage": "",
            "BtcEquivalent": 1.12,
            "Currency": "BTC",
            "CurrencyName": "Bitcoin",
            "CryptoAddress": ""
        },
        {
            "Asset": "ETH",
            "AssetName": "Ethereum",
            "Balance": 1,
            "Available": 1,
            "Pending": 0,
            "IsActive": true,
            "AllowDeposit": true,
            "AllowWithdraw": true,
            "DepositAddress": "",
            "InfoMessage": "",
            "BtcEquivalent": 0,
            "Currency": "ETH",
            "CurrencyName": "Ethereum",
            "CryptoAddress": ""
        },
        {
            "Asset": "USDT",
            "AssetName": "Tether",
            "Balance": 1000,
            "Available": 1000,
            "Pending": 0,
            "IsActive": true,
            "AllowDeposit": true,
            "AllowWithdraw": true,
            "DepositAddress": "",
            "InfoMessage": "",
            "BtcEquivalent": 0,
            "Currency": "USDT",
            "CurrencyName": "Tether",
            "CryptoAddress": ""
        }
    ]
}

Buy Limit

Send default BUY orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/buylimit?market={{market}}&rate={{rate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/buylimit?market={{market}}&rate={{rate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateMon, 17 Feb 2020 20:19:51 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresMon, 17 Feb 2020 20:19:52 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "1"
}

Sell Limit

Send default BUY orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/selllimit?market={{market}}&rate={{rate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/selllimit?market={{market}}&rate={{rate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateMon, 17 Feb 2020 20:44:56 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresMon, 17 Feb 2020 20:44:57 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "2"
}

Buy Limit Ami

Send BUY-AMI orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/buylimitami?market={{market}}&rate={{rate}}&amirate={{amirate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/buylimitami?market={{market}}&rate={{rate}}&amirate={{amirate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 17:28:37 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 17:28:38 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "4"
}

Sell Limit Ami

Send SELL-AMI orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/selllimitami?market={{market}}&rate={{rate}}&amirate={{amirate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/selllimitami?market={{market}}&rate={{rate}}&amirate={{amirate}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 17:30:29 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 17:30:30 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "6"
}

Buy Stop Limit

Send BUY-STOP-LIMIT orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/buystoplimit?market={{market}}&stop={{stop}}&limit={{limit}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/buystoplimit?market={{market}}&stop={{stop}}&limit={{limit}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 17:41:38 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 17:41:39 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "7"
}

Sell Stop Limit

Send SELL-STOP-LIMIT orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/sellstoplimit?market={{market}}&stop={{stop}}&limit={{limit}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/sellstoplimit?market={{market}}&stop={{stop}}&limit={{limit}}&quantity={{quantity}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateMon, 17 Feb 2020 20:19:51 GMT
Content-Typetext/plain; charset=utf-8
Content-Length42
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresMon, 17 Feb 2020 20:19:52 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": "8"
}

Order Cancel

Used to cancel an open order.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/ordercancel?orderid={{orderid}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/ordercancel?orderid={{orderid}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateThu, 13 Feb 2020 20:46:10 GMT
Content-Typetext/plain; charset=utf-8
Content-Length279
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresThu, 13 Feb 2020 20:46:11 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": ""
}

Get Open Orders

Get your balances of all assets.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getopenorders?market={{market}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getopenorders?market={{market}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateMon, 17 Feb 2020 21:03:45 GMT
Content-Typetext/plain; charset=utf-8
Content-Length508
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresMon, 17 Feb 2020 21:03:46 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": [
        {
            "OrderID": 2,
            "Exchange": "BTC_USDT",
            "Type": "SELL",
            "Quantity": 0.01,
            "QuantityRemaining": 0.01,
            "QuantityBaseTraded": 0,
            "Price": 10000,
            "Status": "OPEN",
            "Created": "2020-01-01 02:00:00",
            "Comments": {
                "String": "",
                "Valid": true
            }
        },
        {
            "OrderID": 1,
            "Exchange": "BTC_USDT",
            "Type": "BUY",
            "Quantity": 0.01,
            "QuantityRemaining": 0.01,
            "QuantityBaseTraded": 0,
            "Price": 8000,
            "Status": "OPEN",
            "Created": "2020-01-01 01:00:00",
            "Comments": {
                "String": "",
                "Valid": true
            }
        }
    ]
}

Get Closed Orders

Get the list of your closed orders.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getcloseorders?market={{market}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getcloseorders?market={{market}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 18:11:00 GMT
Content-Typetext/plain; charset=utf-8
Content-Length43
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 18:11:01 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": [
        {
            "OrderID": 9,
            "Exchange": "BTC_USDT",
            "Type": "SELL",
            "Quantity": 0.1,
            "QuantityRemaining": 0.00000000,
            "QuantityBaseTraded": 0,
            "Price": 9000.0,
            "Status": "OK",
            "Created": "2020-01-01 01:00:00",
            "Comments": ""
        },
        {
            "OrderID": 10,
            "Exchange": "BTC_USDT",
            "Type": "SELL",
            "Quantity": 0.1,
            "QuantityRemaining": 0.00000000,
            "QuantityBaseTraded": 0,
            "Price": 9000.0,
            "Status": "OK",
            "Created": "2020-01-01 01:00:00",
            "Comments": ""
        }
    ]
}

Get Deposit Address

Get your balance of a specific asset.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getdepositaddress?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getdepositaddress?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.8
DateMon, 17 Feb 2020 14:38:04 GMT
Content-Typetext/plain; charset=utf-8
Content-Length133
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
{
    "success": true,
    "message": "",
    "result": {
        "Asset": "BTC",
        "AssetName": "Bitcoin",
        "Currency": "BTC",
        "CurrencyName": "Bitcoin",
        "DepositAddress": "exampleBTCAddress"
    }
}

Get Deposit History

Get your historical deposits and received direct-transfers.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getdeposithistory?nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getdeposithistory?nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 18:18:12 GMT
Content-Typetext/plain; charset=utf-8
Content-Length43
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 18:18:13 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": null
}

Get Withdrawal History

Get your historical withdrawals and sent direct-transfers.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getwithdrawhistory?nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getwithdrawhistory?nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 18:19:06 GMT
Content-Typetext/plain; charset=utf-8
Content-Length43
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 18:19:07 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": null
}

Get My Transactions

Get your historical general transactions.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getmytransactions?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getmytransactions?asset={{asset}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 18:20:24 GMT
Content-Typetext/plain; charset=utf-8
Content-Length242
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
ExpiresFri, 13 Mar 2020 18:20:25 GMT
Cache-Controlmax-age=1
{
    "success": true,
    "message": "",
    "result": [
        {
            "ID": 8,
            "TimeStamp": "2020-01-28 12:57:59.481",
            "Asset": "BTC",
            "AssetName": "Bitcoin",
            "Amount": 50,
            "Type": "CARD",
            "Description": "TESTNET START",
            "Comments": "",
            "CoinSymbol": "BTC",
            "CoinName": "Bitcoin"
        }
    ]
}

Withdraw

Used for you to withdraw your balance to another wallet address.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/withdraw?asset={{asset}}&quantity={{quantity}}&address={{address}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/withdraw?asset={{asset}}&quantity={{quantity}}&address={{address}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 18:57:46 GMT
Content-Typetext/plain; charset=utf-8
Content-Length98
Connectionkeep-alive
Access-Control-Allow-HeadersAccept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization
Access-Control-Allow-MethodsPOST, GET, OPTIONS, PUT, DELETE
Access-Control-Allow-Origin*
{
    "success": true,
    "message": "",
    "result": ""
}

Direct Transfer

Used for you to transfer amounts to another wallet of a partner exchange in 1 second without fees.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/directtransfer?asset={{asset}}&quantity={{quantity}}&exchangeto={{exchangeto}}&accountto={{accountto}}&nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/directtransfer?asset={{asset}}&quantity={{quantity}}&exchangeto={{exchangeto}}&accountto={{accountto}}&nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}

Get Limits

Get your historical general transactions.

curl -X GET -H "apisign: {{apisign}}" "https://x.slicex.cc/api/v3/private/getlimits?nonce={{nonce}}&apikey={{apikey}}"
GET https://x.slicex.cc/api/v3/private/getlimits?nonce={{nonce}}&apikey={{apikey}} HTTP/1.1
Host: 
apisign: {{apisign}}
Status200 OK
Servernginx/1.17.9
DateFri, 13 Mar 2020 21:23:24 GMT
Content-Typetext/html
Content-Length157
Connectionkeep-alive
{
    "success": true,
    "message": "Limits for withdrawals and direct-transfers",
    "result": {
        "AssetParameter": "BTC",
        "DayLimit": 2,
        "MonthLimit": 40,
        "DayUsed": 0.11188923,
        "DayUsedPercent": 5.59,
        "MonthUsed": 4.22801213,
        "MonthUsedPercent": 10.57
    }
}