/api/analytics/balance-changes/
Description: Get a detailed history of balance changes for a specific wallet address, showing how its SOL balance has evolved through transactions on Solana. Replace `
` with the wallet address (e.g., `5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv`). This endpoint is perfect for auditing wallet activity or building financial trackers. You can limit results to optimize usage:- • Required Parameter: `api_key` – Your unique API Key (e.g., `?api_key=YOUR_API_KEY`).
- Optional Parameters:
?limit=N
– Limits the number of balance changes 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 balance change objects, each containing `created_at`, `pre_balance`, `post_balance`, and `lamports_diff`, sorted by `created_at` in descending order.
Example Request:
curl "http://82.29.177.109:8080/api/analytics/balance-changes/5TuiERc4X7EgZTxNmj8PHgzUAfNHZRLYHKp4DuiWevXv?api_key=YOUR_API_KEY&limit=5"
Example Response:
[
{
"created_at": "2025-02-24 09:01:33",
"pre_balance": 77010942937,
"post_balance": 81399266533,
"lamports_diff": 4388323596
}
]