# Binance Smart Money Trader Positions Tracker API (`mayanksingh2233/binance-smart-money-trader-positions-tracker-api`) Actor

Track Binance smart money traders with real-time open positions and performance analytics. Get OPEN POSITIONS, PNL, ROI, win rate, leverage, and futures data (USDT-M & COIN-M). Ideal for copy trading, bots, and crypto market analysis.

- **URL**: https://apify.com/mayanksingh2233/binance-smart-money-trader-positions-tracker-api.md
- **Developed by:** [Mayank Singh](https://apify.com/mayanksingh2233) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.0018 / trader positions & analytics api call

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Binance Smart Money Trader Positions & Analytics API
Track top Binance smart money traders with real-time positions, PNL, ROI, and performance analytics.

![API Preview](https://raw.githubusercontent.com/mayanksingh2233/images/refs/heads/master/smart%20money%20trader%20open%20positions%201.png)
![API Preview](https://raw.githubusercontent.com/mayanksingh2233/images/refs/heads/master/smart%20money%20trader%20open%20positions%202.png)
---

### 📊 What You Get

* 📈 **Open Positions** (USDT-M & COIN-M)
* 💰 **PNL (Profit & Loss)**
* 📊 **ROI (Return on Investment)**
* 🎯 **Win Rate & Trade Analytics**
* 👤 **Trader Profile Data**
* ⚡ **Real-time Data via API**

---

### 🔌 Endpoints

#### 1️⃣ Get Trader Profile

Returns trader information and performance metrics.

**Params:**

* `traderId` (required)

---

#### 2️⃣ Get Trader Positions

Returns current open positions with analytics.

**Params:**

* `traderId` (required)
* `marketType` (UM / CM)
* `page` (default: 1)
* `rows` (default: 9)

---

### 📦 Example Output

```json
{
    "id": "4808778158325714688-1775587835043",
    "traderId": "4808778158325714688",
    "traderName": "炼金术师_回忆",
    "totalPositions": 3,
    "totalTrades": 3,
    "winRate": 0,
    "totalPnL": -162439.51,
    "positions": [
      {
        "symbol": "PLAYUSDT",
        "isolated": true,
        "side": "SHORT",
        "entryPrice": 0.0890937860715,
        "markPrice": 0.0911403,
        "liqPrice": 0.5871784,
        "margin": 316944.72913128,
        "maintenanceMargin": 3756.76065701,
        "marginRatio": 1.189557,
        "pnl": -1132.92686724,
        "roi": -0.06736383,
        "amount": -553587,
        "leverage": 3
      },
      {
        "symbol": "CLUSDT",
        "isolated": true,
        "side": "LONG",
        "entryPrice": 114.89,
        "markPrice": 114.16,
        "liqPrice": 57.57041193,
        "margin": 251007.2452112,
        "maintenanceMargin": 3493.220368,
        "marginRatio": 1.409521,
        "pnl": -3176.9454,
        "roi": -0.01278907,
        "amount": 4351.98,
        "leverage": 2
      },
      {
        "symbol": "XAGUSDT",
        "isolated": true,
        "side": "SHORT",
        "entryPrice": 69.99478269432,
        "markPrice": 71.80407742,
        "liqPrice": 85.71278407,
        "margin": 1529533.92716462,
        "maintenanceMargin": 125414.21291959,
        "marginRatio": 9.144948,
        "pnl": -158129.64184131,
        "roi": -0.10079064,
        "amount": -87398.498,
        "leverage": 4
      }
    ],
    "trader": {
      "accounts": [
        {
          "topTraderId": "4808778158325714688",
          "accountName": "炼金术",
          "myAccount": false
        }
      ],
      "topTraderId": "4808778158325714688",
      "traderName": "炼金术师_回忆",
      "accountName": "炼金术",
      "avatarUrl": "https://public.nftstatic.com/static/nft/res/nft-cex/S3/1698378409263_ytle1yosikl6jt1kuvqc064j6e0n101n.png",
      "introduction": "Track my real-time futures trades and performance over time.",
      "enable": true,
      "sharingPosition": true,
      "sharingPositionHistory": true,
      "sharingLatestRecord": false,
      "roi": -0.4634,
      "pnl": -12684862.8282671,
      "umMarginBalance": 5386064.3835339,
      "cmMarginBalance": 0,
      "daysActive": 2240,
      "mdd": 0.700931,
      "winRate": 0.4551,
      "netTransfer": 18070927.211801,
      "subscribers": 24367,
      "notificationEnabled": null,
      "isAi": false,
      "isPmUser": false,
      "futuresCopyTradePortfolioId": null,
      "spotCopyTradePortfolioId": null,
      "subscriptionStatus": "SUBSCRIBE",
      "subscriptionAppendix": null,
      "enableTips": false,
      "approvalSubscriptionPreviouslyEnabled": false,
      "pendingApprovals": 0,
      "tipAmount": 0
    },
    "analytics": {
      "totalTrades": 3,
      "winTrades": 0,
      "lossTrades": 3,
      "winRate": 0,
      "totalPnL": -162439.51,
      "avgPnL": -54146.5,
      "profitFactor": null
    }
  }
````

***

### 💡 Use Cases

- 🤖 Copy Trading Bots
- 📊 Trading Dashboards
- 📈 Strategy Backtesting
- 🔍 Smart Money Tracking
- 📉 Market Analysis Tools

***

### ⚡ Why This API?

- Clean & structured data
- Includes analytics (not just raw data)
- Optimized for real-time usage
- Built for traders & developers

***

### 📬 For Trader ID

traderId is present in the url of the binance smart money trader profile page

***

### 📬 Support

For custom features or integrations, feel free to reach out.

***

### 🚀 Get Started

Run the Actor with your desired `traderId` and start extracting smart money insights instantly.

# Actor input Schema

## `endpoint` (type: `string`):

Choose API endpoint: profile or positions

## `traderId` (type: `string`):

Enter Binance trader ID

## `marketType` (type: `string`):

Futures market type: UM (USDT-M) or CM (COIN-M)

## `page` (type: `integer`):

Page number for pagination

## `rows` (type: `integer`):

Number of results per page

## Actor input object example

```json
{
  "marketType": "UM",
  "page": 1,
  "rows": 9
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("mayanksingh2233/binance-smart-money-trader-positions-tracker-api").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("mayanksingh2233/binance-smart-money-trader-positions-tracker-api").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call mayanksingh2233/binance-smart-money-trader-positions-tracker-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=mayanksingh2233/binance-smart-money-trader-positions-tracker-api",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Binance Smart Money Trader Positions Tracker API",
        "description": "Track Binance smart money traders with real-time open positions and performance analytics. Get OPEN POSITIONS, PNL, ROI, win rate, leverage, and futures data (USDT-M & COIN-M). Ideal for copy trading, bots, and crypto market analysis.",
        "version": "0.0",
        "x-build-id": "JhwTusVVVanUV4AcS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/mayanksingh2233~binance-smart-money-trader-positions-tracker-api/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-mayanksingh2233-binance-smart-money-trader-positions-tracker-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/mayanksingh2233~binance-smart-money-trader-positions-tracker-api/runs": {
            "post": {
                "operationId": "runs-sync-mayanksingh2233-binance-smart-money-trader-positions-tracker-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/mayanksingh2233~binance-smart-money-trader-positions-tracker-api/run-sync": {
            "post": {
                "operationId": "run-sync-mayanksingh2233-binance-smart-money-trader-positions-tracker-api",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "endpoint",
                    "traderId"
                ],
                "properties": {
                    "endpoint": {
                        "title": "Endpoint",
                        "enum": [
                            "profile",
                            "positions"
                        ],
                        "type": "string",
                        "description": "Choose API endpoint: profile or positions"
                    },
                    "traderId": {
                        "title": "Trader ID",
                        "type": "string",
                        "description": "Enter Binance trader ID"
                    },
                    "marketType": {
                        "title": "Market Type",
                        "enum": [
                            "UM",
                            "CM"
                        ],
                        "type": "string",
                        "description": "Futures market type: UM (USDT-M) or CM (COIN-M)",
                        "default": "UM"
                    },
                    "page": {
                        "title": "Page",
                        "type": "integer",
                        "description": "Page number for pagination",
                        "default": 1
                    },
                    "rows": {
                        "title": "Rows",
                        "type": "integer",
                        "description": "Number of results per page",
                        "default": 9
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
