Insider Trades Scraper: SEC EDGAR Form 4 by Ticker
Pricing
from $3.50 / 1,000 insider transaction extracteds
Insider Trades Scraper: SEC EDGAR Form 4 by Ticker
Pull clean, parsed Form 4 insider trades from SEC EDGAR by ticker. One row per transaction: insider, role, code, shares, price, total USD value, plus link to the filing XML. No auth, no scraping tricks. Uses SEC's public API. For traders, quants, finance researchers.
SEC Form 4 Insider Trades Scraper: by Ticker
Pull clean, parsed Form 4 insider trading transactions straight from SEC EDGAR by ticker. One row per transaction. Insider, role, code, shares, price, total USD value, links back to the filing XML. No auth, no scraping tricks, uses SEC's public APIs.
Built for finance researchers, retail traders, quants, and journalists who want a flat CSV/JSON of who-sold-what-and-when without writing the XML parser themselves.
What you get
One dataset row per insider transaction:
| field | example |
|---|---|
| ticker | AAPL |
| companyName | Apple Inc. |
| companyCik | 320193 |
| insiderName | LASTNAME FIRSTNAME |
| insiderCik | 1234567 |
| insiderRoles | ["director"] |
| officerTitle | Principal Accounting Officer |
| filingDate | 2026-05-29 |
| transactionDate | 2026-05-27 |
| transactionCode | S |
| transactionCodeLabel | Open market sale |
| securityTitle | Common Stock |
| shares | 50000 |
| pricePerShare | 311.02 |
| totalValueUsd | 15551000.00 |
| acquiredOrDisposed | D |
| sharesOwnedAfterTransaction | 3764576 |
| ownershipType | D |
| isDerivative | false |
| accessionNumber | 0001140361-26-023363 |
| filingUrl | https://www.sec.gov/Archives/.../...-index.htm |
| xmlUrl | https://www.sec.gov/Archives/... |
Full SEC transaction code legend ships in transactionCodeLabel, so there is no lookup table to maintain on your side.
Inputs
{"tickers": ["AAPL", "TSLA", "NVDA"],"sinceDays": 30,"includeDerivatives": true}
| input | type | default | notes |
|---|---|---|---|
tickers | string[] | demo list | Mixed case ok. If empty, the actor runs a demo list: AAPL, MSFT, GOOGL, AMZN, TSLA. |
sinceDays | integer | 30 | Lookback window from today. Set to 1 for a daily cron. |
since | YYYY-MM-DD | none | Overrides sinceDays if set. |
until | YYYY-MM-DD | today | Inclusive. |
includeDerivatives | boolean | true | Set false to skip options/RSU rows. |
userAgent | string | preset | SEC wants a contact in UA, override only if needed. |
Daily cron pattern
{ "tickers": ["AAPL", "MSFT", "NVDA", "AMZN"], "sinceDays": 1 }
Schedule daily at 22:00 UTC to pick up recent filings each run. The window runs from yesterday to today, so consecutive runs overlap by a day: dedupe on accessionNumber if you only want new filings.
What it doesn't do (and won't)
- No prediction, no "signal" scoring: raw clean data only.
- No PII beyond what SEC itself publishes (insider name + role, as required by law).
- No login, no captcha solving, no browser, pure HTTP against
data.sec.govandwww.sec.gov. - No source merging: one Actor, one source. Other exchanges (HKEX, B3, TSX) will get their own Actor.
Output schema
Each row is a flat JSON object (see table above). Datasets export as CSV/JSON/Excel/RSS directly through the Apify UI.
Pricing
Pay per event. Price per 1,000 events:
| Event | Base price | Bronze | Silver | Gold |
|---|---|---|---|---|
| Insider transaction extracted | $5.00 | $4.50 | $4.00 | $3.50 |
Bronze, Silver and Gold are the discounts Apify gives users of its paid plans. The Pricing tab always shows the current prices.
Run it through the API
Python, with the apify-client package:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("v0iddo/sec-form4-insider-trades").call(run_input={"tickers": ["AAPL", "META"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript, with the apify-client package:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('v0iddo/sec-form4-insider-trades').call({"tickers": ["AAPL", "META"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
One HTTP call that waits for the run and returns the rows (for runs that finish within 5 minutes):
curl -X POST "https://api.apify.com/v2/acts/v0iddo~sec-form4-insider-trades/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"tickers": ["AAPL", "META"]}'
Use it from an agent (MCP)
Claude, Cursor, VS Code and other MCP clients can call this actor as a tool through the Apify MCP server. Add it to the client's MCP configuration:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=v0iddo/sec-form4-insider-trades","headers": {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}}}}
FAQ
Do I need an account, cookies or an API key?
No. The actor reads public data without logging in. You only need an Apify account to start it.
How am I charged?
Pay per event, at the prices on the Pricing tab for your Apify plan (the Pricing section of this page lists them). The platform usage of the run is included in those prices, and your spending limit for a run is always respected.
Why did my run return no results?
The status message and the log of the run say why: usually nothing matched the input, or the source did not answer for a moment. Check the input against the example above and run it again.
Can I run it on a schedule?
Yes. Save your input as a task and add a schedule in the Apify Console (daily, hourly or with a cron expression). Each run gets its own dataset, so you keep a history.
Which formats can I export?
JSON, CSV, Excel, XML, HTML table and RSS from the Output tab or the API. Integrations send the rows to Google Sheets, Slack, Make, Zapier, n8n or a webhook.
Is collecting this data allowed?
The actor collects data that the source publishes openly, without a login. Public data can still be personal data under laws such as the GDPR, and sources have their own terms: make sure your use of the data follows the rules that apply to you.
What happens when the source changes?
An automated test runs the actor every day on the example input and checks the rows, not only that the run finished. When a check fails, the actor is repaired and rebuilt; the build history on this page shows each update.
Something is missing or wrong. Where do I report it?
Open an issue on the Issues tab of this actor with the run link. Requests for a new field are welcome too.
Related actors
- SEC 13F Scraper: Institutional Holdings by Filer
- SEC 13D/13G Beneficial Ownership Filings Scraper
- SEC 8-K Scraper: Material Events by Ticker
- Yahoo Finance Scraper: Stock Quotes and Key Statistics
- FCC ECFS Public Notices & Filings Scraper
- Federal Register Scraper: Rules, Proposed Rules, Notices
Maintained by
vøiddo studio, a small independent shop. Ships software the way friends recommend it. Bug? Tweet at the inbox or open an issue.