{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC 13D and 13G Scraper: Activist Stakes",
    "description": "Track Schedule 13D and 13G filings: who owns more than 5 percent of a public company. Get the stake, shares, investor type, the written purpose with activist signals, the change against the last filing and exits below 5 percent. By company, investor or market. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "xVNgSiUrhnYW3rw3C"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~sec-13d-13g-activist-stakes-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-sec-13d-13g-activist-stakes-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/parselab~sec-13d-13g-activist-stakes-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-sec-13d-13g-activist-stakes-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/parselab~sec-13d-13g-activist-stakes-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-sec-13d-13g-activist-stakes-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": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "filings",
              "issuers",
              "filers"
            ],
            "type": "string",
            "description": "Filings returns one row per Schedule 13D or 13G with the stake, the purpose and the change against the last filing. Companies returns one row per company with its holders, activist filers and stake changes. Investors returns one row per filer with its stakes in the period.",
            "default": "filings"
          },
          "scheduleTypes": {
            "title": "Schedule types",
            "type": "array",
            "description": "Which schedules to read: 13D for investors who may want to influence the company, 13G for passive investors. Leave empty for both.",
            "items": {
              "type": "string",
              "enum": [
                "13D",
                "13G"
              ]
            }
          },
          "tickers": {
            "title": "Stock tickers",
            "type": "array",
            "description": "Tickers of the companies whose large holders you want to see, for example AAPL, TSLA. With a company the whole history in the date range is returned. Leave empty to scan the whole market.",
            "items": {
              "type": "string"
            }
          },
          "ciks": {
            "title": "Company IDs (CIK)",
            "type": "array",
            "description": "SEC company numbers of the companies that are owned, for companies without a ticker.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company or filer names",
            "type": "array",
            "description": "Part of a name, for example Therapeutics or Capital. Only filings where the company or a filer has a name containing the text are read.",
            "items": {
              "type": "string"
            }
          },
          "filerNames": {
            "title": "Investor names",
            "type": "array",
            "description": "Part of the name of the investor that owns the stake, for example Icahn, Elliott or Vanguard. Applied to the reporting persons of each filing.",
            "items": {
              "type": "string"
            }
          },
          "minPercent": {
            "title": "Minimum stake (percent of class)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Keep only filings where the largest reported stake is at least this percent of the share class, for example 10."
          },
          "maxPercent": {
            "title": "Maximum stake (percent of class)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Keep only filings where the largest reported stake is at most this percent of the share class."
          },
          "activistOnly": {
            "title": "Only filings with activist signals",
            "type": "boolean",
            "description": "Schedule 13D only. Keeps filings whose written purpose states board changes, proxy or consent solicitations, governance changes, an agreement with the company or a letter or proposal to it. This is a keyword screen, read the purpose text.",
            "default": false
          },
          "excludeAmendments": {
            "title": "New schedules only (no amendments)",
            "type": "boolean",
            "description": "Skip amendments (13D/A and 13G/A) and keep only first filings, which show who just crossed 5 percent.",
            "default": false
          },
          "includeStakeChange": {
            "title": "Compare with the previous filing",
            "type": "boolean",
            "description": "For amendments, adds the previous stake, the change in percent points and in shares, and whether the stake grew or shrank. Costs a few extra requests per amendment.",
            "default": true
          },
          "includePurposeText": {
            "title": "Include the written purpose",
            "type": "boolean",
            "description": "Adds the text of Schedule 13D about the purpose of the transaction, the source of funds, recent transactions and agreements with others.",
            "default": true
          },
          "textLimit": {
            "title": "Text length limit",
            "minimum": 200,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum characters kept for each text field.",
            "default": 1200
          },
          "dateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "First filing date, YYYY-MM-DD. The default is 5 days ago. Schedules are structured only since December 2024, so earlier dates move to 2024-12-18."
          },
          "dateTo": {
            "title": "Filed to",
            "type": "string",
            "description": "Last filing date, YYYY-MM-DD. The default is today."
          },
          "onlyNewSinceLastRun": {
            "title": "Only filings not returned before",
            "type": "boolean",
            "description": "Skips filings that an earlier run already returned. Use it for daily alerts.",
            "default": false
          },
          "maxFilingsToScan": {
            "title": "Max filings to scan",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Safety limit for how many filings are read before the run stops, even when few match your filters.",
            "default": 2000
          },
          "contactEmail": {
            "title": "Contact email (optional)",
            "type": "string",
            "description": "Added to the request header as SEC fair access guidelines recommend. Leave empty if you prefer."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}