SEC EDGAR API: Filings, Financials, Insider Trades
Pricing
from $3.00 / 1,000 companies
SEC EDGAR API: Filings, Financials, Insider Trades
Get SEC EDGAR data as clean rows: company profiles and filings, XBRL financials per fiscal year or quarter, Form 4 insider trades, 13F fund holdings, 10-K/10-Q sections as text, and alerts for new filings. Official sec.gov sources, no API key.
Pricing
from $3.00 / 1,000 companies
Rating
0.0
(0)
Developer
Plainsource
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Pull U.S. SEC EDGAR data as flat JSON rows: company profiles and filing lists, XBRL financial statements per fiscal year or quarter, Form 4 insider trades, 13F fund holdings, the text of 10-K and 10-Q sections, and alerts for new filings. Everything comes from official sec.gov endpoints. You don't need an SEC account or API key.
The input is a single mode plus a few fields with defaults, so the Actor works as a tool for AI agents through the Apify MCP server as well as in the Apify Console, the API, schedules and integrations.
Modes
mode | Give it | One row per | Source on sec.gov |
|---|---|---|---|
company | tickers, CIKs or names | company (profile + latest filings) | data.sec.gov/submissions |
financials | tickers | company and fiscal period | data.sec.gov/api/xbrl/companyfacts |
insider-trades | tickers, or nothing for the newest filings market-wide | Form 4 transaction | Form 4 XML in the EDGAR archive |
13f-holdings | fund manager names or CIKs | position in the 13F information table | 13F XML in the EDGAR archive |
filing-text | filing URLs, accession numbers, or tickers + form | document, or one 10-K/10-Q Item | the filing's main HTML document |
watch | tickers + form types | filing that is new since the last run | data.sec.gov/submissions |
Rows have a recordType field. Inputs that return nothing produce a free row with recordType info or error that says why, so a run never ends with an empty dataset and no explanation.
Examples
All outputs below are real rows from test runs on 2026-10-21, shortened where marked with ….
Company profile and latest filings
{ "mode": "company", "companies": ["AAPL", "MSFT"], "formTypes": ["10-K", "10-Q", "8-K"], "maxFilings": 3 }
{"recordType": "company","ticker": "AAPL","cik": "0000320193","companyName": "Apple Inc.","exchanges": ["Nasdaq"],"sic": "3571","sicDescription": "Electronic Computers","filerCategory": "Large accelerated filer","stateOfIncorporation": "CA","fiscalYearEnd": "09-26","businessAddress": { "street1": "ONE APPLE PARK WAY", "city": "CUPERTINO", "stateOrCountry": "CA", "zipCode": "95014" },"formerNames": [{ "name": "APPLE INC", "from": "2007-01-10", "to": "2019-08-05" }, …],"filingsReturned": 3,"latestFilings": [{ "form": "10-Q", "filingDate": "2026-07-31", "reportDate": "2026-06-27", "accessionNumber": "0000320193-26-000020","documentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/aapl-20260627.htm", … },{ "form": "8-K", "filingDate": "2026-07-30", "items": "2.02,9.01", … },…]}
dateFrom and dateTo narrow the filings list. fiscalYearEnd is month-day as the SEC stores it; companies with 52/53-week years show the nominal date.
Financial statements
{ "mode": "financials", "companies": ["NVDA"], "periodType": "annual", "maxPeriods": 2 }
{"recordType": "financials","ticker": "NVDA","companyName": "NVIDIA CORP","periodType": "annual","fiscalYear": 2026,"fiscalPeriod": "FY","periodStart": "2025-01-27","periodEnd": "2026-01-25","currency": "USD","form": "10-K","filedDate": "2026-02-25","accessionNumber": "0001045810-26-000021","revenue": 215938000000,"grossProfit": 153463000000,"operatingIncome": 130387000000,"netIncome": 120067000000,"epsBasic": 4.93,"epsDiluted": 4.9,"totalAssets": 206803000000,"totalLiabilities": 49510000000,"totalEquity": 157293000000,"cashAndEquivalents": 10605000000,"operatingCashFlow": 102718000000,"capex": 6042000000,"freeCashFlow": 96676000000,"weightedDilutedShares": 24514000000,"sharesOutstanding": 24300000000,"sharesOutstandingDate": "2026-02-20","sourceTags": { "revenue": "us-gaap:Revenues", "capex": "us-gaap:PaymentsToAcquireProductiveAssets", … },"derivedFields": [],"filingUrl": "https://www.sec.gov/Archives/edgar/data/1045810/000104581026000021/0001045810-26-000021-index.htm"}
How the rows are built:
- Periods are matched on each fact's start and end dates, not on the filing's
fy/fplabels, because a 10-K repeats two or three earlier years. - Tag fallbacks: each metric tries a list of US-GAAP tags, then IFRS tags (for 20-F and 40-F filers). For revenue that is
Revenues, thenRevenueFromContractWithCustomerExcludingAssessedTax, thenSalesRevenueNetand others.sourceTagsshows which tag was used for each value. - Quarterly rows: most companies never report Q4 on its own, and 10-Q cash flow statements are year-to-date. Those quarters are computed by subtraction within one tag and listed in
derivedFields. EPS is not additive, so it is left empty for Q4. - Restatements:
valueSource: "as-reported"(default) gives each figure as first filed."latest"uses the most recent filing for that period. - Raw facts:
rawTags, e.g.["us-gaap:AccountsPayableCurrent", "dei:EntityPublicFloat"], returns those tags one row per period with unit, form, filed date, accession and SEC frame.
Insider trades (Form 4)
{ "mode": "insider-trades", "companies": ["NVDA"], "maxFilings": 3, "transactionCodes": ["S"] }
{"recordType": "insider-trade","issuerTicker": "NVDA","insiderName": "Teter Timothy S.","insiderRole": "Officer (EVP, General Counsel and Sec)","isDirector": false,"isOfficer": true,"rule10b5One": true,"securityTitle": "Common Stock","transactionDate": "2026-09-21","transactionCode": "S","transactionDescription": "Open market or private sale","acquiredDisposed": "D","shares": 12483,"pricePerShare": 222.1932,"valueUsd": 2773637.72,"sharesOwnedAfter": 2705637,"directOrIndirect": "I","natureOfOwnership": "By Trust","footnotes": "The reported transaction was effected pursuant to a Rule 10b5-1 trading plan adopted by the Reporting Person on May 22, 2026. | Represents weighted average sales price. …","filingDate": "2026-09-23","accessionNumber": "0001696841-26-000014","xmlUrl": "https://www.sec.gov/Archives/edgar/data/1045810/000169684126000014/wk-form4_1790196985.xml"}
- Market-wide: leave
companiesempty to read the newest Form 4 filings from EDGAR's real-time "Latest Filings" feed.maxFilingsis the number of filings read, and one filing often holds several transactions. - What's included: derivative transactions (options, RSUs) are included with
isDerivative: trueand the underlying security. Holdings-only rows are not returned. - Code filter: use
transactionCodesto keep only some codes.Pis an open-market purchase,Sa sale.
13F fund holdings
{ "mode": "13f-holdings", "companies": ["Berkshire Hathaway"], "maxHoldings": 3 }
{"recordType": "holding","rank": 1,"issuer": "APPLE INC","titleOfClass": "COM","cusip": "037833100","valueUsd": 65950296923,"shares": 227917808,"sharesType": "SH","putCall": null,"investmentDiscretion": "DFND","percentOfPortfolio": 22.04,"filedRows": 12,"managerName": "Berkshire Hathaway Inc","managerCik": "0001067983","periodOfReport": "2026-06-30","filedDate": "2026-08-14","portfolioValueUsd": 299253556246,"positionsInFiling": 89,"infoTableUrl": "https://www.sec.gov/Archives/edgar/data/1067983/000119312526352200/56757.xml"}
The next rows were American Express (17.14%) and Coca-Cola (10.86%).
- Which filing: without
quarteryou get the latest 13F-HR. Usequarter: "2025-Q4"for an earlier one. - Combined rows: with
combineSameSecurityon (default), rows for the same CUSIP are summed. Berkshire files Apple as 12 rows. Turn it off to get rows exactly as filed. - Units: values are in dollars. Filings made before 2023-01-03 reported thousands of dollars, and those are multiplied by 1,000.
Filing text and 10-K / 10-Q sections
{ "mode": "filing-text", "companies": ["NVDA"], "formTypes": ["10-K"], "sections": ["1A"], "maxChars": 1000 }
{"recordType": "filing-text","ticker": "NVDA","form": "10-K","filingDate": "2026-02-25","accessionNumber": "0001045810-26-000021","documentUrl": "https://www.sec.gov/Archives/edgar/data/1045810/000104581026000021/nvda-20260125.htm","section": "1A","sectionTitle": "Risk Factors","text": "Item 1A. Risk Factors\n\nThe following risk factors should be considered in addition to the other information in this Annual Report on Form 10-K. …\n\nRisks Related to Demand, Supply, and Manufacturing","chars": 794,"totalChars": 114640,"truncated": true}
- Section names:
sectionstakes Item numbers (1,1A,7,7A,8) or names (business,risk-factors,mda,market-risk,financial-statements,legal-proceedings,controls). For a 10-Q,mdamaps to Part I Item 2 andrisk-factorsto Part II Item 1A. You can also writeP2-1and so on. 8-K items look like2.02. - Whole document: leave
sectionsempty. - Length: text longer than
maxCharsis cut at a paragraph break and markedtruncated. A full 10-K runs about 200,000 to 600,000 characters. - Tables: they come out as one line per row with
|between cells. WithincludeTablesoff, numeric tables are dropped and text-only layout tables are kept. - Other inputs:
filingUrlsaccepts EDGAR document URLs, index-page URLs,ix?doc=viewer URLs and bare accession numbers.
Watch for new filings
{ "mode": "watch", "companies": ["NVDA", "TSLA"], "formTypes": ["8-K", "10-Q", "10-K"], "stateKey": "my-watchlist" }
{"recordType": "new-filing","ticker": "TSLA","companyName": "Tesla, Inc.","form": "8-K","filingDate": "2026-10-02","acceptanceDateTime": "2026-10-02T17:04:26.000Z","items": "2.02,9.01","filingUrl": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026064366/0001628280-26-064366-index.htm","documentUrl": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026064366/tsla-20261002.htm","firstRun": true,"detectedAt": "2026-10-21T17:14:13.554Z"}
- Schedule it: run the same input hourly or daily. Each run returns only filings that runs with the same
stateKeyhave not returned yet. Repeats are never returned or charged. - First run: the first run for a company reports the last
initialLookbackDaysdays (default 7). Set it to 0 to start from now. - Where state lives: in the named key-value store
plainsource-sec-edgar-watch-statein your Apify account. - No new filings: you get one free
inforow.
Input fields
| Field | Default | Used by |
|---|---|---|
mode | company | all |
companies | [] | all; tickers, CIKs or names. A name takes EDGAR company search's top match, so tickers or CIKs are safer |
formTypes | [] | company, insider-trades (4, 4/A when empty), filing-text (10-K when empty), watch (all forms when empty) |
dateFrom, dateTo | empty | company, insider-trades for listed companies |
maxFilings | 10 | company, insider-trades |
periodType | annual | financials: annual, quarterly, both |
maxPeriods | 8 | financials |
valueSource | as-reported | financials: as-reported or latest |
rawTags | [] | financials |
transactionCodes | [] | insider-trades |
quarter | empty (latest) | 13f-holdings |
maxHoldings | 100 (0 = all) | 13f-holdings |
combineSameSecurity | true | 13f-holdings |
filingUrls | [] | filing-text |
sections | [] (whole document) | filing-text |
maxChars | 50000 | filing-text |
includeTables | true | filing-text |
stateKey | default | watch |
initialLookbackDays | 7 | watch |
Each run also writes a SUMMARY record to the default key-value store. It holds the rows charged per event, the number of SEC requests and any warnings, such as a filing that had no ownership XML.
Use with AI agents (MCP)
Add the Actor to the Apify MCP server and an agent can call it as a tool. With the hosted server, that means listing it in the tools parameter of https://mcp.apify.com. The agent sees the input schema, so field names and allowed values come from there. Calls that work well:
- "Latest 10-K risk factors for AMD":
{"mode":"filing-text","companies":["AMD"],"sections":["risk-factors"],"maxChars":20000} - "Microsoft revenue and free cash flow for the last 8 quarters":
{"mode":"financials","companies":["MSFT"],"periodType":"quarterly"} - "Open-market insider buys at Intel this year":
{"mode":"insider-trades","companies":["INTC"],"transactionCodes":["P"],"dateFrom":"2026-01-01","maxFilings":100}
Keep maxChars within the model's context budget. Rows carry filingUrl or documentUrl, so an agent can cite the filing.
Pricing
Pay per event. You pay a small fee per run plus a fee per row returned: per company, financial period row, insider transaction, holding, text section or new filing. The amounts are on the Pricing tab. These rows are free:
infoanderrorrows- watch-mode repeats
You can cap a run's cost with the run's maximum charge setting. The run stops cleanly when it is reached.
Data source and terms
All data comes from the U.S. Securities and Exchange Commission's EDGAR system. The SEC's website policy says that information on sec.gov "may be copied or further distributed by users of the web site without the SEC's permission" (SEC privacy and website information, "Website Dissemination"). The SEC asks for appropriate citation, so every row links back to its sec.gov source.
The Actor follows the SEC's fair access rules:
- User-Agent: every request declares a User-Agent with a contact address.
- Request rate: each run stays at or below 5 requests per second, half the SEC's limit of 10. Many runs can share one Apify IP address, so the margin leaves room for that.
- Throttling: if the SEC slows a run down, it waits and retries.
Limits
- XBRL tags are not consistent across companies. One company tags revenue
Revenues, anotherRevenueFromContractWithCustomerExcludingAssessedTax, and some switch tags between years or between their 10-Q and 10-K. The fallback lists cover common cases, not all of them, so checksourceTagsbefore comparing companies. Banks, insurers and REITs often have no tag for some metrics (JPMorgan has no capex tag), and those fields arenull. - Some fields are computed, not filed. Derived quarters,
freeCashFlowand atotalLiabilitiescomputed from total liabilities-and-equity minus equity are calculations, listed inderivedFields. - Multi-class share counts can be missing. Where the SEC's companyfacts data leaves out the cover-page share count for companies with several share classes (Alphabet, for example),
sharesOutstandingis empty;weightedDilutedSharesis usually filled. - Data is only as fresh as the SEC posts it. New filings show up in EDGAR within minutes. The XBRL companyfacts data can lag, and for some foreign filers it lags a lot: on 2026-10-21 it had no facts from TSMC's 20-F filed 2026-04-16. In that case the newest annual row is the previous year.
- Section extraction depends on headings. It needs "Item N." headings at the start of a line. Filings with unusual layouts, scanned exhibits or PDF main documents can come back with no sections found, and the
inforow then lists what was found. - Inputs are matched, not guessed. A company name takes EDGAR's top search match. Use a CIK when the name is ambiguous.
- Older 13F filings aren't covered. 13F filings before mid-2013 used text tables and are not parsed.
- This is not investment advice. The Actor reformats public SEC filings. It does not check them for accuracy, and filers sometimes make tagging errors that only a later amendment fixes.
Changelog
- 1.0 (2026-10-21): first version with six modes.