API

cryptomixer.to API is easy to use. It is REST web service that accepts HTTP post parameters and returns JSON response. Endpoint is: https://cryptomixer.to/api/. You have two methods:

Method Description
Create Operation Start the execution of mixing operation.
Get Status Get the status of mixing operation.

Create Operation

This method creates new mixing operation and provides newly generates input address for your coins. Basically this is a POST request to /api/Operation with form-urlencoded data.

REQUEST
POST /api/Operation
Host: cryptomixer.to
Content-Type: application/x-www-form-urlencoded

api_key=928216ca0083aab5460969bbce9ba507cf4b55543b59ab0d99d3563c71914ff0&currencyId=BTC&fee=0.9629&mixcode=w5zfd&target1=1CrypMixXWtTjYGCM5ZJmyQYP1Y39P7aLM&part1=49&delay1=900&target2=16BJWAoCC8JSvDuCngofK7BqfgrV3MPVb8&part2=51&delay2=1980

RESPONSE
{
  CreateDate: "2016-10-14T14:04:32.463"
  InputAddress: "14fc32gfLQ8LsBJhtDNdpanriyyrQ8qPxJ"
  MaxAmount: 1996.36882388
  StateId: "Created"
  InputCount: 0
  OutputCount: 0
  LastInputConfirmations: 0
  TotalInputAmount: 0
  UnconfirmedInputAmount: 0
  PendingOutputAmount: 0
  SentOutputAmount: 0
  MixCode: "w5zfd"
  Currency: "BTC"
  Fee: 0.9629
  Targets: [{
    Addr: "1CrypMixXWtTjYGCM5ZJmyQYP1Y39P7aLM", 
    Pr: 49.00000000, 
    Time: 900},{
    Addr: "16BJWAoCC8JSvDuCngofK7BqfgrV3MPVb8", 
    Pr: 51.00000000, 
    Time: 1980}]
}

Request parameters:

Name Description
api_key An API key got from cryptomixer.to support. Kindly, contact support@cryptomixer.to to get one for your application.
currencyId Cryptocurrency identifier, currently only “BTC” is available.
fee Custom service fee value, should be between 0.5 and 3%
mixcode Customer marker. Optional parameter. If you don’t have mixcode, server will generate and return a new one. It is important to use it in all future transactions of a certain user. Read how does mixcode works section.
target1 Target address to settle mixed coins. If you need to split the coins into 2 or more addresses, just use target2, target3, targetN parameters. Up to 10 addresses can be set up in a single mixing operation
part1 Coins distribution percent for target1. If you use only 1 forward address, this parameter should be 100. If you use several forward addresses you should use the same amount of part1, part2, partN parameters with the percent of coins distribution for each address. If you want to split coins 30/70 between 2 addreses. You shoud use part1=30 and part2=70.
delay1 Delay in minutes before coins would be send after we have received the incoming transaction. If you split coins on 2 or more addresses, just use delay2, delay3, delayN parameters to set up the delay for every address.

Response parameters:

Name Description
CreateDate Server date and time the operation was created
InputAddress Input address to send money
MaxAmount Maximum input amount for current operation. It is calculated according to unused reserve for current mixcode.
InputCount Number of transactions received to InputAddress
LastInputConfirmations Count of confirmations for the last input transaction
TotalInputAmount Total received amount
UnconfirmedInputAmount The amount of coins that was already received, but not yet confirmed by the network
PendingOutputAmount The amount of money to be sent
SentOutputAmount The amount that has been already sent
OutputCount Number of output transactions to the target addresses
... Rest of params just contain the same values as in originating request

Get Status

This method gives you an information about current state of your mixing operation. Response is exactly the same as in “Create Operation” method.

REQUEST
POST /api/Operation
Host: cryptomixer.to
Content-Type: application/x-www-form-urlencoded

api_key=928216ca0083aab5460969bbce9ba507cf4b55543b59ab0d99d3563c71914ff0&currencyId=BTC&address=14fc32gfLQ8LsBJhtDNdpanriyyrQ8qPxJ

Request parameters:

Name Description
api_key An API key got from cryptomixer.to support. Kindly, contact support@cryptomixer.to to get one for your application.
currencyId Cryptocurrency identifier, currently only “BTC” is available.
address Pass the InputAddress to get the status information.

{{maintanance.caption}}



{{maintanance.message}}


{{maintanance.button.text}}