/api/trades/top

Description: Retrieve the trades with the highest SOL values from the CabalSpy database, sorted in descending order by `sol_value`. This endpoint is perfect for spotting major trades or whale activity on Solana, aiding in market analysis. You can limit the number of results returned for efficiency and cost savings.

  • Required Parameter: `api_key` – Your unique API Key (e.g., `?api_key=YOUR_API_KEY`).
  • Optional Parameters:
    • ?limit=N – Limits the number of trades returned (e.g., `?limit=5`). Default is 10.
  • Usage Cost: Each request deducts 10 usage points, regardless of the `limit` parameter.
  • Response Format: Returns a JSON array of trade objects, each containing `id`, `signature`, `wallet`, `mint`, `token_symbol`, `sol_value`, and `created_at`, sorted by `sol_value` in descending order.

Example Request:

curl "http://82.29.177.109:8080/api/trades/top?api_key=YOUR_API_KEY&limit=5"

Example Response:

[ { "id": 11751, "signature": "32WbiZMTgKSh1WY43mpvYane34USdyFthzmYbVthxagZGDGczF4jNW4MRkUgNkU6BLVBYtib3V67ATP7w13KHL8", "wallet": "5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv", "mint": "DkgbP8aB38JeiTWS8woNhRpYVomhHH2uyudX3GoXpump", "token_symbol": "NOPE", "sol_value": "4.504834953", "created_at": "2025-02-24 09:01:25" } ]

Test this Endpoint