Insider Trading API - SEC Form 4 Buys & Sells
Pricing
$3.00 / 1,000 insider transactions
Insider Trading API - SEC Form 4 Buys & Sells
Insider trading data from SEC Form 4 filings: CEO, CFO, director and 10% owner buys and sells for any ticker or the whole market, with dollar value, role, % holding change and Rule 10b5-1 plan flag. Official EDGAR data, pay per result.
Pricing
$3.00 / 1,000 insider transactions
Rating
0.0
(0)
Developer
SmartMoney Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
2
Monthly active users
3 days ago
Last modified
Categories
Share
See what CEOs, CFOs, directors and 10% owners are buying and selling in their own companies β minutes after they file with the SEC.
| Data | Official SEC Form 4 filings (EDGAR) |
| Price | $3 per 1,000 insider transactions, no subscription. Apify's free plan credit covers a first test. |
| Freshness | Minutes after the SEC publishes a filing |
| Try it | The input is pre-filled with a working example: just click Start. |
Example output
| Ticker | Insider | Role | Transaction | Value | 10b5-1 plan |
|---|---|---|---|---|---|
| XYZ | J. Smith | CEO | Open-market purchase | $1,240,000 | No |
| ABC | R. Lee | Director | Open-market sale | $310,500 | Yes |
Illustrative rows; real runs return the full fields listed under Output.
This Actor pulls SEC Form 4 insider-trading filings straight from EDGAR and turns the raw XML into clean, one-row-per-trade data: dollar value, insider name and role, shares owned afterwards, % change in their holding, and whether the trade was pre-scheduled under a Rule 10b5-1 plan. No API key, no third-party websites, no browser β just official SEC data.
Why insider trades?
Insiders sell for many reasons β taxes, diversification, a new house. They buy for one: they think the stock is going up. Open-market insider purchases, especially by CEOs/CFOs and "cluster buys" by several insiders at once, are one of the most-studied signals in finance. This Actor gets you that signal as structured data.
What you can do with it
- π Trading signals β alert on CEO open-market buys over $100k, or cluster buying across a watchlist.
- π¬ Quant research β build and backtest insider-sentiment factors.
- π° Newsletters & fintech apps β power an "insider activity" feed or widget.
- π§ Due diligence β check insider behaviour before you invest or before earnings.
- π€ AI agents β answer "Has anyone at NVDA bought stock recently?" with a single tool call.
Features
- β Watchlist mode β any US tickers, any lookback window
- β Market-wide mode β the latest Form 4 filings across all companies (great on a 15-minute schedule)
- β Dollar value of every trade (shares Γ price)
- β Insider role β CEO, CFO, Director, 10% Ownerβ¦
- β Holding change % β how much of their stake they bought or sold
- β 10b5-1 plan flag β separates pre-scheduled sales from discretionary ones
- β Direct vs indirect ownership (e.g. "By Family Trust") and trade footnotes
- β Per-ticker summary β net $ bought vs sold and number of distinct insiders
- β Filters for transaction type and minimum dollar value β you only pay for rows you keep
- β Amended filings (4/A) included; link to the official SEC filing on every row
How to use it
Watchlist: last 30 days of buys and sells
{"tickers": ["AAPL", "NVDA", "TSLA"],"lookbackDays": 30,"transactionCodes": ["P", "S"]}
Only meaningful insider purchases
{"tickers": ["AMD", "INTC", "MU", "QCOM"],"lookbackDays": 90,"transactionCodes": ["P"],"minValueUsd": 100000}
Market-wide real-time feed (schedule every 15 minutes)
{ "latestFilingsCount": 50, "transactionCodes": ["P"] }
Transaction codes
| Code | Meaning |
|---|---|
P | Open-market purchase |
S | Open-market sale |
A | Grant / award |
M | Option exercise / conversion |
F | Shares withheld for taxes |
G | Gift |
D | Disposition to the issuer |
X | In-the-money option exercise |
Leave transactionCodes empty to get everything.
Output
Each row is one insider transaction. Example (illustrative values):
{"ticker": "AAPL","issuerName": "Apple Inc.","insiderName": "Doe Jane","insiderRole": "Chief Financial Officer","isOfficer": true,"transactionDate": "2026-09-18","transactionCode": "S","transactionType": "Open-market sale","shares": 10000,"pricePerShare": 231.5,"valueUsd": 2315000,"sharesOwnedAfter": 90000,"holdingChangePct": -10,"is10b5_1Plan": true,"directOrIndirect": "Direct","footnotes": ["The sale reported on this Form 4 was effected pursuant to a Rule 10b5-1 trading planβ¦"],"filingDate": "2026-09-20","filingUrl": "https://www.sec.gov/Archives/edgar/data/β¦-index.htm"}
Download as JSON, CSV, Excel, XML or HTML, or fetch via API.
A SUMMARY record in the run's key-value store rolls results up per ticker:
{ "AAPL": { "buys": 1, "sells": 4, "buyValueUsd": 115000, "sellValueUsd": 9260000, "netValueUsd": -9145000, "distinctInsiders": 3 } }
Use it from code or an AI agent
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("smartmoney-data/sec-insider-trades-tracker").call(run_input={"tickers": ["NVDA"], "transactionCodes": ["P"], "lookbackDays": 90})for trade in client.dataset(run["defaultDatasetId"]).iterate_items():print(trade["insiderName"], trade["insiderRole"], trade["valueUsd"])
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('smartmoney-data/sec-insider-trades-tracker').call({ tickers: ['NVDA'] });const { items } = await client.dataset(run.defaultDatasetId).listItems();
AI agents (Claude, ChatGPT, Cursor and other MCP clients): connect the Apify MCP server with this Actor preloaded:
https://mcp.apify.com/?tools=smartmoney-data/sec-insider-trades-tracker
Add this URL as a remote MCP server or custom connector in your AI client, sign in with Apify (OAuth), then just ask, for example:
Which insiders bought more than $500k of their own company's stock this week?
No-code: schedule it and send results to Google Sheets, Slack, email, Zapier, Make or a webhook with Apify integrations.
Part of the SmartMoney Data suite: Insider Trades Β· Hedge Fund 13F Holdings Β· Congress Stock Trades Β· Form 144 Planned Sales Β· 13D/13G Activist Stakes Β· 8-K Material Events
Pricing
Pay per result β you're charged for each insider transaction returned, nothing for filings that don't match your filters. See the Pricing tab for current rates. Set a maximum cost per run and the Actor stops cleanly when it's reached.
FAQ
How fresh is the data? Insiders must file Form 4 within 2 business days of a trade. The Actor reads EDGAR directly, so filings appear as soon as the SEC publishes them.
What's a 10b5-1 plan and why does it matter?
A pre-arranged trading plan adopted in advance. Sales under a plan are scheduled months earlier and usually say little about the insider's current view β the is10b5_1Plan flag lets you filter them out.
Does it cover non-US companies? It covers any company that files Form 4 with the SEC β essentially all US-listed issuers.
Why is pricePerShare empty on some rows?
Grants, awards and gifts often have no price. Those rows have valueUsd: null.
Is this legal to use? Yes. Form 4 filings are public records published by the SEC for exactly this purpose. The Actor follows the SEC's fair-access rules (β€10 requests/second, identified User-Agent).
Related Actors
- π¦ Hedge Fund 13F Holdings Tracker β what Berkshire, Pershing Square & co. bought and sold last quarter.
- ποΈ Congress Stock Trades Tracker β stock trades by US Senators and Representatives.
- π¨ Form 144 Planned Insider Sales β executives and directors who have filed to sell, before the sale happens.
- π― 13D & 13G Activist Stakes β activist funds and 5%+ owners, with their stated purpose.
- π£ 8-K Material Events β CEO/CFO exits, restatements, auditor changes, M&A and other red flags, with the key paragraph.
Support
Useful? A short review on this page helps other people find it, and we read every one.
Found a bug or need a feature? Open an issue on the Issues tab or email smartmoney-data@googlegroups.com β we usually reply within a day.
Data is provided for informational purposes only and is not investment advice.