API

You can create your own mixer using our API. Also, you can implement mixer to your site and provide your customers with only clear coins. API requests are limited to 30 per minute, if you need more — contact us.

You can found PHP library for our service here.
If you want to use our API with Javascript - add a query '?with-cors-headers' to any api request and request adding your domain to whitelist via support.


Creating an order

Request POST https://BitsMix.biz/api/order/create
Parameter Info
Type Name
float tax check FAQ for fees information
array or integers delay from 0 to 4320 (minutes)
array or integers distribution from 10 to 100 (percents, sum must be 100)
string code up to 12 symbols
string coin bitcoin,litecoin
array address array of addresses address[]=..&address[]=...
optional ref ref key from partner panel
Example return:
{
    "input_address":"*ADDRESS*",
    "id":"*ORDER ID*"
}

Get order data

Request GET https://BitsMix.biz/api/order/view/{ID}
Parameter Info
Type Name
string ID ID from create request
Example return:
{
    "order":{
        "created_at":"2017-08-06T23:06:52+00:00",
        "tax":0.633,
        "input_address":"*ADDRESS*",
        "received":"0.13750000",
        "sent":"0.13662962"
    },
    "outputs":[
        {
            "address":"*ADDRESS*",
            "sent":"0.13662962"
            "delay":3600,
        }
    ]
}

Get the Letter of Guarantee

Request GET https://BitsMix.biz/api/order/letter/{ID}
Parameter Info
Type Name
string ID ID from create request
Return: Letter Text