SEC EDGAR Insider Trades & Form D Scraper avatar

SEC EDGAR Insider Trades & Form D Scraper

Pricing

$5.00 / 1,000 sec result rows

Go to Apify Store
SEC EDGAR Insider Trades & Form D Scraper

SEC EDGAR Insider Trades & Form D Scraper

Get SEC Form 4 insider buys and sells and Form D private-offering notices from official EDGAR data by ticker, company name or CIK: owner roles, transaction codes, shares, prices and holdings. No API key or proxy.

Pricing

$5.00 / 1,000 sec result rows

Rating

0.0

(0)

Developer

Atesen Software

Atesen Software

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Features

Limited permissions

Share

Get every SEC Form 4 insider buy and sell and every Form D private raise for the tickers or CIKs you enter, as clean rows with owner, role, transaction code, shares, price and holdings after the trade, so you see when executives trade their own stock or a company raises money.

What does SEC EDGAR Insider Trades & Form D do?

This Actor extracts Form 4 insider transactions and Form D exempt-offering notices straight from the SEC's official EDGAR JSON and XML sources. Give it tickers, company names or CIK numbers plus a filing-date range, and it returns clean, flat dataset rows: who traded, their role, transaction code, shares, price and shares held afterwards.

No SEC API key, browser, login or proxy is needed. Requests are serial and rate-limited (default 2 per second, never above the SEC maximum of 10). The SEC fair-access policy asks automated clients to identify themselves: put your own name and email in the optional userAgent field (for example Jane Doe jane@example.com). Left empty, the Actor sends its own descriptive User-Agent.

  • Form 4 rows (recordType: "transaction"): one row per reported transaction, both non-derivative (common stock) and derivative (options, RSUs), with every joint reporting owner listed in an owners array.
  • Form D rows (recordType: "offering"): one row per offering notice with issuer, industry group, total offering amount, amount sold, number of investors and federal exemption codes.

Form D describes a private offering, not an insider purchase or sale, so it is kept in a clearly labelled record type.

What can you use SEC insider trading data for?

  • Insider-buying and selling monitors. Schedule the Actor daily for a watchlist of tickers and alert on reported purchases (transactionCode: "P") or large sales ("S"). These codes cover open-market or private transactions; the code alone does not establish the trading venue.
  • Equity research and quant backtesting. Build a dataset of executive and director transactions with prices and post-transaction holdings.
  • Venture and deal sourcing. Use Form D filings to spot companies that just raised money, by exemption type, industry group and amount sold.
  • Compliance, journalism and due diligence. Pull the official source URL for every row and verify it on sec.gov.
  • Data pipelines. Feed the dataset into Google Sheets, Slack, a database or a webhook with Apify integrations.

How to collect SEC EDGAR filings

  1. Open the Input tab and enter one or more companies. Use AAPL, Apple Inc. or 0000320193 for Apple. Private Form D issuers are not in the SEC ticker directory, so use their CIK.
  2. Choose the forms (4, 4/A, D, D/A) and an inclusive filing-date range. Leave both dates empty for the last 30 days through today (UTC). With only an end date, the range is the 30 days before it.
  3. Set small limits for a first run and click Start.
  4. Open the dataset and the SUMMARY record. Export as JSON, CSV, Excel, HTML or XML, or call the API.

Input

See the Input tab for every option. The main fields:

FieldDefaultMeaning
companies["AAPL"]1 to 20 tickers, exact company names or CIKs. Ambiguous names are rejected.
formTypesall four4, 4/A, D, D/A. Amendments are separate filings.
startDate, endDatelast 30 daysInclusive YYYY-MM-DD filing dates (not transaction dates).
maxItems100Maximum result rows, up to 10,000. Can stop mid-filing.
maxFilings100Maximum XML filings fetched across all companies, up to 1,000.
maxSubmissionPages10Older SEC history files per company, up to 100. Recent filings are always checked first.
maxRequests500Hard budget for every SEC request including ticker lookup and retries.
requestsPerSecond2Serial request rate, 1 to 10.
userAgentemptyOptional. Your name and contact email for the SEC, e.g. Jane Doe jane@example.com. Empty sends the Actor's generic User-Agent.

Example input (Apple Form 4 and 4/A filings from the last 30 days, run on 22 October 2026):

{
"companies": ["AAPL"],
"formTypes": ["4", "4/A"],
"maxItems": 200,
"maxFilings": 50,
"maxSubmissionPages": 1,
"maxRequests": 60,
"requestsPerSecond": 2
}

This real run returned 59 rows from 16 filings using 18 SEC requests in about 15 seconds, with complete: true in SUMMARY.

Output

You can download the dataset in JSON, CSV, Excel, HTML or XML. A Form 4 transaction row looks like this (real output from the run above):

{
"recordType": "transaction",
"rowId": "0001140361-26-040127:nonDerivative:2",
"accessionNumber": "0001140361-26-040127",
"formType": "4",
"filingDate": "2026-10-19",
"companyCik": "0000320193",
"companyName": "Apple Inc.",
"ticker": "AAPL",
"owners": [
{
"ownerCik": "0002100523",
"ownerName": "Borders Ben",
"isDirector": false,
"isOfficer": true,
"isTenPercentOwner": false,
"isOther": false,
"officerTitle": "Principal Accounting Officer"
}
],
"securityType": "nonDerivative",
"securityTitle": "Common Stock",
"transactionDate": "2026-10-16",
"transactionCode": "S",
"acquiredDisposed": "D",
"shares": 151,
"pricePerShare": 343.08,
"sharesOwnedFollowing": 39417,
"ownershipType": "D",
"sourceUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126040127/form4.xml"
}

A Form D offering row (CIK 1764677, real output):

{
"recordType": "offering",
"rowId": "0001764677-26-000004:offering:0",
"accessionNumber": "0001764677-26-000004",
"formType": "D",
"filingDate": "2026-08-27",
"companyName": "Nonlinear Materials Corp",
"entityType": "Corporation",
"industryGroup": "Other Technology",
"totalOfferingAmount": 1000000,
"totalAmountSold": 1000000,
"totalRemaining": 0,
"totalInvestors": 7,
"dateOfFirstSale": "2026-06-12",
"federalExemptions": ["06b"],
"sourceUrl": "https://www.sec.gov/Archives/edgar/data/1764677/000176467726000004/primary_doc.xml"
}
FieldTypeMeaning
recordTypestringtransaction (Form 4) or offering (Form D)
accessionNumber, rowIdstringFiling ID and a stable per-row ID for deduplication
companyCik, issuerCik, companyName, tickerstring or nullRequested company and the issuer named in the XML
filingDate, sourceUrlstringFiling date and the official SEC XML document
ownersarrayReporting owners with CIK, name, director / officer / 10% owner / other flags and officer title
securityType, securityTitlestringDerivative or non-derivative, and the security as reported
transactionDate, transactionCode, acquiredDisposedstringSEC transaction code and acquired (A) or disposed (D)
shares, pricePerShare, sharesOwnedFollowingnumber or nullReported quantity, price and holdings after the transaction
conversionOrExercisePrice, underlyingSecuritySharesnumber or nullDerivative-specific figures
totalOfferingAmount, totalAmountSold, totalRemaining, totalInvestorsnumber or nullForm D figures; not insider trading amounts
totalOfferingAmountRaw, federalExemptionsstring, arrayOriginal offering amount text (keeps Indefinite) and exemption codes

One row is one XML transaction; joint owners are listed inside owners and never multiply rows. Null means absent or non-numeric; a reported zero stays zero. Footnote-only values stay null. Amendments are separate accessions and are not merged into originals. Holdings-only entries are not transactions and produce no rows.

Run summary

Every run writes a SUMMARY record with items, filingsAttempted, requests, errors, truncations, stopReason and complete. complete is false when an error or a limit interrupted coverage, so you can tell a full result from a capped one. Errors are diagnostics only and are never written as billable result rows.

How much does it cost to scrape SEC EDGAR?

This Actor uses pay-per-event pricing: $0.005 per result row ($5 per 1,000 rows), event name result. There is no start fee and no charge for error or diagnostic records. Example: 30 insider transactions cost $0.15 in result charges. Platform usage is included in the price. The Pricing tab on the Store page is the authoritative current price.

Maximum items is a hard cap on charged rows. Set maxItems in the run options (or ?maxItems= in the API) and the run stops after that many rows: it never writes or charges more rows than that number. Leave it empty for no cap. Free status rows are not counted.

Tips and limits

  • Start with the defaults and a small maxItems, then widen the date range.
  • Dates filter filing dates. A transaction can happen days before it is filed.
  • The Actor reads the recent-submissions block first, then older history files in the order the SEC provides them, up to maxSubmissionPages. This is bounded retrieval, not a guarantee of complete history for very active filers over long ranges; check SUMMARY.truncations.
  • The SEC limit of 10 requests per second is aggregate. If you run several copies at once, lower requestsPerSecond so the total stays under it.
  • HTTP 403 or 429 from the SEC stops the run immediately. The Actor does not retry or bypass blocks.
  • Interrupted runs checkpoint to the STATE record. Recovery is best effort, so deduplicate by rowId downstream.

Use via API

One request runs the Actor, waits for it and returns the dataset items as JSON. Send your token in the Authorization header, not in the URL:

curl -X POST "https://api.apify.com/v2/acts/atesen-software~sec-edgar-insider-trades/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"companies":["AAPL"],"formTypes":["4"],"maxItems":20}'

The synchronous endpoint waits up to 300 seconds. For longer jobs start a run with POST https://api.apify.com/v2/acts/atesen-software~sec-edgar-insider-trades/runs and read the dataset when it finishes.

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('atesen-software/sec-edgar-insider-trades').call({ companies: ["AAPL"], formTypes: ["4"], maxItems: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Use with AI agents (MCP)

Claude Desktop, Cursor, VS Code and other MCP clients can call this Actor as a tool through the Apify MCP server. Load only this Actor with:

https://mcp.apify.com?tools=atesen-software/sec-edgar-insider-trades

Client config (sign in with Apify OAuth when the browser opens, or add an Authorization: Bearer <APIFY_TOKEN> header instead):

{
"mcpServers": {
"apify": { "url": "https://mcp.apify.com?tools=atesen-software/sec-edgar-insider-trades" }
}
}

Then ask in plain words, for example: "Show the 20 latest Form 4 insider trades at Apple with insider name, shares and price." The agent fills the same input fields you see on the Input tab, and runs are billed to your Apify account at the prices on the Pricing tab.

FAQ

Do I need an SEC API key or a proxy? No. The Actor reads public SEC endpoints directly. Add your own name and email in userAgent to identify yourself to the SEC as its fair-access policy asks. No paid proxy is used.

Is this legal? The data is public regulatory information published by the SEC. The Actor follows the SEC fair-access policy and does not bypass logins, paywalls or access restrictions. Reporting-owner names can still be personal data in some jurisdictions, so use the results lawfully. Addresses, phone numbers, signatures and other contact details are deliberately omitted.

Why is transactionCode "M" or "F" and not "P" or "S"? Transaction codes follow the SEC's Form 4 instructions. P is an open-market or private purchase, S an open-market or private sale, M an option exercise or conversion, F shares withheld for taxes, A a grant or award, G a gift. A P or S code alone does not establish the trading venue; consult the filing for transaction details.

Why is pricePerShare null? The filing left it blank or reported it in a footnote only. A reported price of 0 is kept as 0.

I got no results. What should I check? Check the filing-date range, the selected forms and the company identifier. Private Form D issuers are missing from the ticker directory and need their CIK. A legitimate no-match run can finish with zero rows. An invalid company or input also finishes without charges and shows the reason in the run status message and in SUMMARY.errors.

Can I search the whole market or all insiders at once? No. Input is a list of up to 20 companies per run. Run it again or schedule it for larger watchlists.

Can I use the data through an API or schedule it? Yes. Use the API tab, schedules and integrations (Google Sheets, Slack, webhooks, Make, Zapier) as with any Apify Actor.

Is this investment advice? No. This is regulatory source data. The Actor is independent of and not endorsed by the SEC.

Support

Found a bug or need an extra field? Open the Issues tab on this Actor with your run ID and we will look at it.

Data source: U.S. Securities and Exchange Commission, EDGAR (public domain U.S. government data). Built and maintained by Atesen Software.