1
Choose your trader set
You need a list of wallet addresses to rank. There are two practical ways to source them:
- Orbscan website — visit orbscan.com and browse the public leaderboard. Copy wallet addresses from trader profile URLs (e.g.
orbscan.com/profile/0x6a72f61820b26b1fe4d956e17b6dc2a1ea3033ee). - Manually curated list — if you already know which wallets you want to track (from social media, public research, or prior analysis), compile them directly into your script.
2
Fetch activity for each wallet
Call
GET /v1/trader/{address}/activity for each wallet in your list. Use limit=100 and paginate through all pages so you have the complete history before scoring.curl
3
Compute the ranking
Sum
transferNetAmount across all activity records for each wallet. A positive total means USDC left the wallet on net (capital deployed into the market); a negative total means capital was returned via redeems. This provides a simple proxy for how aggressively a trader has been deploying capital.The Python script below fetches the full history for every wallet in your list, computes each wallet’s total transferNetAmount, and prints a ranked table.Python
4
Display or export the results
Once you have a ranked list, you can render it in whatever format suits your use case:
- Terminal table — the
printloop above is a good starting point for quick analysis. - CSV export — add
import csvand writeresultsto a file withcsv.DictWriterfor spreadsheet analysis or sharing. - Web UI — pass
resultsas JSON to a frontend table component (React, Vue, plain HTML) and add sortable column headers. - Database — insert each row into a database table and run SQL queries to compare traders over different time windows.
When fetching activity for many wallets in a loop, space your requests at least 500 ms apart to avoid hitting rate limits. For very large trader sets (100+ wallets), consider batching requests in groups and adding a longer sleep between groups.