
Nansen Portfolio Tracker
This pulls wallet portfolio data from Nansen's API to show you how holdings have changed over time. You get historical balances going back 30 days, a current snapshot of what's in the wallet right now, and per-token PnL with realized gains, ROI, and buy/sell counts. Useful when you're tracking how a whale or protocol treasury has been rotating positions, or when you want to see actual performance numbers instead of just current balances. The PnL breakdown showing buys, sells, and remaining holdings is genuinely helpful for understanding trading behavior. Requires a Nansen API key and works across Ethereum and other chains they support.
- skills.sh installs
- 449
- GitHub stars
- 148
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nansen-ai/nansen-cli --skill nansen-portfolio-tracker --agent claude-codeInstalls into .claude/skills of the current project.
Files
Authentication
Browser login requests nansen:api for API-key-equivalent account API permissions; existing OAuth/MCP nansen:read semantics and separate wallet authorization are unchanged.
Before any research command or loop, require an explicitly selected API key or saved browser session. Run nansen auth status first. Its cached/unverified metadata does not prove credential validity or unlocked storage. Cached access-token expiry alone does not mean the session is unusable: the CLI normally renews a selected session automatically during an already-authorized research task, without another consent request or a separate account check. Stop on anonymous selection, invalid authentication state, blocked or uncertain renewal/cleanup, or an actual authentication failure, including rejected or expired refresh authority. Follow the CLI error guidance; use the free nansen account check when troubleshooting calls for it. Do not unset a failed key, erase a session or switch to anonymous access to retry.
Sponsors
Details
- Repository
- github.com/nansen-ai/nansen-cli
- Categories
- Testing & QA, CLI & Terminal, Finance & Trading, Web3 & Blockchain
- First seen
- Jun 3, 2026
More from nansen-ai/nansen-cli
All 37- Nansen Token Research441
- Nansen Trading436
- Nansen Fund Tracker431
- Nansen Smart Money Trend428
- Nansen Wallet Profiler413
- Nansen General Search412
- Nansen Defi Positions410
- Nansen Token Screener408
- Nansen Polymarket Deep Dive401
- Nansen Holder Analysis398
- Nansen Smart Alerts397
- Nansen Polymarket Trader Profile395
- Nansen Token Transfer Analysis395
- Nansen Exit Signals392
- Nansen Perp Screener392
- Nansen Polymarket Insider Scan391
- Nansen Wallet Deep Dive389
- Nansen Wallet Clustering388
- Nansen Dca Tracker387
- Nansen Sm Cross Chain Flows383
- Nansen Wallet Batch381
- Nansen Perp Trader Profile377
- Nansen Wallet Manager372
- Nansen Wallet Keychain Migration358