SEC EDGAR Filings & Insider Trading API avatar

SEC EDGAR Filings & Insider Trading API

Pricing

from $2.00 / 1,000 results

Go to Apify Store
SEC EDGAR Filings & Insider Trading API

SEC EDGAR Filings & Insider Trading API

Fetch official SEC EDGAR filings, 10-K, 10-Q, 8-K, Form 4 insider trading disclosures, ticker-to-CIK lookup, transaction-code filters, company facts, and JSON for AI agents.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Afonso Fernandes

Afonso Fernandes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Fetch official SEC EDGAR filings and Form 4 insider trading disclosures as clean JSON dataset items. Use it as a SEC EDGAR API for 10-K, 10-Q, 8-K, Form 4, ticker-to-CIK lookup, company filing monitoring, AI agents, spreadsheets, and financial data pipelines.

The Actor reads public SEC data, resolves tickers to CIKs, returns recent filing events, and can parse Form 4 insider transactions into structured rows with source URLs. It does not provide investment, legal, tax, or financial advice.

What It Does

  • Gets SEC EDGAR company filings from official SEC endpoints.
  • Resolves ticker symbols such as AAPL, MSFT, NVDA, and TSLA to SEC CIKs.
  • Filters by form type, including 10-K, 10-Q, 8-K, S-1, 13F, and Form 4.
  • Returns filing date, report date, accession number, form type, primary document, archive URL, and evidence URL.
  • Optionally parses Form 4 XML into insider transaction rows with owner, role, transaction code, shares, price, gross value, and source URL.
  • Optionally adds selected XBRL company facts.
  • Writes one normalized result per item to the default dataset for API, CSV, Excel, Make, Zapier, n8n, Airtable, databases, or AI agents.

Who It Is For

  • Financial developers building SEC data workflows.
  • Researchers and analysts monitoring public company filings.
  • Fintech applications that need filing metadata or insider transaction rows.
  • AI agents that need evidence-linked SEC data.
  • Automation developers building alerts, scheduled jobs, or dashboards.
  • Data teams feeding warehouses, spreadsheets, or internal research tools.

Use Cases

  • Monitor new SEC filings for a watchlist of tickers.
  • Retrieve latest 10-K annual reports.
  • Retrieve latest 10-Q quarterly reports.
  • Monitor 8-K current report events.
  • Track Form 4 insider transactions.
  • Detect insider purchases and sales as filed with the SEC.
  • Build structured financial filing datasets.
  • Feed SEC data into AI agents with source evidence.
  • Build automated company monitoring.
  • Research historical recent filings by ticker or CIK.

Example Input

{
"tickers": ["AAPL"],
"forms": ["4", "8-K", "10-Q", "10-K"],
"limit": 10,
"includeForm4Details": true,
"transactionCodes": ["S"],
"includeCompanyFacts": false
}

Example Filing Output

{
"recordType": "filing",
"company": {
"cik": "0000320193",
"ticker": "AAPL",
"name": "Apple Inc.",
"sic": "3571"
},
"form": "4",
"filingDate": "2026-08-13",
"reportDate": "2026-08-11",
"accessionNumber": "0001140361-26-032884",
"filingDetailUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126032884",
"primaryDocumentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126032884/xslF345X06/form4.xml"
}

Example Form 4 Transaction Fields

When includeForm4Details is enabled and a Form 4 document contains transaction rows, the dataset can also include:

  • recordType: insiderTransaction
  • issuerTradingSymbol
  • ownerName
  • officerTitle
  • transactionDate
  • transactionCode
  • acquiredDisposedCode
  • shares
  • pricePerShare
  • grossValue
  • sharesOwnedFollowingTransaction
  • sourceUrl

Use transactionCodes to keep only specific Form 4 codes, for example ["P"] for open-market purchases or ["S"] for sales. Leave it empty to return all parsed Form 4 transactions.

Ready-to-Run Examples

API Usage

REST

POST https://api.apify.com/v2/acts/dobus~sec-filing-events-insider-signals/runs?token=YOUR_APIFY_TOKEN
Content-Type: application/json
{
"tickers": ["TSLA"],
"forms": ["4"],
"limit": 10,
"includeForm4Details": true,
"transactionCodes": ["P"]
}

Read results from the run's defaultDatasetId:

GET https://api.apify.com/v2/datasets/DATASET_ID/items?clean=true&format=json

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("dobus/sec-filing-events-insider-signals").call(run_input={
"tickers": ["AAPL"],
"forms": ["4", "8-K", "10-Q", "10-K"],
"limit": 10,
"includeForm4Details": True,
"transactionCodes": ["S"],
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[:3])

JavaScript

import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "YOUR_APIFY_TOKEN" });
const run = await client.actor("dobus/sec-filing-events-insider-signals").call({
tickers: ["MSFT"],
forms: ["10-K", "10-Q", "8-K"],
limit: 10,
includeForm4Details: false
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.slice(0, 3));

curl

curl -X POST "https://api.apify.com/v2/acts/dobus~sec-filing-events-insider-signals/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"tickers":["BAC"],"forms":["4"],"limit":8,"includeForm4Details":true,"transactionCodes":["P"]}'

MCP / AI Agents

Use the Apify MCP server and expose this Actor as a tool:

{
"mcpServers": {
"apify-sec-edgar": {
"url": "https://mcp.apify.com?tools=dobus/sec-filing-events-insider-signals",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}

Good agent prompts:

  • "Get the latest Form 4 filings for AAPL and return insider transaction rows with source URLs."
  • "Monitor TSLA 8-K filings and summarize only the filing metadata, not investment advice."
  • "Fetch recent 10-K and 10-Q filings for MSFT as structured JSON."

Pricing

  • Actor start: USD 0.01 per run.
  • Result: USD 0.002 per default dataset item.

Example: a run that returns 10 dataset items costs USD 0.01 + 10 x USD 0.002 = USD 0.03, plus any Apify platform usage shown by Apify.

The source SEC data is public and free. Pricing covers normalization, parsing, rate limiting, retries, evidence links, dataset output, and maintenance.

FAQ

Is this a SEC EDGAR API?

Yes. It is an Apify Actor that can be run through the Apify API, schedules, integrations, or MCP. It returns SEC EDGAR data as structured JSON dataset items.

Does it cover Form 4 insider trading?

Yes. Use forms: ["4"] and enable includeForm4Details to parse available Form 4 XML documents into insider transaction rows. Use transactionCodes when you only want specific codes such as P or S.

Does it return investment recommendations?

No. It returns public filings and source URLs only. It does not score stocks, predict returns, or recommend trades.

Does it use official SEC data?

Yes. It uses SEC ticker/CIK mapping, company submissions, filing documents, and optional company facts from public SEC endpoints.

Can I run it on a schedule?

Yes. Save an Apify task with your watchlist and schedule it hourly, daily, or weekly.

What should an AI agent use this for?

Use it when the agent needs recent SEC filings, 10-K, 10-Q, 8-K, Form 4 insider transactions, ticker-to-CIK lookup, or evidence-linked public company filing data.

Troubleshooting

  • Empty dataset: widen forms, increase limit, or remove since.
  • No Form 4 transaction rows: the filing may not have parsable transaction rows, or includeForm4Details may be disabled.
  • No purchase or sale rows: remove transactionCodes or use a broader ticker/date range.
  • Invalid ticker: use a CIK directly if the ticker is ambiguous or newly listed.
  • Slow run: lower maxCompanies, lower limit, or keep requestsPerSecond conservative.

Compliance

This Actor returns public SEC data and source links. It is not investment, legal, tax, or financial advice. Always verify source filings before relying on the data.