Here is the list of API commands. To use the API send a POST request to "https://nanonymous.cc/api/v1" followed by the command and URI encoded parameters. All responses are in JSON.

Newaddress

Requests an anonymized address. The following parameters are accpeted:

[Required]
address=[nano_address]
This parameter is the final recipient's address. This parameter must be present and first.

[Optional]
percents=[comma separated list of integers]
This parameter specifies how many sends to split the transaction into and how big each should be. Only whole percents accepted and they must add up to 100. Max of 5. If omitted there will only be one send.

[Optional]
delays=[comma separated list of integers]
This parameter specifies the delay for each sub-send in seconds. Max of 3600. If omitted there will be no delay.

[Optional]
amount=[nano amount in raw]
This parameter requests Nanonymous to calculate the total amount needed to send "amount" to the recipient. The response will be in the "amountToSend" field.

Example:
call

https://nanonymous.cc/api/v1?newaddress&address=nano_3abhmawykqrd54aadcpfmz3bndsrfuqnenwpzht7ecdcsbqyfs4ct1g18dw1&percents=49,51&delays=40,280&amount=1001500000000000000000000000000

response
{"address": "nano_3xdd6tc4k5ujacwu1478taakeu1dkouf3mgacyxtou8ty7hp6579rgd5ij3t", "percents": [49, 51], "delays": [40, 280], "fee": 0.002, "amountToSend": "1003500000000000000000000000000"}

The "address" field in the response is where to send nano to complete the transaction.




Feecheck

Queries the current fee that Nanonymous is charging.

[Optional]
amount=[nano amount in raw]
This parameter requests Nanonymous to calculate the total amount needed to send "amount" to the recipient. The response will be in the "amountToSend" field.

Example:
call

https://nanonymous.cc/api/v1?feecheck&amount=41007200000000000000000000000000

response
{"fee": 0.002, "amountToSend": "41089200000000000000000000000000"}

This fee corresponds to 0.2% of the sent nano.