> For the complete documentation index, see [llms.txt](https://docs.xswap.link/xswap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xswap.link/xswap/xpay/api-v1-reference.md).

# API v1 Reference

### API v1 Reference

Base URL: [https://xswap.link/api/](https://xswap.link/api/{resource}/v1)

All query parameters are passed as a JSON payload in the `data` query parameter, URL-encoded.

***

### Resources

* [Route](/xswap/xpay/api-v1-reference/route.md) - POST */route/v1*
* [Chains](/xswap/xpay/api-v1-reference/chains.md) - GET */chains/v1*
* [Tokens](/xswap/xpay/api-v1-reference/tokens.md) - GET */tokens/v1*
