GET
/
token
/
top-traders
curl --request GET \
  --url https://api.syrax.ai/v1/token/top-traders
{
  "status": "Success",
  "data": {
    "token": "<string>",
    "unique_traders": 123,
    "traders": [
      {
        "trader": "<string>",
        "buys": 123,
        "sells": 123,
        "total_tokens_bought": 123,
        "total_tokens_sold": 123,
        "average_buy_price": 123,
        "average_sell_price": 123,
        "total_sol_spent": 123,
        "total_sol_earned": 123,
        "realized_net_gain_sol": 123,
        "realized_net_gain_usd": 123,
        "unrealized_net_gain_sol": 123,
        "unrealized_net_gain_usd": 123,
        "first_swap": "<string>",
        "last_swap": "<string>"
      }
    ]
  }
}
Cost per call: 3 credits

Query Parameters

token
string
required

Token address to fetch top traders for

sortBy
string

How to sort the data, default is realized, options realized | unrealized

lowest
boolean

If true then it will be sorted by the lowest first, rather than the highest. Default is false

Response

200
application/json
Token top traders data
status
enum<string>
required
Available options:
Success
data
object
required