RathRath Finance
API Reference

Tokens

Returns the xPath token list for a specific chain or across all supported chains.

GET
/tokens

Query Parameters

chain_id?|

Optional chain ID filter. When provided, returns tokens only for the specified chain; otherwise xPath returns tokens for all supported chains.

Formatint64
Range0 <= value

Header Parameters

api-key*string

Required API key used for authenticated access and account-based rate limits. Missing or invalid keys return 401.

Response Body

application/json

curl -X GET "https://api.xpath.rath.fi/tokens" \  -H "api-key: string"
{
  "code": 0,
  "data": [
    {
      "address": "string",
      "chainId": 0,
      "decimals": 0,
      "logoUrl": "string",
      "name": "string",
      "symbol": "string"
    }
  ],
  "message": "string"
}
Empty