Skip to main content
Base URL: https://api.argyros.xyz All swap endpoints are under /api/v1. The API currently operates on Fogo.
Solana support coming soon. When available, all endpoints will accept a chain query parameter to select between Fogo and Solana. See Supported Chains.

Response format

All responses use a consistent envelope: Success:
{
  "success": true,
  "data": { ... }
}
Error:
{
  "success": false,
  "error": "error message describing what went wrong"
}

HTTP status codes

CodeMeaning
200Success
400Bad request: invalid parameters, missing required fields
404Not found: no route exists for the given token pair/amount
429Rate limited: too many requests
500Internal error: transaction build or simulation failed

Endpoints

EndpointMethodDescription
GET https://api.argyros.xyz/api/v1/quoteGETGet swap quote with routing details
POST https://api.argyros.xyz/api/v1/swapPOSTBuild unsigned swap transaction
POST https://api.argyros.xyz/api/v1/instructionsPOSTGet raw swap instructions
GET https://api.argyros.xyz/healthGETService health check