# Insider Cluster Buys: last 30 days (SEC Form 4)

**Use case:** 

Every insider cluster buy of the last 30 days across the whole US market: two or more directors or officers of the same company buying their own stock on the open market within 30 days, together worth at least $100,000. From official SEC Form 4 filings, with each insider, amount and a link to the filing. Ready to schedule as a daily or weekly insider-buying alert.

## Input

```json
{
  "lookbackDays": 30,
  "clusterBuysOnly": true,
  "clusterSellsOnly": false,
  "includeClusterSignals": true,
  "clusterWindowDays": 30,
  "transactionCodes": [
    "P",
    "S"
  ],
  "minValueUsd": 0,
  "maxResults": 50,
  "onlyNewSinceLastRun": false
}
```

## Output

```json
{
  "filing_date": {
    "label": "Filing date",
    "format": "string"
  },
  "ticker": {
    "label": "Ticker",
    "format": "string"
  },
  "issuer_name": {
    "label": "Issuer name",
    "format": "string"
  },
  "insider_name": {
    "label": "Insider name",
    "format": "string"
  },
  "insider_roles": {
    "label": "Insider roles",
    "format": "array"
  },
  "transaction_date": {
    "label": "Transaction date",
    "format": "string"
  },
  "transaction_code": {
    "label": "Transaction code",
    "format": "string"
  },
  "shares": {
    "label": "Shares",
    "format": "number"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "value_usd": {
    "label": "Value usd",
    "format": "number"
  },
  "shares_owned_after": {
    "label": "Shares owned after",
    "format": "number"
  },
  "in_cluster": {
    "label": "In cluster",
    "format": "boolean"
  },
  "cluster_insiders": {
    "label": "Cluster insiders",
    "format": "integer"
  },
  "filing_url": {
    "label": "Filing url",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEC Insider Trading API (Form 4): live + history since 2006 Actor is ready to run with the inputs already set for "Insider Cluster Buys: last 30 days (SEC Form 4)". [Sign up or log in](https://console.apify.com/create-task-from-example/H3TkZEkG4GZfKla14) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Insider Cluster Buys: last 30 days (SEC Form 4)" task

The SEC Insider Trading API (Form 4): live + history since 2006 Actor will start running based on the input automatically. You can also change all the input fields, like days back (when no start date), cluster buys only, and more, to match your specific use case.

### 3. Receive the "Insider Cluster Buys: last 30 days (SEC Form 4)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as filing date, ticker, issuer name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Insider Cluster Buys: last 30 days (SEC Form 4)" task via API](https://apify.com/bosco_labs/sec-insider-trades.md).

## About this Actor

This example demonstrates how to use [SEC Insider Trading API (Form 4): live + history since 2006](https://apify.com/bosco_labs/sec-insider-trades.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bosco_labs/sec-insider-trades.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bosco_labs/sec-insider-trades.md

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`).
