{
  "openapi": "3.0.1",
  "info": {
    "title": "Binance Smart Money Traders & Positions Scraper",
    "description": "Scrape Binance Smart Money top traders, real-time positions, and performance stats. Extract USDT-M and COIN-M futures data including PNL, ROI, win rate, leverage. Perfect for copy trading research and crypto market analysis.",
    "version": "0.0",
    "x-build-id": "8seVFV5ap8HhKVadf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muhammetakkurtt~binance-smart-money-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muhammetakkurtt-binance-smart-money-scraper",
        "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/muhammetakkurtt~binance-smart-money-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muhammetakkurtt-binance-smart-money-scraper",
        "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/muhammetakkurtt~binance-smart-money-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muhammetakkurtt-binance-smart-money-scraper",
        "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",
        "properties": {
          "timeRange": {
            "title": "Time Range",
            "enum": [
              "24h",
              "3D",
              "7D",
              "30D",
              "90D",
              "1Y",
              "ALL"
            ],
            "type": "string",
            "description": "Time range for trader rankings",
            "default": "30D"
          },
          "rankingType": {
            "title": "Ranking Type",
            "enum": [
              "PNL",
              "ROI"
            ],
            "type": "string",
            "description": "How traders are ranked",
            "default": "PNL"
          },
          "onlyShowSharingPosition": {
            "title": "Only Show Position Sharers",
            "type": "boolean",
            "description": "Filter to show only traders who publicly share their positions",
            "default": false
          },
          "limit": {
            "title": "Maximum Results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of traders to fetch (leave empty for all available)"
          },
          "topTraderIds": {
            "title": "Top Trader IDs",
            "type": "array",
            "description": "List of Top Trader IDs to fetch positions for. If provided, only per-trader data is fetched (no leaderboard). Example: 4814568371709014273",
            "items": {
              "type": "string"
            }
          },
          "marketType": {
            "title": "Market Type",
            "enum": [
              "UM",
              "CM"
            ],
            "type": "string",
            "description": "Select the futures market type for fetching positions/orders. Leave empty to fetch both UM and CM markets."
          },
          "fetchPerformance": {
            "title": "Include Performance Statistics",
            "type": "boolean",
            "description": "Also fetch performance statistics (ROI, PNL, win rate, MDD, subscribers etc.) for each trader. ⚠️ Direct Position Fetch Mode only — ignored in leaderboard mode.",
            "default": true
          },
          "fetchChartData": {
            "title": "Include ROI/PNL Chart Data",
            "type": "boolean",
            "description": "Also fetch the ROI/PNL time-series chart for each trader (uses Time Range + Ranking Type). ⚠️ Direct Position Fetch Mode only.",
            "default": false
          },
          "fetchPositionHistory": {
            "title": "Include Closed Position History",
            "type": "boolean",
            "description": "Also fetch each trader's closed position history (USDT-M only), within the History Window below. ⚠️ Direct Position Fetch Mode only.",
            "default": false
          },
          "fetchOrderHistory": {
            "title": "Include Order History",
            "type": "boolean",
            "description": "Also fetch each trader's order history (UM and/or CM), within the History Window below. ⚠️ Direct Position Fetch Mode only.",
            "default": false
          },
          "historyDays": {
            "title": "History Window (days)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "How many days back to fetch for position/order history. Applies to the two history options above.",
            "default": 30
          },
          "signalSymbols": {
            "title": "Signal Symbols",
            "type": "array",
            "description": "Futures symbols to fetch Smart Money signals for (case-insensitive). Example: ETHUSDT, BTCUSDT. Tip: use a single entry ALL to fetch a market-wide overview of every symbol.",
            "items": {
              "type": "string"
            }
          },
          "signalTimeRange": {
            "title": "Signal Time Range",
            "enum": [
              "30m",
              "1h",
              "24h",
              "3D",
              "7D",
              "30D",
              "90D",
              "1Y",
              "ALL"
            ],
            "type": "string",
            "description": "Aggregation window for Smart Money signals.",
            "default": "30m"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}