# Crypto Wallet Performance Tracker (`crypto-scraper/crypto-wallet-performance-tracker`) Actor

Track and analyze crypto wallet performance across multiple blockchains by scraping gmgn.ai. Monitor insider and whale wallets with PnL, win rate, and balance tracking. Supports Solana, Ethereum, Base, Tron, and Blast.

- **URL**: https://apify.com/crypto-scraper/crypto-wallet-performance-tracker.md
- **Developed by:** [Crypto Scraper](https://apify.com/crypto-scraper) (community)
- **Categories:** Developer tools, Automation
- **Features:** Full permissions
- **Stats:** 135 total users, 1 monthly users, 100.0% runs succeeded, 10 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Crypto Wallet Performance Tracker

Track and analyze insider & whale wallet performance across multiple blockchains by scraping data from https://gmgn.ai/.

### 🚀 Introduction

- Powerful actor for discovering high-performing crypto wallets
- Automatically scrapes and analyzes wallet activity data
- Identifies potential insider and whale wallets
- Supports multiple major blockchain networks
- Perfect for traders, researchers, and developers

### ✨ Key Features

#### 🔗 Multi-Blockchain Support

- Solana (SOL)
- Ethereum (ETH)
- Base (BASE)
- Tron (TRON)
- Blast (BLAST)

#### 📊 Comprehensive Wallet Analysis

- PnL percentage calculations
- Win rate tracking
- Average realized profit metrics
- Balance tracking in tokens and USD
- Cost basis analysis

#### ⚡ Powerful Capabilities

- Customizable time periods (7d/30d)
- Proxy configuration support
- Real-time data updates
- Structured output format

### 📝 Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `wallets` | array | Yes | List of wallet addresses to analyze |
| `chain` | string | Yes | Blockchain network (`sol`, `eth`, `base`, `tron`, `blast`) |
| `daysOption` | string | No | Analysis period (`7d`, `30d`, default: `30d`) |
| `proxy` | object | No | RECOMMENDED! Custom proxy configuration. See recommendation section |

#### Example Input

```json
{
  "wallets": [
    "61LtsXuMfC2SCUr7RYVRKBe3mmTTxUYeGt4HTN94CjKx",
    "BieeZkdnBAgNYknzo3RH2vku7FcPkFZMZmRJANh2TpW"
  ],
  "proxy": {
        "useApifyProxy": false,
        "proxyUrls": [
            "http://username:password@my-proxy.example.com:port"
        ]
  },
  "chain": "sol",
  "daysOption": "30d"
}
```

### 📈 Output Data

#### Metrics Tracked

| Metric | Description |
|--------|-------------|
| Total PnL (USD) | Total profit/loss in USD across all trades |
| PnL Percentage | Percentage return on investment (as float, e.g. 1.25 = 125%) |
| Unrealized Profits | Current paper gains/losses on held positions |
| Total Cost Basis | Total amount invested in purchases |
| Average Token Cost | Mean price paid per token |
| Average Realized Profit | Mean profit taken per successful trade |
| Current Balance | Current native token balance held on the specified blockchain |
| USD Balance | Current balance converted to USD value |
| Win Rate | Percentage of profitable trades (as float, e.g. 0.685 = 68.5%) |
| Time Period | Duration of analysis (7d/30d) |
| Wallet Details | Address and blockchain information |
| Error | Any errors encountered during analysis. Most of the time, this will be null |

#### Raw Example Json Output

```json
{
  "wallet": "61LtsXuMfC2SCUr7RYVRKBe3mmTTxUYeGt4HTN94CjKx",
  "chain": "sol",
  "daysOption": "30d",
  "totalPnlUsdAmount": 15234.50,
  "totalPnlPct": 25.6,
  "unrealizedUsdProfit": 3421.75,
  "totalUsdCost": 50000.00,
  "tokenAvgUsdCost": 22.45,
  "tokenAvgRealizedUsdProfit": 1250.80,
  "balance": 2234.567,
  "usdBalance": 53421.75,
  "pnlPct": 25.6,
  "winrate": 68.5,
  "error": null
}
```

#### TypeScript Interface

```typescript
interface WalletStats {
  wallet: string;
  chain: string;
  daysOption: string;
  totalPnlUsdAmount?: number;
  totalPnlPct?: number;
  unrealizedUsdProfit?: number;
  totalUsdCost?: number;
  tokenAvgUsdCost?: number;
  tokenAvgRealizedUsdProfit?: number;
  balance?: number;
  usdBalance?: number;
  pnlPct?: number;
  winrate?: number;
  error?: string;
}
```

#### Python Model

```python
from pydantic import BaseModel
from typing import Optional

class WalletStats(BaseModel):
    wallet: str
    chain: str
    daysOption: str
    totalPnlUsdAmount: Optional[float]
    totalPnlPct: Optional[float]
    unrealizedUsdProfit: Optional[float]
    totalUsdCost: Optional[float]
    tokenAvgUsdCost: Optional[float]
    tokenAvgRealizedUsdProfit: Optional[float]
    balance: Optional[float]
    usdBalance: Optional[float]
    pnlPct: Optional[float]
    winrate: Optional[float]
    error: Optional[str]
```

### 🚦 Getting Started

1. **Setup**
   - Create an Apify account
   - Access the Crypto Wallet Performance Tracker
   - Configure proxy settings (optional)

2. **Running the Actor**
   - Input target wallet addresses
   - Select blockchain network
   - Choose analysis timeframe
   - Start the actor

3. **Accessing Results**
   - Download structured JSON output
   - Integrate with your applications
   - Analyze wallet performance metrics

### 💡 Recommendations

- **Optimize Proxy Settings**: If you're analyzing wallets on multiple blockchains simultaneously, consider configuring custom proxies to ensure reliable data scraping.
  - **Recommended Proxy Services**:
    - SOAX ([soax.com](https://soax.com/?r=RGiwFrqz)) - Residential/Mobile/ISP, High success rate, Global coverage, Min. $100 per Month. Best choice for the best performance.
    - IPRoyal ([iproyal.com](https://iproyal.com/?r=591401)) - Residential/Datacenter, Affordable, Good performance, Min. $12
- **Don't use free proxies**: Free proxies often have low success rates and can lead to unreliable data.
- **Consider alternatives to Apify Proxies**: Our tests show that Apify proxies can be slower and experience more frequent blocks compared to [IPRoyal](https://iproyal.com/?r=591401)

### 💪 Benefits

#### Data Collection

- Automated wallet data gathering
- Real-time performance tracking
- Multi-chain support in one tool

#### Analysis Power

- Monitor trading performance

#### Developer-Friendly

- Clean, structured output
- TypeScript/Python support
- Easy API integration

### 💎 Pricing

- Just $10/month (+ Apify usage fees) to find wallets that make minimum 100% ROI
- Perfect for copy traders looking for winning strategies

**Disclaimer**: The tool provides insights based on historical wallet performance. Investment outcomes are subject to market risks, and past performance is not indicative of future results.

### 🎯 Use Cases

- Crypto Research
- Trading Strategy Development
- Whale Wallet Monitoring
- Market Analysis
- Portfolio Tracking

### 🤝 Support

- Documentation available
- Technical support
- Regular updates
- Community forum

### 🚀 Get Started Now

Don't miss out on valuable wallet insights. Start tracking high-performing wallets today!

[Try the Actor Now](https://apify.com) | [View Documentation](https://docs.apify.com) | [Get Support](https://apify.com/support)

# Changelog

This Actor's version history is a separate document: https://apify.com/crypto-scraper/crypto-wallet-performance-tracker/changelog.md

# Actor input Schema

## `wallets` (type: `array`):

List of wallet addresses to fetch activity from.

## `daysOption` (type: `string`):

Time period to fetch activity for

## `chain` (type: `string`):

Blockchain network to fetch data from

## `proxy` (type: `object`):

Select proxies to be used by your scraper..

## Actor input object example

```json
{
  "wallets": [
    "4Ye7cGB5FPMDph2jGrG1Nf6CTqsuoLH72JqFmFfZ9QaQ",
    "BieeZkdnBAgNYknzo3RH2vku7FcPkFZMZmRJANh2TpW"
  ],
  "daysOption": "30d",
  "chain": "sol",
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "wallets": [
        "4Ye7cGB5FPMDph2jGrG1Nf6CTqsuoLH72JqFmFfZ9QaQ",
        "BieeZkdnBAgNYknzo3RH2vku7FcPkFZMZmRJANh2TpW"
    ],
    "daysOption": "30d",
    "chain": "sol",
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crypto-scraper/crypto-wallet-performance-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "wallets": [
        "4Ye7cGB5FPMDph2jGrG1Nf6CTqsuoLH72JqFmFfZ9QaQ",
        "BieeZkdnBAgNYknzo3RH2vku7FcPkFZMZmRJANh2TpW",
    ],
    "daysOption": "30d",
    "chain": "sol",
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("crypto-scraper/crypto-wallet-performance-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "wallets": [
    "4Ye7cGB5FPMDph2jGrG1Nf6CTqsuoLH72JqFmFfZ9QaQ",
    "BieeZkdnBAgNYknzo3RH2vku7FcPkFZMZmRJANh2TpW"
  ],
  "daysOption": "30d",
  "chain": "sol",
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call crypto-scraper/crypto-wallet-performance-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crypto-scraper/crypto-wallet-performance-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uxHiqbdhSfPhZeekF/builds/OgW8URYw7OBls994N/openapi.json
