{
  "openapi": "3.0.1",
  "info": {
    "title": "Smart Money Tracker: 13F Hedge Funds, 13D Stakes, Insiders",
    "description": "Track smart money from public filings: hedge fund 13F portfolios with quarter changes, 13D/13G stakes, insider buying clusters, US House members' trades, unusual options activity, futures positioning (CFTC COT) and India FII/DII flows.",
    "version": "0.3",
    "x-build-id": "vt9wlh1BgccbRrBbM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tacps126~smart-money/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tacps126-smart-money",
        "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/tacps126~smart-money/runs": {
      "post": {
        "operationId": "runs-sync-tacps126-smart-money",
        "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/tacps126~smart-money/run-sync": {
      "post": {
        "operationId": "run-sync-tacps126-smart-money",
        "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": {
          "report": {
            "title": "Visual report (charts)",
            "type": "boolean",
            "description": "Also save one page with charts and tables built from this run's data: each fund's top positions and biggest quarter changes, insider net buying, holders above 5%, Congress trades, options flow (calls vs puts, unusual contracts), futures positioning with the COT index, and India's daily institutional flows. Open it from the run's Output tab. Charged per 250 rows in the report (a run with up to 250 is charged once).",
            "default": false
          },
          "funds": {
            "title": "Funds and investors",
            "type": "array",
            "description": "A name, a manager or an SEC CIK number. Built in: Warren Buffett (Berkshire), Michael Burry (Scion), Bill Ackman (Pershing), Ray Dalio (Bridgewater), Renaissance, Ken Griffin (Citadel), David Tepper (Appaloosa), Dan Loeb (Third Point), Seth Klarman (Baupost), Carl Icahn, Tiger Global, Stanley Druckenmiller (Duquesne), Soros, Cathie Wood (ARK), Lone Pine, Viking, Coatue, Li Lu (Himalaya), Gates Foundation, Elliott. Any other 13F filer by name or CIK.",
            "items": {
              "type": "string"
            }
          },
          "holdings": {
            "title": "Holdings",
            "enum": [
              "all",
              "changes"
            ],
            "type": "string",
            "description": "Changes compare the newest 13F report with the one before.",
            "default": "all"
          },
          "maxHoldingsPerFund": {
            "title": "Positions per fund",
            "minimum": 1,
            "type": "integer",
            "description": "The largest N positions plus up to N sold-out ones, or the N biggest changes.",
            "default": 50
          },
          "addTickers": {
            "title": "Add tickers",
            "type": "boolean",
            "description": "Look up the ticker for each holding's CUSIP.",
            "default": true
          },
          "tickers": {
            "title": "US stocks",
            "type": "array",
            "description": "For each stock: investors who reported a stake above 5% (Schedule 13D activist or 13G passive) and a summary of insider buying and selling, with cluster buying flagged.",
            "items": {
              "type": "string"
            }
          },
          "stakeDays": {
            "title": "Stakes filed in the last (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "How far back to read 13D/13G filings.",
            "default": 365
          },
          "latestPerHolder": {
            "title": "Newest filing per holder only",
            "type": "boolean",
            "description": "Off lists every filing and amendment.",
            "default": true
          },
          "insiderDays": {
            "title": "Insider trades window (days)",
            "minimum": 1,
            "maximum": 730,
            "type": "integer",
            "description": "Form 4 trades in this window are summarized.",
            "default": 90
          },
          "congressTrades": {
            "title": "US House members' trades (news)",
            "type": "boolean",
            "description": "Stock trades that House members report under the STOCK Act, for news and public information (5 U.S.C. 13107 does not allow other commercial use of these reports). When you list stocks above, only trades in those stocks.",
            "default": false
          },
          "congressDays": {
            "title": "Reports filed in the last (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How far back to read reports.",
            "default": 30
          },
          "congressMembers": {
            "title": "Only these members",
            "type": "array",
            "description": "Part of a name is enough, e.g. Pelosi. Empty = all members.",
            "items": {
              "type": "string"
            }
          },
          "optionsActivity": {
            "title": "Unusual options activity",
            "type": "boolean",
            "description": "For each stock: call and put volume, unusual contracts (volume well above open interest, i.e. new positions) with the premium paid, and max pain for the nearest expiry. Volumes are from the last trading session.",
            "default": false
          },
          "maxUnusualPerTicker": {
            "title": "Unusual contracts per stock",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Largest by premium.",
            "default": 10
          },
          "cotMarkets": {
            "title": "Futures markets",
            "type": "array",
            "description": "How speculators and hedgers are positioned, weekly change and the COT index. Built in: gold, silver, copper, crude-oil, natural-gas, corn, soybeans, wheat, sp500, nasdaq100, dow, russell2000, vix, treasury-10y, treasury-2y, treasury-bond, usd-index, euro, yen, pound, canadian-dollar, australian-dollar, new-zealand-dollar, mexican-peso, bitcoin, ether, or any CFTC contract code.",
            "items": {
              "type": "string"
            }
          },
          "cotWeeks": {
            "title": "Weeks for the COT index",
            "minimum": 26,
            "maximum": 520,
            "type": "integer",
            "description": "156 weeks = 3 years.",
            "default": 156
          },
          "indiaFlows": {
            "title": "India FII/DII flows",
            "type": "boolean",
            "description": "Foreign (FII/FPI) and domestic (DII) institutional net buying in the cash market, latest day, with streaks and 5 and 20-day totals from earlier runs.",
            "default": false
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows.",
            "default": 1000
          },
          "debug": {
            "title": "Debug",
            "type": "boolean",
            "description": "Verbose logs.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}