Filing Download API: every EDGAR document and exhibit as filed
List every file in an SEC filing and download any document, exhibit, XBRL file or image from the EDGAR archive with one authenticated call.
curl -H "Authorization: Bearer $SECFEED_KEY" \ "https://secfeedapi.com/v1/files?cik=320193&accessionNo=0000320193-26-000020"
import os, requests
r = requests.get(
"https://secfeedapi.com/v1/files",
params={'cik': '320193', 'accessionNo': '0000320193-26-000020'},
headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
)
print(r.json())[
{
"name": "0000320193-26-000020-index-headers.html",
"type": "text.gif",
"size": "",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/0000320193-26-000020-index-headers.html"
},
{
"name": "0000320193-26-000020-index.html",
"type": "text.gif",
"size": "",
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/0000320193-26-000020-index.html"
}
]Overview
Every EDGAR filing is a folder of files: the main document, exhibits, XBRL instance and linkbases, images and the full text submission. The Download API lists them for any accession number and returns any one of them exactly as filed.
SecFeed handles the SEC's fair access rules for you (User-Agent, rate limits, retries), so your code never gets blocked for hammering sec.gov. Inline XBRL viewer links (/ix?doc=) are resolved to the underlying document automatically.
What you get
Built for developers who would rather not parse EDGAR.
Name, type, size and URL of every file in a filing, from the EDGAR directory index.
HTML, TXT, XML, XBRL, JPG, PDF: returned byte for byte as filed with the right content type.
Requests go through SecFeed's throttled, identified client and cache.
Viewer URLs like sec.gov/ix?doc=... are converted to the archive document.
Endpoints
Authenticate with Authorization: Bearer YOUR_KEY. Responses are JSON.
Every file in a filing: documents, exhibits, XBRL, images.
Parameters: cik, accessionNo
Response fields
The main fields in every result. The raw filing data is always one level down.
| Field | Meaning |
|---|---|
name | File name inside the filing folder. |
type | EDGAR's icon type for the file (text, compressed, image). |
size | Size in bytes, when EDGAR reports it. |
url | Archive URL to pass to /v1/download or /v1/pdf. |
Use cases
- Download every exhibit of a filing for document review
- Fetch XBRL zips for your own parser
- Archive original filings for compliance records
- Pull Exhibit 99 press releases for earnings analysis
Datasets behind this API
The SEC forms this API reads, with live filing counts.
Every Form 10-K annual report filed on EDGAR since 1993, searchable by company, date and text, with sections and XBRL financials as JSON.
10-QForm 10-Q quarterly reportEvery Form 10-Q quarterly report on EDGAR since 1993: unaudited financials, MD&A and risk factor updates, searchable and parsed as JSON.
8-KForm 8-K current reportEvery Form 8-K current report since 1993, classified by item: earnings, acquisitions, auditor changes, executive departures, cyber incidents and more.
Ex 99Exhibit 99 press releasesPress releases, investor presentations and Regulation FD materials attached to 8-K filings as Exhibit 99, searchable in full text.
Ex 10Exhibit 10 material contractsMaterial contracts filed as Exhibit 10 to 8-K, 10-K and 10-Q reports: credit agreements, employment agreements, leases and supply deals.
Guides
Find SEC staff comment letters (UPLOAD) and company responses (CORRESP), read a full letter thread as text, and measure which topics the staff asks ab
Downloading documentsBulk download every 10-K for a list of companiesLoop over a list of tickers, find each company's latest Form 10-K and save the main document to disk with the SecFeed API. Scales to an index lis
ExhibitsDownload 8-K Exhibit 99 press releases with PythonFind earnings 8-Ks (Item 2.02), list their Exhibit 99 documents and download the press releases, using the 8-K events feed and the download API.
Downloading documentsDownload SEC filings and exhibits from EDGARList every file in an SEC filing and download any document or exhibit, such as Exhibit 21 subsidiaries, with two API calls.
ExhibitsDownload material contracts (Exhibit 10) from SEC filingsFind 8-Ks that report a new material agreement (Item 1.01), list their Exhibit 10 contracts and download them: credit agreements, purchase agreements,
XBRL & financialsDownload XBRL XSD and instance files from a filingList a filing's XBRL files (schema, linkbases, instance), download the .xsd and _htm.xml, and inspect extension elements and facts with Python.
Downloading documentsDownload XML filings from EDGARFind the XML documents inside a Form 4 or 13F filing, download them through SecFeed and parse them with Python's standard library.
FAQ
Which URLs can I download?
Any file under https://www.sec.gov/Archives/edgar/data/. Pass it as url to /v1/download.
How do I find the URL of an exhibit?
Call /v1/files with the CIK and accession number. It lists every file in the filing with its URL.
Try the Filing & Exhibit Download API free
Free key, no card, no sales call.