# SEC EDGAR Form 4 Scraper (`fluxcurulin/sec-edgar-form4`) Actor

Extract structured insider transactions from SEC EDGAR Form 4 filings. Parses insider name, role, transaction type, shares, price per share, and total value. Supports multiple tickers and scheduled recurring runs for hedge funds, compliance teams, and financial analysts.

- **URL**: https://apify.com/fluxcurulin/sec-edgar-form4.md
- **Developed by:** [Josh Pinkerton](https://apify.com/fluxcurulin) (community)
- **Categories:** AI
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 per results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### SEC EDGAR Form 4 Scraper

Extract insider trading disclosures from SEC EDGAR Form 4 filings. Get insider transactions, holdings changes, and ownership events for any public company.

### Why use this scraper?

- Track insider buying and selling for trading signals
- Build datasets of executive transactions across multiple tickers
- Monitor ownership changes for compliance or research
- Avoid manual EDGAR searches with automated batch lookups

### How to use

1. Open the SEC EDGAR Form 4 Scraper in Apify Console
2. Enter tickers in `tickers`, e.g. `AAPL, MSFT, TSLA`
3. Set `daysBack` and `limit` to control the fetch window
4. Click Run. Output appears in the dataset as structured Form 4 events.

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `tickers` | array | Ticker symbols to query | `AAPL, MSFT` |
| `daysBack` | integer | How many days back to search | `30` |
| `limit` | integer | Max filings per ticker | `50` |

### Output

```json
{
  "ticker": "AAPL",
  "filing_date": "2026-06-15",
  "insider": "Tim Cook",
  "role": "CEO",
  "transaction_type": "SALE",
  "shares": 100000,
  "price": 210.5,
  "total_value": 21050000,
  "filing_url": "https://www.sec.gov/Archives/..."
}
```

### Pricing

Pay-per-event: **$0.01 per extracted result**. A 10-ticker weekly snapshot typically costs under $2.00.

### Tips

- Schedule weekly runs to maintain an insider-trading time series
- Use `daysBack: 7` for lightweight weekly snapshots
- Join with price data to compute transaction premiums or discounts

### FAQ

**Is EDGAR data free to use?**
Yes. SEC filings are public domain, but automated access should be respectful and cached when possible.

**What forms are covered?**
This actor targets Form 4 insider transaction filings. It does not cover Forms 3, 13F, or 13G.

# Actor input Schema

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

One ticker symbol per row

## `days_back` (type: `integer`):

How many days back to search for filings

## `limit` (type: `integer`):

Maximum filings to process per ticker

## Actor input object example

```json
{
  "tickers": [
    {
      "ticker": "AAPL"
    },
    {
      "ticker": "MSFT"
    }
  ],
  "days_back": 30,
  "limit": 50
}
```

# Actor output Schema

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

No description

# 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": [
        {
            "ticker": "AAPL"
        },
        {
            "ticker": "MSFT"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fluxcurulin/sec-edgar-form4").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": [
        { "ticker": "AAPL" },
        { "ticker": "MSFT" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("fluxcurulin/sec-edgar-form4").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    {
      "ticker": "AAPL"
    },
    {
      "ticker": "MSFT"
    }
  ]
}' |
apify call fluxcurulin/sec-edgar-form4 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fluxcurulin/sec-edgar-form4",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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