# SEC Insider Trades API – Form 4 Buys & Sells – $1.50/1k (`henrycrawl/sec-insider-trades`) Actor

Insider transactions from SEC Form 4 by ticker: insider name and role, date, transaction code, shares, price, value and shares owned after. Works with AI agents via Apify MCP. Pay only per result; error rows are free.

- **URL**: https://apify.com/henrycrawl/sec-insider-trades.md
- **Developed by:** [Henry Crawl](https://apify.com/henrycrawl) (community)
- **Categories:** Business, Developer tools, MCP servers
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 transactions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## SEC Insider Trades API – Form 4 Buys & Sells by Ticker

See what executives, directors and 10% owners are buying and selling: every transaction from SEC Form 4 filings for any US ticker, one clean row per trade, straight from official EDGAR data.

Form 4 reporting persons are company insiders whose name and role are public by SEC rule. Addresses and signatures are not returned. Requests use a declared User-Agent and stay under SEC's 10 requests/second limit.

### What you get

| Field | Description |
|---|---|
| ticker, issuerCik, issuerName | Company |
| insiderName, insiderCik | Reporting insider (public SEC filer) |
| relationship, officerTitle, isDirector, isOfficer, isTenPercentOwner | Insider role |
| securityTitle, isDerivative | Common stock (Table I) or options/RSUs (Table II) |
| transactionDate | Trade date |
| transactionCode, transactionDescription | SEC code (P purchase, S sale, A award, M exercise, F tax, G gift...) and meaning |
| acquiredOrDisposed | A = acquired, D = disposed |
| shares, pricePerShare, transactionValue | Size, price and shares × price |
| sharesOwnedAfter | Holdings after the trade |
| directOrIndirect, ownershipNature | Direct (D) or indirect (I, e.g. via trust) |
| rule10b5_1Plan | Trade made under a 10b5-1 plan (when reported) |
| exercisePrice, expirationDate, underlyingSecurity, underlyingShares | Derivative trades only |
| form, filingDate, accessionNumber, filingIndexUrl, xmlUrl | Source filing |

### Example output (real row)

```json
{"ticker": "AAPL", "issuerCik": "320193", "issuerName": "Apple Inc.", "insiderName": "LEVINSON ARTHUR D", "insiderCik": "0001214128", "relationship": "Director", "isDirector": true, "isOfficer": false, "securityTitle": "Common Stock", "isDerivative": false, "transactionDate": "2026-11-16", "transactionCode": "S", "transactionDescription": "Open market or private sale", "acquiredOrDisposed": "D", "shares": 36792, "pricePerShare": 352.26, "transactionValue": 12960349.92, "sharesOwnedAfter": 3662784, "directOrIndirect": "D", "rule10b5_1Plan": false, "form": "4", "filingDate": "2026-11-18", "type": "result", "status": "OK"}
```

### Pricing

Pay per result: **$1.50 per 1,000 transactions**. No start fee. Error rows (unknown ticker, no match) are free. `maxResults` caps your spend.

### Use with AI agents (MCP)

Add this actor as a tool for Claude, ChatGPT or any MCP client:
`https://mcp.apify.com/?tools=henrycrawl/sec-insider-trades`
Ask e.g. "Which Nvidia insiders sold stock in the last 3 months, and for how much?"

### Input example

```json
{
  "tickers": ["AAPL", "NVDA"],
  "dateFrom": "2025-01-01",
  "maxFilingsPerTicker": 10,
  "transactionCodes": ["P", "S"],
  "maxResults": 30
}
```

Leave `transactionCodes` empty for all transaction types. Set `includeDerivative` to false to keep only common-stock trades.

# Actor input Schema

## `tickers` (type: `array`):

US-listed tickers (AAPL, NVDA) or SEC CIK numbers of the issuer company.

## `dateFrom` (type: `string`):

Earliest Form 4 filing date (YYYY-MM-DD). Empty = no lower limit.

## `dateTo` (type: `string`):

Latest Form 4 filing date (YYYY-MM-DD). Empty = today.

## `maxFilingsPerTicker` (type: `integer`):

Stop after this many Form 4 filings per ticker, newest first (0 = no limit). One filing can contain several transactions.

## `transactionCodes` (type: `array`):

Only keep these SEC transaction codes, e.g. P (purchase), S (sale), A (award), M (option exercise), F (tax withholding), G (gift). Empty = all.

## `includeDerivative` (type: `boolean`):

Also return options / RSU transactions from the derivative table (Table II).

## `includeAmendments` (type: `boolean`):

Also read Form 4/A amendments.

## `maxResults` (type: `integer`):

Maximum number of transaction rows for the whole run (you are only charged for delivered rows; error rows are free).

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "NVDA"
  ],
  "dateFrom": "2025-01-01",
  "maxFilingsPerTicker": 10,
  "includeDerivative": true,
  "includeAmendments": true,
  "maxResults": 30
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, plus free error rows (type = error).

## `summary` (type: `string`):

Counts for this run (SUMMARY record).

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tickers": [
        "AAPL",
        "NVDA"
    ],
    "dateFrom": "2025-01-01",
    "maxFilingsPerTicker": 10,
    "maxResults": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("henrycrawl/sec-insider-trades").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tickers": [
        "AAPL",
        "NVDA",
    ],
    "dateFrom": "2025-01-01",
    "maxFilingsPerTicker": 10,
    "maxResults": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("henrycrawl/sec-insider-trades").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tickers": [
    "AAPL",
    "NVDA"
  ],
  "dateFrom": "2025-01-01",
  "maxFilingsPerTicker": 10,
  "maxResults": 30
}' |
apify call henrycrawl/sec-insider-trades --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,henrycrawl/sec-insider-trades"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/B266GdBmesk5vsKl1/builds/gKpsjoVw6HBQvJNFO/openapi.json
