API

How does the BESTMIXER API work? BESTMIXER provides the REST API. Technically speaking, API stands for Application Programming Interface, which is a software-to-software interaction, which allows two applications to talk to each other. Usually, the API is used to access the functionality of a third-party service.

  • • Start today to apply the potentials and power of BESTMIXER on your website
  • • Add to your project the features of BESTMIXER Bitcoin tumbler: the ability to pay with or mix different coins
  • • Create your unique service with BESTMIXER API entirely for free
  • • Guarantee your client's payments security, by using only anonymized coins

To get your API key and find out more about connection limits, please contact Support service.


Following API requests are available:




code/info

Returns BESTMIXERde related information.

Request:

Method Url HTTP headers
POST https://ibestmixer.xyz/api/ext/code/info Content-Type: application/json

Request parameters:

Name Type Description
api_key string required, a unique 10-symbols code tracking and controlling use of API.
bm_code string required, a unique 10-symbols code generated during your first order
to ensure you will not get back your old coins when using the BESTMIXER service again.

Example request:

POST https://ibestmixer.xyz/api/ext/code/info HTTP/1.1
Content-Type: application/json

{
    "api_key": "XXXXXXXXXX",
    "bm_code": "XXXXXXXXXX"
}

Example response:

{
    "error": null,
    "data": {
        "min_service_fee": {
            "btc": 0.5,
            "bch": 0.5,
            "ltc": 0.5
        }
    }
}


order/create

Creates order and returns order related information.

Request:

Method Url HTTP headers
POST https://ibestmixer.xyz/api/ext/order/create Content-Type: application/json

Request parameters:

Name Type Description
api_key string required, a unique 10-symbols code tracking and controlling the use of API.
bm_code string a unique 10-symbols code generated during your first order
to ensure you will not get back your old coins when using the BESTMIXER service again.
coin string required, cryptocurrency, available value: btc, bch, ltc, eth.
fee float required, a service fee varying from 0.5000 to 3.0000%. Preset it greater than
minimum possible value and define it to hundredths or thousandths of a percent.
output array required, an array of output objects.

output array:

Name Type Description
address string required, receiving address(es) to send coins to.
percent float required, the different percentage of transfers with accuracy to tenths.
Note: The total percentage of all transfers should be equal to 100%.
delay int required, transfer delay varying from 0 to 4320 minutes.
Set different delay with accuracy to minutes for all transfers.

Example request:

POST https://ibestmixer.xyz/api/ext/order/create HTTP/1.1
Content-Type: application/json

{
    "api_key": "XXXXXXXXXX",
    "bm_code": "XXXXXXXXXX",
    "coin": "btc",
    "fee": 0.5001,
    "output": [
        {
            "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "percent": 5.5,
            "delay": 33
        },
        {
            "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "percent": 4.5,
            "delay": 0
        },
        {
            "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "percent": 90,
            "delay": 121
        }
    ]
}

Example response:

{
    "error": null,
    "data": {
        "order_id": "XXXXXXXXXX",
        "input_address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "min_amount": 0.005,
        "max_amount": 123.456
    }
}


order/info

Returns order related information.

Request:

Method Url HTTP headers
POST https://ibestmixer.xyz/api/ext/order/info Content-Type: application/json

Request parameters:

Name Type Description
api_key string required, a unique 10-symbols code tracking and controlling the use of API.
order_id string required, a unique number of your order.

Example request:

POST https://ibestmixer.xyz/api/ext/order/info HTTP/1.1
Content-Type: application/json

{
    "api_key": "XXXXXXXXXX",
    "order_id": "XXXXXXXXXX"
}

Example request:

{
    "error": null,
    "data": {
        "status": "Awaiting",
        "input_address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "received": 0,
        "coin": "btc",
        "min_amount": 0.005,
        "max_amount": 123.456,
        "bm_code": "XXXXXXXXXX",
        "output": [
            {
                "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "percent": 5.5,
                "delay": 33
            },
            {
                "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "percent": 4.5,
                "delay": 0
            },
            {
                "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
                "percent": 90,
                "delay": 121
            }
        ],
        "letter_of_guarantee": "..."
    }
}


BESTMIXER API libraries


On GitHub, there are ready libraries using BESTMIXER API. You can use it for the creation of your client-applications.

BESTMIXER.php - PHP library