SEC EDGAR API

Get what is inside SEC filings as clean data: the Risk Factors of a 10-K as Markdown, financial statements as tidy numbers, insider trades as rows, a fund's 13F portfolio. By ticker, with no API key.

Try it on Apify Examples on GitHub

From $0.0004 per filing listed, $0.005 per company’s financials, $0.002 per insider filing, $0.01 per 10-K converted to Markdown or per 13F. Made by CodePulse; these pages document our hosted Actor.

Quick start

export APIFY_TOKEN=...   # free Apify account: Console > Settings > API & Integrations

curl -sS -X POST \
  "https://api.apify.com/v2/acts/codepulsehq~sec-edgar-api/run-sync-get-dataset-items?token=${APIFY_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"companies": ["AAPL"], "dataType": "filing_text", "sections": ["1A"], "maxCharsPerSection": 20000}'

Guides

Track insider trades from SEC Form 4 filings

Get SEC Form 4 insider buying and selling as rows by ticker with Python and no API key, and filter for open-market purchases.

How to get the Risk Factors section of a 10-K as clean text for an LLM

Get Item 1A of any 10-K as Markdown by ticker, ready for an LLM, a summary or a year-on-year comparison. No parsing of EDGAR HTML.

How to get SEC financial statements as structured data

Annual and quarterly income statement, balance sheet and cash flow for any US public company by ticker, from SEC XBRL data, with one consistent set of line items.

How to track insider trading (SEC Form 4) programmatically

Get insider buys and sells from Form 4 filings by ticker: who traded, their role, shares, price and holdings afterwards, one row per transaction.

How to get a fund's 13F holdings through an API

Get any institutional manager's latest 13F portfolio from SEC EDGAR: every position with value, shares and percent of the portfolio.

Frequently asked questions

Do I need an SEC API key? No. EDGAR is free and open. The Actor identifies itself properly and stays under the SEC’s fair-access limit for you.

Is the data official? Yes, it is read from the SEC’s own systems. This project is not affiliated with or endorsed by the SEC, and nothing here is investment advice.

What does it cost? $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. Errors are free.

Which filings can it convert to text? 10-K, 10-Q and 8-K are split into their Items (for example 1A Risk Factors, 7 MD&A, 2.02 earnings). Other forms come back as full text.

More from CodePulse