/api/wallets//trades
Description: Retrieve all transactions (trades) associated with a specific wallet address on the Solana blockchain, sorted by creation time in descending order (newest first). Replace `
` with the wallet address you want to query (e.g., `5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv`). This endpoint is great for tracking a wallet’s trading history. You can limit results to save usage points:- • 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`). If no limit is specified, all trades are returned.
- 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`, `transaction_type`, `pre_balance`, `post_balance`, `lamports_diff`, `sol_value`, `slot`, and `created_at`, sorted by `created_at` in descending order.
Example Request:
curl "http://82.29.177.109:8080/api/wallets/5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv/trades?api_key=YOUR_API_KEY&limit=5"
Example Response:
[
{
"id": 11752,
"signature": "5mdTvSjGoXCLJnPjHz7swPYtvz6UAdysPh6QeaJrp1QM54CCku19izWZV5BgRpa73AW5WqzdXSfnmsvX8RPvPhsH",
"wallet": "5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv",
"mint": "DkgbP8aB38JeiTWS8woNhRpYVomhHH2uyudX3GoXpump",
"token_symbol": "NOPE",
"transaction_type": "verkauf",
"pre_balance": 77010942937,
"post_balance": 81399266533,
"lamports_diff": 4388323596,
"sol_value": "4.388323596",
"slot": 322747265,
"created_at": "2025-02-24 09:01:33"
}
]