# Get recent insider open-market purchases

**Use case:** 

Finds open-market purchases (code P) of at least $250k by insiders of a small watchlist over the last 30 days. Useful for daily insider-buying alerts and cluster-buy detection. Returns one row per transaction with insider name, role, shares, price, total value and a plain-English summary.

## Input

```json
{
  "tickers": [
    "NVDA",
    "AMD",
    "PLTR",
    "SOFI",
    "INTC"
  ],
  "ciks": [
    "1067983"
  ],
  "formType": "4",
  "days": 30,
  "transactionCodes": [
    "P"
  ],
  "minTransactionValueUsd": 250000,
  "includeDerivative": false,
  "quarters": 1,
  "compareWithPrevious": true,
  "aggregateByCusip": true,
  "maxHoldingsPerFiling": 500,
  "includeAmendments": true,
  "onlyNew": false,
  "stateStoreName": "sec-insider-13f-state",
  "maxFilingsPerEntity": 100,
  "maxResults": 20
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "string"
  },
  "filingDate": {
    "label": "Filed",
    "format": "string"
  },
  "ticker": {
    "label": "Ticker",
    "format": "string"
  },
  "issuerName": {
    "label": "Company",
    "format": "string"
  },
  "insiderName": {
    "label": "Insider",
    "format": "string"
  },
  "insiderRelationship": {
    "label": "Role",
    "format": "string"
  },
  "transactionDate": {
    "label": "Trade date",
    "format": "string"
  },
  "transactionCode": {
    "label": "Code",
    "format": "string"
  },
  "transactionType": {
    "label": "Transaction",
    "format": "string"
  },
  "shares": {
    "label": "Shares",
    "format": "number"
  },
  "pricePerShare": {
    "label": "Price ($)",
    "format": "number"
  },
  "totalValueUsd": {
    "label": "Value ($)",
    "format": "number"
  },
  "sharesOwnedAfter": {
    "label": "Owned after",
    "format": "number"
  },
  "fundName": {
    "label": "Fund",
    "format": "string"
  },
  "reportPeriod": {
    "label": "Quarter",
    "format": "string"
  },
  "nameOfIssuer": {
    "label": "Holding",
    "format": "string"
  },
  "cusip": {
    "label": "CUSIP",
    "format": "string"
  },
  "valueUsd": {
    "label": "Position ($)",
    "format": "number"
  },
  "portfolioWeightPct": {
    "label": "Weight %",
    "format": "number"
  },
  "positionChange": {
    "label": "QoQ",
    "format": "string"
  },
  "sharesChangePct": {
    "label": "Change %",
    "format": "number"
  },
  "filingUrl": {
    "label": "Filing",
    "format": "string"
  }
}
```

## How it works

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

The SEC Insider Trading API: Form 4, 13F Holdings, Funds Actor is ready to run with the inputs already set for "Get recent insider open-market purchases". [Sign up or log in](https://console.apify.com/create-task-from-example/RGf6yHy4hMa4q9O8s) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get recent insider open-market purchases" task

The SEC Insider Trading API: Form 4, 13F Holdings, Funds Actor will start running based on the input automatically. You can also change all the input fields, like tickers, CIK numbers (funds or insiders), and more, to match your specific use case.

### 3. Receive the "Get recent insider open-market purchases" 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 type, filed, ticker, 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 "Get recent insider open-market purchases" task via API](https://apify.com/actose/sec-edgar-insider-trades-13f.md).

## About this Actor

This example demonstrates how to use [SEC Insider Trading API: Form 4, 13F Holdings, Funds](https://apify.com/actose/sec-edgar-insider-trades-13f.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/actose/sec-edgar-insider-trades-13f.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/actose/sec-edgar-insider-trades-13f.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`).
