SEC EDGAR API: Filings as Markdown, Financials, Form 4, 13F
Pricing
Pay per event
SEC EDGAR API: Filings as Markdown, Financials, Form 4, 13F
SEC filings made usable: 10-K and 10-Q sections as clean Markdown for LLMs, normalized financial statements, insider trades (Form 4) and 13F holdings, from official SEC data. No API key. Errors are free.
Pricing
Pay per event
Rating
0.0
(0)
Developer
Code Pulse
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 hours ago
Last modified
Categories
Features
Share
SEC EDGAR API: 10-K sections as clean Markdown, financial statements, insider trades and 13F holdings
Get what is inside SEC filings without parsing EDGAR yourself. Ask for a company by ticker and get the Risk Factors, Business and MD&A of its 10-K as clean Markdown, its income statement, balance sheet and cash flow as tidy numbers, its insider trades (Form 4) as rows, or what a fund manager owns (13F). All from official public SEC data. No API key, and failed lookups are free.
Try it free: Apify's free plan includes $5 of monthly credit, enough for about 500 10-K sections as Markdown, or 12,000 filing-list results. Press Start at the top of this page.
At a glance
- What it is: an API and no-code tool over SEC EDGAR for people building AI apps, research tools and spreadsheets.
- Five things it returns:
- Filing text: 10-K, 10-Q and 8-K split into Items (1, 1A, 7, 2.02...) as Markdown, ready for an LLM or a vector database.
- Financials: annual and quarterly income statement, balance sheet and cash flow, plus free cash flow and margins.
- Insider trades: one row per Form 4 transaction, with the insider's role, shares, price and holdings afterwards.
- Institutional holdings: a fund manager's 13F portfolio with each position's share of the total.
- Filing lists: every filing of the types you choose, with links.
- Input: tickers (AAPL) or CIK numbers.
- Price: pay per result: $0.0004 per filing listed, $0.005 per company's financials, $0.002 per insider filing, $0.01 per filing converted to text or per 13F.
- How to call it: the Apify Console, the REST API, n8n, Make, Zapier, or an AI agent through MCP.
Does this sound like you?
| What's going wrong | What this does about it |
|---|---|
| "I just want the Risk Factors section as text for my LLM, not a 300-page HTML file." | Filing text mode returns each Item as Markdown with a character and rough token count. |
| "XBRL tags differ between companies, so my revenue column keeps breaking." | Financials mode maps the different tags to one set of line items (revenue, net income, assets, cash flow...). |
| "Which executives are selling stock?" | Insider mode: one row per transaction with the role, shares, price and shares owned afterwards. |
| "What does this fund hold, and how big is each position?" | 13F mode with each holding's percentage of the portfolio. |
| "EDGAR rate-limits me and wants a User-Agent." | Handled: requests stay under the SEC's fair-access limit and identify themselves properly. |
Who uses it
- AI and RAG builders: feed filings into chatbots and research agents, with sections that cite back to the filing.
- Analysts and investors: screen financials and watch insider selling or fund moves without a terminal subscription.
- Fintech and data teams: a consistent schema across thousands of companies.
- Journalists and researchers: pull what a company said about a risk, over several years.
How to use it in 3 steps
- Choose What do you want? (for example Filing text as Markdown sections).
- Add companies by ticker (AAPL) or CIK. Adjust the options that appear for your choice.
- Press Start and read the Output tab, or download JSON, CSV or Excel.
What you get
Filing text (10-K Item 1A for Apple, shortened):
{"success": true, "ticker": "AAPL", "company": "Apple Inc.", "form": "10-K", "filing_date": "2026-11-03","document_url": "https://www.sec.gov/Archives/edgar/data/320193/.../aapl-20260926.htm","total_characters": 240558,"sections": [{ "item": "1A", "title": "Risk Factors", "characters": 86666, "approx_tokens": 21666, "truncated": true,"markdown": "The following summarizes factors that could have a material adverse effect on the Company's business..." }]}
Financials (Microsoft, one annual period, shortened):
{ "period_end": "2026-06-30", "fiscal_year": 2026, "revenue": 331839000000, "net_income": 133749000000, "total_assets": 758376000000,"operating_cash_flow": 182935000000, "free_cash_flow": 66987000000, "net_margin_pct": 40.31, "eps_diluted": 17.95 }
Insider trade (one row per transaction):
{ "ticker": "NVDA", "owners": ["Teter Timothy S."], "transaction_date": "2026-09-23", "transaction_type": "Open-market sale","shares": 12483, "price_per_share": 222.19, "shares_owned_after": 2705637, "owner_details": [{ "title": "EVP, General Counsel and Secretary" }] }
13F holdings:
{ "row_type": "holding", "company": "BERKSHIRE HATHAWAY INC", "report_date": "2026-09-30", "issuer": "AMERICAN EXPRESS CO", "value_usd": 45300000000, "portfolio_pct": 14.9 }
Anything that can't be returned (unknown ticker, no filings, no XBRL data) comes back as a success: false row with a plain-English reason. These rows are free.
Input options
| Option | What it does |
|---|---|
| What do you want? | Filing text, financials, insider trades, 13F holdings or a list of filings. |
| Companies | Tickers or CIKs. For 13F use the fund manager's CIK (Berkshire Hathaway is 1067983). |
| Filing types | For example 10-K, 10-Q, 8-K. Defaults are chosen per data type. |
| How many filings | Newest first. Defaults: 1 for text and holdings, 20 for insider trades and lists. |
| Only filings since | A date such as 2025-01-01. |
| Sections | For filing text: 1A, 7, 1, 7A or all. |
| Maximum length of each section | Default 40,000 characters, cut and flagged truncated beyond that. |
| Annual or quarterly, periods | For financials. |
| Largest holdings to return | For 13F. Default 500. |
Call it from code
curl -X POST "https://api.apify.com/v2/acts/codepulsehq~sec-edgar-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{ "companies": ["AAPL"], "dataType": "filing_text", "sections": ["1A"], "maxCharsPerSection": 20000 }'
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("codepulsehq/sec-edgar-api").call(run_input={"companies": ["MSFT", "NVDA"], "dataType": "financials", "periodType": "annual"})for row in client.dataset(run.default_dataset_id).iterate_items():for year in row["annual"]:print(row["ticker"], year["fiscal_year"], year["revenue"], year["net_margin_pct"])
Use it from an AI agent (MCP)
{ "mcpServers": { "sec-edgar": { "url": "https://mcp.apify.com?tools=codepulsehq/sec-edgar-api" } } }
Then ask: "Summarise the main risk factors in Apple's latest 10-K" or "Which Nvidia insiders sold stock last quarter?"
Pricing
| Data | Price |
|---|---|
| Filing listed | $0.0004 |
| Filing converted to Markdown sections | $0.01 |
| Company's financial statements | $0.005 |
| Insider filing (Form 4) parsed | $0.002 |
| 13F filing parsed | $0.01 |
You are charged only for results that were returned. Errors cost nothing, and you can set a maximum cost per run.
Quick answers
How do I get the Risk Factors section of a 10-K as text? Choose Filing text, add the ticker and set Sections to 1A.
How do I get a company's financial statements from the SEC? Choose Financial statements. The data comes from the SEC's XBRL company facts, mapped to one set of line items.
How do I get insider trading data (Form 4) into a spreadsheet? Choose Insider trades. One row per transaction, ready for CSV.
How do I see what Berkshire Hathaway or another fund owns? Choose Institutional holdings and use the manager's CIK. Each holding shows its share of the portfolio.
Do I need an SEC API key? No. EDGAR is free and open; this Actor handles the User-Agent and rate limits the SEC requires.
Is the data official? Yes. It is read from the SEC's own EDGAR systems. This Actor is not affiliated with or endorsed by the SEC, and nothing here is investment advice.
Limits you should know
- Section detection is heuristic. It works on the standard Item headings of 10-K, 10-Q and 8-K filings. If a document is unusual, you get the full text instead, with a note.
- Financials cover US-GAAP filers that file 10-K and 10-Q. Foreign private issuers filing 20-F, and very new listings, may return no data. Fourth quarters aren't reported separately by companies, so subtract the nine-month figure from the annual one.
- 13F data is delayed and partial. Filings are due 45 days after quarter end and show only long positions in US-listed securities. The same issuer can appear on several rows when a manager reports it under different sub-managers.
- Form 4 only. Forms 3 and 5 aren't included.
More from CodePulse
- US Federal Contracts & Grants API: federal opportunities, grants and award winners, no API key.
- Domain Intelligence API: WHOIS, DNS, SSL and tech stack for any company's domain.
- Speech to Text API: transcribe earnings-call recordings and other audio.
FAQ
Something broke or I need another field? Open an issue from the Issues tab and include the ticker and what you expected.