# Yellow Changer API

> Build your own crypto exchange or accept crypto payments with the YellowChanger REST API. Authentication, endpoints, examples in JavaScript and Python.

Source: https://docs.yellowchanger.com/

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](https://pypi.org/project/yellowchangerapi/).

The source code is available on GitHub: [YellowChangerAPI on GitHub](https://github.com/yellowfluf/YellowChangerAPI/tree/main).

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](https://docs.yellowchanger.com/signature.md) — 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](https://docs.yellowchanger.com/destinationsList.md) — Get the list of available currencies and networks.
3.  [calculateTrade](https://docs.yellowchanger.com/calculateTrade.md) — Calculate the rate and the amounts for the pair the user chose.
4.  [createTrade](https://docs.yellowchanger.com/createTrade.md) — Create the exchange and show the returned payment address to the user.
5.  [getInfo](https://docs.yellowchanger.com/getInfo.md) — Check the trade status until it is finished (see Status info).

## All methods

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

| Method | HTTP | Description |
| --- | --- | --- |
| [allRates](https://docs.yellowchanger.com/allRates.md) | GET /trades/allRates | Returns all possible exchange rates |
| [createTrade](https://docs.yellowchanger.com/createTrade.md) | POST /trades/createTrade | Create new trade and returns trade info |
| [destinationsList](https://docs.yellowchanger.com/destinationsList.md) | GET /trades/destinationsList | Returns all possible exchange destinations |
| [ratesInDirection](https://docs.yellowchanger.com/ratesInDirection.md) | GET /trades/ratesInDirection | Returns rates in a certain direction |
| [getInfo](https://docs.yellowchanger.com/getInfo.md) | GET /trades/getInfo | Returns all information about transaction |
| [cancelTrade](https://docs.yellowchanger.com/cancelTrade.md) | POST /trades/cancelTrade | Cancel the exchange |
| [changeAddress](https://docs.yellowchanger.com/changeAddress.md) | POST /trades/changeAddress | Change the payout address of an exchange. Available only when needChangeAddress in getInfo is true. |
| [calculateTrade](https://docs.yellowchanger.com/calculateTrade.md) | POST /trades/calculateTrade | Returns exchange rate and details for a specific currency pair |

---

All methods: https://docs.yellowchanger.com/introduction.md · Index: https://docs.yellowchanger.com/llms.txt · Whole documentation in one file: https://docs.yellowchanger.com/llms-full.txt
