# Exchange API

The endpoints under the Exchange API section all share the same base URL <https://api.swivel.exchange> no matter on the environment that is being used.

There are two active, live environments so base URL should be changed accordingly:

* Testnet base URL **<https://api-dev.swivel.exchange>**
* Mainnet base URL **<https://api-main.swivel.exchange>.**

## &#x20;<a href="#update-variant" id="update-variant"></a>
