# SEC Insider Trading (Form 4) & Fundamentals by Ticker (`issea1015/sec-insider-trades-fundamentals`) Actor

Many tickers in one run: parsed Form 4 insider transactions (buy/sell, shares, price, role) with a net-buying summary, and one clean fundamentals row per company from official XBRL data. Official SEC data, no login, no API key.

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

## Pricing

Pay per event

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 (Form 4) & Fundamentals by Ticker

Track what company insiders are buying and selling, and pull clean financial fundamentals, for as many US-listed tickers as you want in a single run. Data comes straight from the official SEC EDGAR system: no login, no API key, no scraping of third-party sites.

### What you get

**Insider trades (Form 4), one row per transaction**

- Ticker, company, insider name and role (CEO, CFO, Director, 10% owner)
- Transaction date, filing date, transaction code and a plain-English type (buy, sell, grant, option exercise, tax withholding, gift)
- Shares, price per share, total value in USD, shares owned after the trade, direct or indirect holding
- Filing accession number to trace every row back to the original filing

**Net-buying summary, one row per ticker** (optional)

- Number of buys and sells, total bought and sold in USD, net value, number of distinct insiders and a simple signal (net buying, net selling, neutral)

**Fundamentals, one row per company**

- Latest fiscal year: revenue, gross profit, operating income, net income, diluted EPS, total assets, total liabilities, equity, cash, operating cash flow
- Ready-made ratios: revenue growth year over year, gross, operating and net margin, liabilities to equity
- Taken from the company's own annual report (10-K) XBRL data, so numbers match the filing

### Why use it

- **Batch many tickers at once.** Put 50 tickers in, get one tidy dataset out.
- **Open-market filter.** By default only real buys (code P) and sells (code S) are kept, so option grants and tax withholding do not drown the signal.
- **Parsed, not raw.** The Form 4 XML is already turned into flat rows you can drop into a spreadsheet, database or alert.
- **Fair billing.** You pay per result. Tickers that fail or are not found are reported as error rows and are not charged.

### Input

| Field | Meaning |
|---|---|
| `tickers` | US tickers (AAPL, MSFT) or CIK numbers |
| `mode` | `insiderTrades`, `fundamentals` or `both` |
| `daysBack` | Insider trades: only filings from the last N days (default 90) |
| `maxFilingsPerTicker` | Insider trades: cap on Form 4 filings read per company (default 40) |
| `openMarketOnly` | Keep only purchases and sales (default on) |
| `includeSummary` | Add a net-buying summary row per ticker (default on) |

Example: `{"tickers": ["AAPL", "NVDA", "TSLA"], "mode": "both", "daysBack": 30}`

### Typical uses

- Daily or weekly insider-buying alerts for a watchlist (schedule the actor)
- Screening for cluster buying: several insiders buying the same stock within weeks
- Feeding fundamentals and insider activity into dashboards, models or AI agents
- Quick company snapshots for research and due diligence

### Notes

- Insider data covers Form 4 filings. Insiders must file within two business days of a trade, so data is near real time.
- Fundamentals use annual reports (10-K). Foreign private issuers that file 20-F or 40-F, and companies without XBRL data, return no fundamentals row.
- All data is public information published by the SEC. Not investment advice.

### Quick start

1. Open the **Input** tab: two tickers are prefilled, so you can press **Start** and see parsed insider trades and fundamentals in seconds.
2. Replace them with your watchlist (tickers or CIKs) and set `daysBack`.
3. Read the **Overview** table, or export JSON, CSV or Excel. Schedule the actor for daily insider-buying alerts.

### FAQ

**Is this raw filing data?** No. Form 4 XML is parsed into one row per transaction with a plain-English type, value in USD and a net-buying summary per ticker.
**Why only buys and sells by default?** Grants, option exercises and tax withholding bury the signal. Switch `openMarketOnly` off to see everything.
**How fresh is it?** Insiders must file within two business days, and the actor reads the SEC system live on every run.
**Do I pay for tickers that fail?** No. Unknown tickers return an error row that is not charged.
**A number looks wrong?** Report it in the Actor's Issues tab with the ticker; each row carries the filing accession number for tracing.

### More Actors from this developer

- [Claude Code Hooks & Skills Security Scanner](https://apify.com/issea1015/agent-config-audit): audit GitHub repos for risky Claude Code hooks, skills and MCP configs, $0.05 per repo.
- [App Store Scraper: Reviews, App Info & ASO Keyword Rank](https://apify.com/issea1015/appstore-reviews-ratings): App Store reviews, app metadata and keyword ranks for many apps and countries.
- [Hacker News Thread & Comment Digest](https://apify.com/issea1015/hacker-news-thread-digest): search HN by keyword or domain and export full comment trees with a one-line digest per thread.

# Actor input Schema

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

US stock tickers (AAPL) or CIK numbers. Batch as many as you like.

## `mode` (type: `string`):

insiderTrades = parsed Form 4 transactions; fundamentals = one financial snapshot per company; both = everything.

## `daysBack` (type: `integer`):

Only Form 4 filings filed in the last N days.

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

Caps how many Form 4 filings are read per company (each can hold several transactions).

## `openMarketOnly` (type: `boolean`):

Keep only transaction codes P (purchase) and S (sale), dropping grants, option exercises and tax withholding.

## `includeSummary` (type: `boolean`):

Total bought, total sold, net value and number of distinct insiders per ticker.

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "mode": "insiderTrades",
  "daysBack": 90,
  "maxFilingsPerTicker": 40,
  "openMarketOnly": true,
  "includeSummary": true
}
```

# Actor output Schema

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

All rows from this run (default dataset).

# 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",
        "MSFT"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("issea1015/sec-insider-trades-fundamentals").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",
        "MSFT",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("issea1015/sec-insider-trades-fundamentals").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",
    "MSFT"
  ]
}' |
apify call issea1015/sec-insider-trades-fundamentals --silent --output-dataset

```

## MCP server setup

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

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/umBgzWJFbX500wOoh/builds/aysW2z8UcRTeeoJ9Y/openapi.json
