Last checked

How to pull SEC EDGAR filings and Form D funding rounds

Unofficial tool. Not affiliated with, endorsed by, or sponsored by the U.S. Securities and Exchange Commission.

Not investment advice. Confirm filings at sec.gov.

SEC EDGAR has free public APIs and none of them needs a key. For one company, the submissions file lists its recent filings. For words inside filings, or for every new Form D (the notice a company files when it raises money privately under Regulation D), use EDGAR full-text search, which covers 2001 onward. The one thing you must get right is the request header: the SEC asks every automated client to identify itself with a contact email and to stay under its fair-access rate limit.

In short

  1. Send a User-Agent with a name and contact email on every request.
  2. One company: map the ticker to a CIK with https://www.sec.gov/files/company_tickers.json, then GET https://data.sec.gov/submissions/CIK##########.json.
  3. Words, or new Form D filings: GET https://efts.sec.gov/LATEST/search-index with q, forms and a date range.
  4. Keep well under 10 requests a second and back off on a 403 or 429.

One company’s filings

import json
from urllib.request import Request, urlopen

HEADERS = {"User-Agent": "YourCompany research [email protected]", "Accept": "application/json"}

def get_json(url):
    with urlopen(Request(url, headers=HEADERS), timeout=30) as response:
        return json.load(response)

cik = "320193"  # Apple; look tickers up in https://www.sec.gov/files/company_tickers.json
data = get_json(f"https://data.sec.gov/submissions/CIK{cik.zfill(10)}.json")
recent = data["filings"]["recent"]
for form, date, accession in zip(recent["form"], recent["filingDate"], recent["accessionNumber"]):
    if form in ("10-K", "10-Q"):
        print(form, date, accession)

The recent block holds the company’s latest filings as parallel lists, one list per field. A ticker or CIK on its own gets you at least the last year of filings, or the latest 1,000 if that covers more. Older filings are in the extra JSON files listed under filings.files.

Search inside filings, or list new Form D filings

from urllib.parse import urlencode

params = {"q": '"artificial intelligence"', "forms": "10-K", "dateRange": "custom", "startdt": "2026-01-01", "enddt": "2026-10-26"}
hits = get_json("https://efts.sec.gov/LATEST/search-index?" + urlencode(params))["hits"]["hits"]

form_d = {"forms": "D,D/A", "dateRange": "custom", "startdt": "2026-10-19", "enddt": "2026-10-23"}
raises = get_json("https://efts.sec.gov/LATEST/search-index?" + urlencode(form_d))["hits"]["hits"]

Full-text search returns at most 10,000 hits per query. A hit tells you that a Form D exists. The amount raised, amount sold and investor count are in the filing’s own primary_doc.xml, which is one more request per filing.

Form D filings also list related persons: executives, directors and promoters, with their addresses. If you only need the company and the raise, don’t copy that section.

When to stop writing this yourself

Pacing, back-off, joining the ticker list to submissions, and reading each Form D’s XML is a fair amount of plumbing. We built and publish a tool for this on Apify: the SEC EDGAR Filings Scraper. It has two modes. filings returns one row per filing with links to the filing index and main document. formD returns one row per Form D with the issuer and offering details. It is billed per result. Status rows such as no-results and rate-limited are free.

Filings rows: accessionNumber, cik, companyName, tickers, form, fileDate, periodOfReport, items (8-K items), description, matchedDocument, matchedDocumentType, sic, businessLocation, stateOfIncorporation, fileNumber, documentUrl, filingIndexUrl, source.

Form D rows (issuer and offering only) include issuerName, cik, entityType, jurisdictionOfIncorporation, issuerCity, issuerState, industryGroup, federalExemptions, dateOfFirstSale, totalOfferingAmount, totalAmountSold, totalRemaining, investorsAlreadyInvested, hasNonAccreditedInvestors, filingIndexUrl and formDUrl. The Actor README on the Store lists every field. The Form D related-persons list, sales-compensation recipients, signer names and issuer phone number are never read into results. No SEC seal or logos are used.

What our tests returned on 26 October 2026:

InputRowsTime
{"ticker":"AAPL","formTypes":["10-K","10-Q"],"maxResults":5}50.31 s
{"query":"artificial intelligence","formTypes":["10-K"],"dateFrom":"2026-01-01","maxResults":8}80.36–0.53 s
{"mode":"formD","dateFrom":"2026-10-19","dateTo":"2026-10-23","maxResults":6}61.8–4.3 s
{"mode":"formD","states":["CA"],"industryGroups":["Other Technology"],"dateFrom":"2026-10-19","dateTo":"2026-10-23","maxResults":5}513.3–20.3 s

The last run is slower because an industry filter has to read each Form D first (48 requests for 5 rows).

Call it from code or an agent

The Actor is lepidata/sec-edgar-filings. Keep your Apify token in an environment variable or a credential store, and send it in the Authorization header, never in a URL.

curl -s -X POST "https://api.apify.com/v2/acts/lepidata~sec-edgar-filings/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
  -d '{"mode": "formD", "states": ["CA"], "dateFrom": "2026-10-19", "dateTo": "2026-10-23", "maxResults": 10}'
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("lepidata/sec-edgar-filings").call(run_input={"ticker": "AAPL", "formTypes": ["10-K", "10-Q"], "maxResults": 10})
items = client.dataset(run["defaultDatasetId"]).list_items().items
filings = [row for row in items if row.get("type") in ("filing", "formD")]

Input fields: mode (filings or formD), ticker, cik or company (one company per run), query (full-text words), formTypes (ignored in formD mode), states (2-letter business-address codes), industryGroups (formD only, at most 2,000 Form D reads per run), includeAmendments (default true), dateFrom / dateTo (YYYY-MM-DD) and maxResults (up to 10,000, default 50). The Actor sends about 4 requests a second with a contact User-Agent. On a 403 or 429 it backs off 10, 30 and 60 seconds, then stops with a free rate-limited row. Apify Free-plan accounts get up to 100 results per run.

Written with AI assistance and checked by the Lepidata team.