With our API, you can create your own exchange and earn profit from our commissions, as well as integrate cryptocurrency payments for your projects.


Additionally, we have released a Python library for faster and easier integration. You can download it from the following link: YellowChangerAPI on PyPI.


The source code is available on GitHub: YellowChangerAPI on GitHub.


If you have any questions regarding the integration, please feel free to contact our support team — we’ll be happy to assist you.

Quick start

  1. signature — Sign every request: send your public key in the Y_API_KEY header and the HMAC SHA256 of the body in the Signature header.
  2. destinationsList — Get the list of available currencies and networks.
  3. calculateTrade — Calculate the rate and the amounts for the pair the user chose.
  4. createTrade — Create the exchange and show the returned payment address to the user.
  5. getInfo — Check the trade status until it is finished (see Status info).

All methods

Base URL: https://api.yellowchanger.com


Method

HTTP

Description

allRates

GET /trades/allRates

Returns all possible exchange rates

createTrade

POST /trades/createTrade

Create new trade and returns trade info

destinationsList

GET /trades/destinationsList

Returns all possible exchange destinations

ratesInDirection

GET /trades/ratesInDirection

Returns rates in a certain direction

getInfo

GET /trades/getInfo

Returns all information about transaction

cancelTrade

POST /trades/cancelTrade

Cancel the exchange

changeAddress

POST /trades/changeAddress

Change the payout address of an exchange. Available only when needChangeAddress in getInfo is true.

calculateTrade

POST /trades/calculateTrade

Returns exchange rate and details for a specific currency pair