Layerswap API
Ask or search…
K
Links
Comment on page

API Reference

Endpoints

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 Swap
GET
Yes
https://api.layerswap.io/api/swaps/{id}
DELETE
Yes
https://api.layerswap.io/api/swaps/{id}
Last modified 1mo ago