DEPRECATED - V1 API Reference
Endpoints
Swagger
https://api.layerswap.io/swagger
Authorization
For accessing Layerswap Partner API endpoints your app(s) API KEY (retrieved from Partner Setup) should be provided in X-LS-APIKEY
header:
--header 'X-LS-APIKEY: {YOUR_APP_APIKEY}'
Endpoints
Name | Method | Auth | Url |
---|---|---|---|
GET | No | https://api.layerswap.io/api/available_networks | |
GET | No | https://api.layerswap.io/api/available_routes | |
GET | No | https://api.layerswap.io/api/swap_rate | |
POST | Yes | https://api.layerswap.io/api/swaps | |
POST | No | https://api.layerswap.io/api/swaps/fast | |
POST | Yes | https://api.layerswap.io/api/swaps/{id}/prepare | |
GET | Yes | https://api.layerswap.io/api/swaps/{id} | |
Cancel Swap | DELETE | Yes | https://api.layerswap.io/api/swaps/{id} |
Last updated