Back to skills
SKILL.md
Crypto Portfolio Tracker Api
ASecurityTrack cryptocurrency portfolios with real-time prices, P&L calculations, and allocation analysis. Query Bitcoin, Ethereum, Solana and 10,000+ token holdings.
- 21 stars
- 0 votes
- 0 copies
- 6 views
- Added September 7, 2026
Works with
Security analysis
96/100- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 7 files and shows the line behind each finding
npx -y skills add modbender/skill-library-mcp --skill crypto-portfolio-tracker-api --agent claude-codeAre you the author of Crypto Portfolio Tracker Api?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-crypto-portfolio-tracker-api)---
name: crypto-portfolio-tracker-api
description: Track cryptocurrency portfolios with real-time prices, P&L calculations, and allocation analysis. Query Bitcoin, Ethereum, Solana and 10,000+ token holdings.
---
# Crypto Portfolio Tracker API
Track cryptocurrency portfolios with real-time prices and P&L calculations.
## Installation
```bash
npm install crypto-portfolio-tracker-api
```
## Usage
```javascript
const { PortfolioTracker } = require('crypto-portfolio-tracker-api');
const tracker = new PortfolioTracker();
// Get current price
const btc = await tracker.getPrice('BTC');
// Get multiple prices
const prices = await tracker.getPrices(['BTC', 'ETH', 'SOL']);
// Track portfolio with P&L
const portfolio = await tracker.trackPortfolio([
{ symbol: 'BTC', amount: 0.5, costBasis: 30000 },
{ symbol: 'ETH', amount: 10, costBasis: 2000 }
]);
console.log(`Total: $${portfolio.totalValue}`);
console.log(`P&L: $${portfolio.totalPnL}`);
```
## CLI
```bash
# Get price
npx crypto-portfolio-tracker-api price BTC
# Track portfolio from file
npx crypto-portfolio-tracker-api track portfolio.json
```
## API Methods
- `getPrice(symbol)` - Get single token price
- `getPrices(symbols)` - Get multiple prices
- `trackPortfolio(holdings)` - Calculate portfolio value and P&L
## Data Source
Powered by [PRISM API](https://prismapi.ai)
Files in this skill
- README.md
- SKILL.md
- cli.js
- examples/basic.js
- package.json
- skill.json
- src/index.js
Attribution
Related skills
View all in blockchain →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.