Blog / Developer guides
Developer guides

SEC EDGAR Submissions API: How to Pull a Filer's History

How the SEC's data.sec.gov submissions API returns a company's filing history, why large filers need the files array, and the limits to plan around.

By the SecFeed teamNovember 10, 20265 min read
Key takeaways

The SEC's EDGAR submissions API returns a single company's entire filing history as JSON, for free and without an API key, at data.sec.gov/submissions/CIK##########.json. It is the fastest way to answer "what has this company filed" directly from the SEC, but its response shape has a few quirks that trip up a first pass, especially for filers with a long history.

What the endpoint returns

Request the JSON for any filer using its 10 digit, zero padded CIK:

GET https://data.sec.gov/submissions/CIK0000320193.json

The response has two parts: company metadata, and the filing history itself.

FieldWhat it holds
cik, nameThe filer's CIK and current registered name
formerNamesPrior names, each with the date range it was used
sic, sicDescriptionThe filer's SIC code and its description
tickers, exchangesTicker symbols and the exchanges they trade on, in matching order
filings.recentThe most recent filings, as parallel arrays rather than one object per filing
filings.filesLinks to additional JSON files holding older filings, for filers with a long history

Reading the recent filings block

filings.recent is not a list of filing objects. It is a set of parallel arrays, so accessionNumber, form, filingDate and primaryDocument each hold one entry per filing, in the same order. To read one filing you take the same index position out of every array:

import json
from urllib.request import Request, urlopen

req = Request("https://data.sec.gov/submissions/CIK0000320193.json",
               headers={"User-Agent": "Example Research admin@example.com"})
data = json.loads(urlopen(req).read())
recent = data["filings"]["recent"]

for i in range(5):
    print(recent["filingDate"][i], recent["form"][i], recent["accessionNumber"][i])

That columnar layout is efficient for the SEC to generate, but it means any tool you write has to zip the arrays back together before you can treat a filing as one record.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/filings?query=cik:320193. Free key, no card needed.

Get a free API key →

Getting a filer's full history, not just the recent block

This is the part most quick tutorials skip. The recent block does not hold a company's entire history. Per the SEC's own API documentation, it holds at least one year of filings, or the 1,000 most recent filings, whichever is larger. A filer that has been reporting for decades, like a large bank or an index fund sponsor, has far more filings than that, and the rest are not in filings.recent at all.

For those filers, filings.files lists additional JSON files, each one covering a date range, named like CIK0000320193-submissions-001.json. You fetch each file the same way you fetched the main document, and each one has the same columnar shape as filings.recent. Skip this step and a script that looks like it is reading "all filings" is quietly missing everything before the most recent year or so.

Check whether filings.files is an empty list before you assume you have everything. An empty list means filings.recent already covers the filer's whole history; a non-empty list means there is more to fetch.

Rate limits and the User-Agent header

The submissions API needs no key, but it does enforce SEC fair access: a descriptive User-Agent header naming your application or company plus a contact method, and a request rate the SEC asks you to keep under roughly 10 requests per second. A missing User-Agent can draw a 400 response, and going over the rate guidance can get your requests throttled for a period. The SEC's JSON APIs are updated throughout the day as filings are disseminated, so there is no need to poll faster than that limit to stay current.

A bulk alternative for every filer at once

Pulling one filer's submissions.json at a time does not scale if you need many companies. The SEC also publishes a bulk archive, submissions.zip, recompiled nightly under sec.gov/Archives/edgar/daily-index/bulkdata/, containing the same per-filer JSON files for every registrant in a single download. That trades a lot of small requests for one large one, at the cost of a day of freshness.

Querying filing history without the array gymnastics

SecFeed indexes the same filing history and returns it as one row per filing, with the form type, filed date and accession number already lined up, no columnar arrays or manual pagination across files to manage:

curl "https://secfeedapi.com/v1/filings?query=cik:320193&size=10&sort=desc" \
  -H "Authorization: Bearer YOUR_API_KEY"

The same EDGAR Filing Search API covers the full history back to 1993, past what a single submissions.json call returns, and the EDGAR full text search endpoint layers on top if you need to match text inside those filings rather than just list them. For bulk pulls across many companies at once, see how to download SEC filings and the general guide to the SEC EDGAR API.

Frequently asked questions

Do I need an API key to use the SEC submissions API?

No. It is a free, read only JSON API. You do need a descriptive User-Agent header identifying your application and a contact method, and you should keep your request rate under the SEC's fair access guidance.

Why does filings.recent not show all of a company's filings?

It is capped at one year of filings or the 1,000 most recent, whichever is larger. A filer with more history than that has the rest split across additional JSON files listed in filings.files.

What format is filings.recent in?

It is a set of parallel arrays, one entry per filing per array, rather than a list of filing objects. You reconstruct one filing's record by reading the same index position across each array.

Is there a faster way to pull filing history for many companies?

The SEC publishes a nightly submissions.zip bulk archive with every filer's submissions JSON in one download, which avoids making a separate request per company. An API like SecFeed's filing search is the alternative if you want the result already filtered and merged into rows.

Does the submissions API include the filing documents themselves?

No, it lists each filing's accession number and primary document name, which you then use to build the document's URL under the EDGAR Archives, or fetch through an API that resolves that step for you.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/filings?query=cik:320193. Free key, no card needed.

Get a free API key →

For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.