DEPRECATED - V1 API Reference

Endpoints

https://api.layerswap.io/

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

NameMethodAuthUrl

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

© 2023 Bransfer, Inc. All rights reserved.