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

# REST API

All example API calls use the Pacifica Mainnet URL, but you can make the same requests against Testnet using the the Pacifica Testnet url.

Mainnet REST endpoint URL: <https://api.pacifica.fi/api/v1>\
Testnet REST endpoint URL: <https://test-api.pacifica.fi/api/v1>

Requests and responses use JSON.
