All example API calls use the Pacifica Mainnet URL, but you can make the same requests against Testnet using 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.
REST API