SEC Filing Data API may be a practical choice for developers and investors who need a documented filing-search workflow and supported processing tools. When evaluating an SEC EDGAR API, consider how its query interface, structured responses, and document-processing capabilities can fit into research tools and applications. These capabilities may reduce the discovery and processing infrastructure your team needs to build and maintain.
SEC.gov is the original, official source of EDGAR filings, and developers can retrieve public SEC data directly from it. SEC Filing Data is an independent third-party provider that is not affiliated with or endorsed by the SEC. Choose a workflow based on your application’s needs, the interfaces you want to integrate, and the responsibilities your team is prepared to maintain.
SEC Filing Data API can reduce the discovery work your team owns when its supported searches fit your application; SEC.gov remains the official source.
Where SEC Filing Data API can simplify development
SEC Filing Data API brings filing discovery and related processing capabilities into a documented API workflow. Its SEC filings API service overview introduces these tools. Check each capability against the forms and outputs your application needs.
Finding filings through a documented query interface
The Query API documents POST requests to https://api.secfilingdata.com/v1/filings/query with a token in the Authorization header. Required inputs are query_type and query_value; supported searches include ticker, CIK, company name, and form type. Results are JSON with filing metadata and original SEC source URLs.
Pagination uses the from offset and size, with a documented maximum of 100 records per request. The SEC Query API documentation specifies these inputs.
With the requests library installed, this Python example requests up to 10 filings for a documented example CIK. Set SEC_FILING_DATA_API_TOKEN in your environment before running it.
import os
import requests
response = requests.post(
"https://api.secfilingdata.com/v1/filings/query",
headers={
"Authorization": os.environ["SEC_FILING_DATA_API_TOKEN"],
"Content-Type": "application/json",
},
json={"query_type": "cik", "query_value": "320193", "from": 0, "size": 10},
timeout=30,
)
response.raise_for_status()
filing_data = response.json()The token is sent directly in the Authorization header, as documented. The request starts at offset 0, checks for an HTTP error, and parses the JSON without assuming response field names. It illustrates filing discovery; a successful query does not validate document processing or a complete data pipeline.
For a filing-discovery screen, your backend can send a supported company identifier to the service and work with the returned metadata. That can replace a locally maintained discovery index for this use case. Your team still owns result validation, pagination, error handling, and the logic that decides which documents to process.
Working with financial data and documents
Finding a filing and interpreting its contents are different jobs. SEC Filing Data lists XBRL conversion and document download/PDF generation among its available capabilities. These can be useful when an application needs a processing step after discovery, but coverage and implementation details require separate review.
The converter accepts a filing or XBRL document URL and describes JSON output organized into financial statements. Its XBRL-to-JSON reference explains the supported URL inputs and output structure. For supported filings, this can provide a starting point for research datasets and application features without building an XBRL parser for that conversion step. Assess representative filings before relying on the output for your own analysis.
Keep three outputs distinct: filing metadata describes a submission; an original SEC document contains the source disclosure; a generated PDF is a rendered derivative. Structured financial JSON is another representation. Store source references alongside derived data so readers and developers can trace results back to the filing.
The current API homepage marks full-text filing search and the Real-Time Filing Stream API as coming soon. Do not build a production requirement around either feature until availability is confirmed.
What does SEC.gov provide directly?
The SEC’s public data APIs return company submission histories and extracted XBRL financial facts as JSON without authentication or API keys. Submission metadata helps identify filings; XBRL facts represent tagged financial disclosures. Original documents are retrieved separately from EDGAR’s filing archives.
The submissions URL is https://data.sec.gov/submissions/CIK##########.json, using a ten-digit, zero-padded Central Index Key. Its response includes company metadata and parallel arrays for recent filings: values at the same position describe the same filing. For older history, follow the additional JSON filenames listed in the response rather than assuming the initial file contains every submission.
Company Facts collects a company’s XBRL concepts in one response; Company Concept returns a selected taxonomy and tag, with fact arrays separated by unit. These aggregations cover non-custom taxonomy facts applying to the entire entity, not every disclosure or custom tag. Check units and reporting periods before comparing values. Nightly bulk ZIP archives support larger retrieval jobs. Because data.sec.gov does not support CORS, browser applications need a server-side retrieval layer for cross-origin requests.
The SEC’s fair-access requirements currently set a maximum of 10 requests per second and require a declared User-Agent identifying your organization and contact email. Moderate requests and download only what you need; the SEC may restrict access to preserve availability for other users. Cache responses and use delayed retries for failed requests rather than retrying immediately or treating the maximum as a target.
These public data APIs are distinct from EDGAR Next APIs used for filing submissions and account management. Their authentication requirements should not be confused.
Compare the workflows against your application
A useful evaluation considers how filing discovery and processing fit into your application and which responsibilities your team will retain. The following comparison frames the decision without assuming either option is universally preferable.
| Decision | Direct SEC.gov workflow | SEC Filing Data API workflow |
|---|---|---|
| Source relationship | Retrieve from the official source | Retrieve through an independent provider |
| Integration ownership | Your team owns retrieval, indexing, and any custom transformations it builds | Your team integrates documented provider capabilities and maintains application logic |
| Implementation needs | Assemble the SEC retrieval and data-handling steps your application requires | Connect supported query and processing interfaces to your research or application workflow |
| Dependency | Follow SEC interfaces and fair-access requirements | Account for provider authentication, terms, availability, and coverage |
| Validation | Check that your interpretation matches the filing | Check that provider output and your interpretation match the filing |
For example, a backend that tracks submissions for a known set of CIKs may work well directly with SEC.gov. If your product needs users to discover filings by ticker or company name, SEC Filing Data’s query interface may be a more convenient starting point. Your application can use filing metadata and source links to help researchers locate disclosures, then pass supported documents to a processing step when structured data is needed.
How to evaluate before committing
Start with a small, representative set of filings and a clear acceptance standard. Include the forms, historical periods, and outputs your application actually needs.
Check that discovery returns the intended company and filings. Compare retrieved or transformed outputs with the original SEC documents. Confirm how your application handles amendments, missing data, repeated records, and failed requests. For financial analysis, verify periods, units, and context before comparing values.
Review authentication, pagination, coverage, and usage limits for the specific APIs you intend to use. Keep tokens on your server and separate discovery from downstream document processing. A successful search alone does not verify an entire data pipeline.
Choose the workflow that fits your application
Evaluate SEC Filing Data API when its documented searches, structured responses, and supported processing tools fit your research or application workflow. It may offer a more convenient integration path while leaving your team responsible for validation and application logic. Direct SEC.gov access may suit teams that want to work with official datasets directly and maintain their own retrieval and transformation steps.
Begin with the implementation details in the references above, then review the sample query structure in the SEC Filing Data API Sandbox. Choose the workflow that supports the data you need and the integration responsibilities your team can maintain. Retain SEC source references so both developers and researchers can verify the disclosures behind the data.
