The SEC publishes EDGAR company filings data through keyless JSON APIs on data.sec.gov. The submissions endpoint returns a company's filing history by CIK, and the companyfacts, companyconcept and frames endpoints return the figures companies report in XBRL. The official documentation asks for no API key, but each request should declare a User-Agent, and the SEC's fair access policy sets a ceiling of 10 requests a second.
This post sets out each endpoint as the SEC documents it, example requests keyed by CIK, the fair access rules, the nightly bulk archives and the gaps in the data, with a worked example on Apple Inc.'s net income. Every SEC page and API response cited here was read on 15 November 2026.
What does the official documentation for the SEC EDGAR filings APIs cover?
The SEC's official documentation for the EDGAR APIs lists one endpoint for company filings, called submissions, and three for reported figures: companyconcept, companyfacts and frames. All four sit on data.sec.gov, return JSON, need no authentication or API key and update through the day as filings are disseminated. Two nightly ZIP archives hold the same data in bulk.
That documentation is the SEC's EDGAR Application Programming Interfaces page, dated 6 June 2024 and last reviewed or updated on 8 April 2025. The table sets out the four endpoints with the SEC's request patterns, where ########## stands for a ten-digit CIK.
| Endpoint | Request pattern on data.sec.gov | What it returns | Typical lag after a filing |
|---|---|---|---|
| Submissions | /submissions/CIK##########.json | Filing history and metadata for one filer, including former names, exchanges and tickers | Under one second |
| Company concept | /api/xbrl/companyconcept/CIK##########/us-gaap/AccountsPayableCurrent.json | Every reported fact for one company and one concept, grouped by unit of measure | Under one minute |
| Company facts | /api/xbrl/companyfacts/CIK##########.json | Every concept one company has reported, in one response | Under one minute |
| Frames | /api/xbrl/frames/us-gaap/AccountsPayableCurrent/USD/CY2019Q1I.json | One fact per reporting entity for one concept, unit and calendar period | Under one minute |
The SEC adds that lags can run longer in peak filing periods. The XBRL endpoints draw on the financial data in forms 10-Q, 10-K, 8-K, 20-F, 40-F and 6-K and their variants.
Are the EDGAR Next APIs the same service?
The EDGAR Next APIs are a separate family built for filers. The SEC's Understand EDGAR Application Programming Interfaces page lists a submission API, a submission status API and an operational status API, open to filers enrolled in EDGAR Next and set up with filer and user API tokens. Reading public filings goes through data.sec.gov.
How do you find the CIK a request needs?
Every request is keyed by the Central Index Key, the number the SEC's systems use to identify corporations and individual people. In a URL it is written as ten digits with leading zeros, so Apple Inc.'s CIK 320193 becomes CIK0000320193.
The SEC's CIK Lookup page searches by company name and returns at most 100 records. The submissions response then confirms the match: for Apple it returns the ticker AAPL and the exchange Nasdaq.
Watch the format in joins. The submissions response gives the CIK as the string "0000320193", while companyconcept and frames give the number 320193, so normalise both sides before you join them.

What does the submissions API return for a company's filing history?
The submissions API returns one JSON document per filer: its metadata and its filing history. The metadata covers the name, tickers, exchanges, SIC description, fiscal year end, state of incorporation, addresses and former names. The recent filings block holds at least one year of filings or the latest 1,000, whichever is more.
The recent block is columnar: each field is its own array, and the nth entry of every array describes the same filing. Fields include accessionNumber, filingDate, reportDate, form, primaryDocument, isXBRL and isInlineXBRL, and the two XBRL flags mark the filings that carry structured data.
Older filings sit in separate files listed under files, each with a filing count and a date range. In the Apple submissions response that list held one file of 1,278 filings from 26 January 1994 to 5 October 2015, so a complete history takes the main document plus every listed file.
Apple's latest rows were a Form 4 filed on 12 November 2026, then a Form 25-NSE and an 8-K filed on 9 November 2026. Filter on the form column before you count or download anything.
How do companyfacts, companyconcept and frames return reported figures?
The three XBRL endpoints slice the same reported facts three ways. Companyfacts returns every concept one company has reported, companyconcept returns one concept for one company and frames returns one concept for every reporting entity in one calendar period. All three draw only on standard taxonomies such as us-gaap, ifrs-full, dei and srt.
Companyconcept groups facts by unit, such as USD or shares. Each fact carries start and end dates, the value (val), the accession number (accn), the fiscal year (fy), the fiscal period (fp), the form, the filing date (filed) and, on some facts, a frame label. Apple's NetIncomeLoss response held one unit, USD, labelled "Net Income (Loss) Attributable to Parent".
Companyfacts returns all of a company's concept data in one call. It suits a full load of one company, or a first look at the concepts a company uses before you request them one at a time.
Frames take a period code in the URL. CY2019 asks for annual data, matched to a duration of about 365 days plus or minus 30, CY2019Q1 asks for a quarter of about 91 days plus or minus 30, and CY2019Q1I asks for an instant, such as a balance sheet date.
The SEC's own example, AccountsPayableCurrent in USD for CY2019Q1I, returned 3,390 data points, each with accn, cik, entityName, loc, end and val. Its first entry, AAR Corp., has a period end of 28 February 2019, so reporting dates within one frame differ, as the SEC warns.
What do example requests keyed by CIK look like?
The requests below fetch each endpoint, three of them for Apple Inc. The User-Agent is illustrative: Acme Robotics is an invented company, and you replace it with your organisation's name and a contact address someone reads.
UA='Acme Robotics data-team@acmerobotics.example'
curl -s --compressed -H "User-Agent: $UA" https://data.sec.gov/submissions/CIK0000320193.json
curl -s --compressed -H "User-Agent: $UA" https://data.sec.gov/api/xbrl/companyfacts/CIK0000320193.json
curl -s --compressed -H "User-Agent: $UA" https://data.sec.gov/api/xbrl/companyconcept/CIK0000320193/us-gaap/NetIncomeLoss.json
curl -s --compressed -H "User-Agent: $UA" https://data.sec.gov/api/xbrl/frames/us-gaap/AccountsPayableCurrent/USD/CY2019Q1I.jsonFor a list of companies, pad each CIK to ten digits and pace the loop. The pause below holds one worker to five requests a second, half the SEC ceiling, and every extra worker you run counts against the same limit.
import time
import requests
HEADERS = {'User-Agent': 'Acme Robotics data-team@acmerobotics.example'}
CIKS = [320193, 1750]
for cik in CIKS:
url = f'https://data.sec.gov/api/xbrl/companyfacts/CIK{cik:010d}.json'
response = requests.get(url, headers=HEADERS, timeout=30)
response.raise_for_status()
facts = response.json()
time.sleep(0.2)What are the SEC's fair access rules for request rates and the User-Agent?
The SEC's fair access rules sit on its Accessing EDGAR Data page. The current maximum is 10 requests a second, every automated request should declare a User-Agent naming the organisation and a contact email, and scripts should download only what they need. The SEC reserves the right to limit request rates to keep access fair.
Accessing EDGAR Data, last reviewed or updated on 26 June 2024, gives these sample declared headers.
User-Agent: Sample Company Name AdminContact@<sample company domain>.com
Accept-Encoding: gzip, deflate
Host: www.sec.govHTTP clients set the Host header from the URL, so a request to the APIs carries data.sec.gov. The SEC's Webmaster Frequently Asked Questions, last reviewed or updated on 23 August 2024, repeat the ten-a-second ceiling. We found no stated block length or penalty for going over it on the pages we read.
The API documentation adds that data.sec.gov does not support cross-origin requests (CORS), so a browser page on your own domain cannot call it directly. Put the calls on a server you run, where you can also cache the responses.
Run this checklist before a job goes live.

- Every request carries a User-Agent with your organisation's name and a monitored email address.
- The total rate across every worker stays under 10 requests a second.
- A company is fetched again only when its submissions document shows a new filing.
- A whole-market pull uses the bulk archives in place of one call per company.
- A failed request waits before it retries.
When should you use the nightly bulk archives instead?
Use the nightly bulk archives when a job needs every filer. The SEC rebuilds companyfacts.zip, which holds the company facts and frames data, and submissions.zip, which holds the filing history of every filer, each night at about 3:00 a.m. Eastern time. One download then replaces a request per company.
https://www.sec.gov/Archives/edgar/daily-index/xbrl/companyfacts.zip
https://www.sec.gov/Archives/edgar/daily-index/bulkdata/submissions.zipEDGAR also publishes index files and quarterly data sets. The table compares the routes using the SEC's own timings.
| Source | Scope | Refresh | Suits |
|---|---|---|---|
| Submissions API | One filer | Typically under a second | Spotting new filings on a watch list |
| XBRL APIs | One company, concept or period | Typically under a minute | Look-ups and daily top-ups |
| submissions.zip and companyfacts.zip | Every filer | Nightly, about 3:00 a.m. ET | First loads and full refreshes |
| Daily and full index files | Every filing, sorted by company, by form or in a master list | Nightly from about 10:00 p.m. ET; full and quarterly indexes rebuilt early on Saturday mornings | Listing filings by form and date |
| Financial Statement Data Sets | Numbers from the face financials of XBRL filings | Quarterly from 2009 Q1; the latest file was 2026q3 | Research panels across many years |
The index timings come from Accessing EDGAR Data, and the Financial Statement Data Sets page was last reviewed or updated on 30 September 2026. The same split holds for commercial company data, where files build the first copy and an API keeps it current, as the Fokals comparison of API and bulk file delivery sets out.
A worked example: Apple's annual net income from companyconcept
Assumptions: you want Apple Inc.'s net income for each fiscal year, you use the us-gaap concept NetIncomeLoss, and you keep one value per fiscal period, taken from the latest filing that reports it. The figures below are the values the SEC returned on 15 November 2026, so none of them is illustrative.
- Request companyconcept for
CIK0000320193and the concept us-gaap NetIncomeLoss, with a declared User-Agent. - Keep the facts in the USD unit where form is 10-K and fp is FY.
- Group the facts by their start and end dates, and keep the one with the latest filed date in each group.
The NetIncomeLoss response holds three annual facts from each of Apple's last two 10-K filings. Four of those six rows show the pattern.
| Period | Value (USD) | fy | Filed | Accession number | Frame |
|---|---|---|---|---|---|
| 1 October 2023 to 28 September 2024 | 93,736,000,000 | 2026 | 3 November 2026 | 0000320193-26-000026 | CY2024 |
| 29 September 2024 to 27 September 2025 | 112,010,000,000 | 2025 | 31 October 2025 | 0000320193-25-000079 | None |
| 29 September 2024 to 27 September 2025 | 112,010,000,000 | 2026 | 3 November 2026 | 0000320193-26-000026 | CY2025 |
| 28 September 2025 to 26 September 2026 | 132,175,000,000 | 2026 | 3 November 2026 | 0000320193-26-000026 | CY2026 |
Three readings follow from the table.
- The fy and fp fields follow the filing that reported the fact. The 10-K filed on 3 November 2026 tags all three of its annual facts fy 2026, fiscal 2024 included, so key on the start and end dates.
- Each fiscal year appears once per filing that reports it, because a 10-K repeats earlier years as comparatives. Where a later filing restates a figure, keep the latest filed value.
- The frame label sits on one copy of each period, here the copy from the latest filing. Apple's year to 26 September 2026 carries CY2026, so a frames request for CY2026 places it beside companies whose years end in December.
After step 3 its last three years read 93,736 million dollars for fiscal 2024, 112,010 million for 2025 and 132,175 million for 2026. The example is general information on reading SEC data and contains no investment advice.

What gaps should you expect in the EDGAR XBRL data?
Expect gaps wherever a filing carries no XBRL or a figure sits outside the standard taxonomies. The XBRL endpoints draw only on forms 10-Q, 10-K, 8-K, 20-F, 40-F, 6-K and their variants, only on standard taxonomies and only on facts that apply to the whole entity, so many filings in a submissions history have no figures behind them.

- Forms outside the list. A Form D or a Form 4 appears in the submissions history, but the XBRL endpoints do not draw on it. The guide to following private funding with Form D covers what those notices contain.
- Filers with no financial statements. A CIK can belong to an individual insider or to a private issuer that only files notices, so expect no company facts for either.
- Company-specific tags. Facts tagged with a company's own extension elements are left out.
- Segment detail. Only facts for the entire filing entity are aggregated, so revenue by segment or region does not appear.
- Early years. The SEC's Financial Statement Data Sets begin with the first quarter of 2009, so expect little structured financial data for earlier periods.
- Narrative facts. Text disclosures, such as the employee count in Item 1 of a 10-K, are read from the document, as the guide to finding the employee count in a 10-K shows.
- As-filed values. The SEC says its Financial Statement Data Sets present the data without change from the filed reports and that it cannot guarantee their accuracy, so check outliers against the filing.
Where does Fokals fit beside EDGAR data?
EDGAR covers what SEC filers report, on the schedule they file. Fokals provides firmographic, technographic, hiring and intent data on public and private companies worldwide, refreshed daily and delivered by REST API or as bulk files.
Each company in the Fokals index has one stable company ID, and a listed company carries its SEC CIK where it has one, beside its ticker, MIC, ISIN, LEI and share-class FIGI. That CIK is the join key between XBRL figures and the Fokals datasets, once both sides hold the CIK in the same format.
Frequently asked questions
Do the SEC EDGAR APIs need an API key or an account?
The SEC's official documentation says the data.sec.gov APIs need no authentication and no API key. Each request should still declare a User-Agent with an organisation name and a contact email, under the SEC's fair access rules. Tokens apply only to the separate EDGAR Next APIs, which filers use to submit filings and check their status.
What happens if a script goes over 10 requests a second?
The SEC says it reserves the right to limit request rates and that automated tools outside its policy will be managed to keep access fair. We found no stated block length on the SEC pages we read. Keep every worker below the ceiling, wait after an error before retrying and use the bulk archives for whole-market pulls.
Can a web page call data.sec.gov from the browser?
The documentation says data.sec.gov does not support cross-origin requests, so a script served from another domain cannot read the responses in the browser. Route requests through a server you run, set the User-Agent there and cache the results, so repeated page views do not turn into repeated requests to the SEC.
How soon after a filing do the APIs show it?
The SEC gives typical lags of under one second for the submissions API and under one minute for the XBRL APIs, with longer delays in peak filing periods. The bulk archives catch up overnight, since the SEC rebuilds them at about 3:00 a.m. Eastern time. EDGAR itself accepts filings on weekdays from 6:00 a.m. to 10:00 p.m. Eastern time.
Why does companyconcept return the same figure more than once?
A 10-K or 10-Q repeats earlier periods as comparatives, so one period appears once for every filing that reports it. Group the facts by start and end date and keep the one with the latest filed date. The fy and fp fields follow the filing that reported the fact, so they cannot separate the periods on their own.
Does companyfacts include segment figures or company-specific tags?
The SEC's documentation says the XBRL APIs aggregate only facts that use a non-custom taxonomy, such as us-gaap, ifrs-full, dei or srt, and that apply to the entire filing entity. Revenue by segment, region or product line, and anything tagged with a company's own extension elements, has to be read from the filing itself.
The queries and code on this page are examples to adapt. Test them in your own environment before you rely on them.
What this page says about the products it names was checked against their public documentation on 16 November 2026. Product and company names are trademarks of their owners. Fokals is not affiliated with them or endorsed by them.