SEC EDGAR API: SEC Filing Data API vs. SEC.gov , Which Should Developers Use?

By · Oct 14, 2026 · 5 min read

SEC EDGAR API: SEC Filing Data API vs. SEC.gov , Which Should Developers Use?

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.

Learn More

Learn about our SEC Filing API and Investor Relations Website Services.

In this article

Featured

Tags

10-K (2) 10-K annual report (1) 10-K Filing (2) 10-K Filings (2) 10-K Report (2) 10-Q (2) 10-Q Filings (3) 10-Q quarterly report (1) 10-Q Report (1) 10-Q vs 10-K (1) 8-K (1) 8-K filing (1) 8-K filing requirements (1) analyzing company earnings reports (1) Annual Report (3) Annual Reports (1) API (1) API authentication (0) API for Investors (1) API Guide (1) API pagination (0) API Tutorial (1) Apple (1) Apple SEC filings (1) Assets (1) Blue sky laws (1) Business Model (1) CIK (0) CIK lookup (0) Company Analysis (1) company earnings dates (1) Company Filings (1) Company Reports (2) Company Research (1) compliance research (1) Corporate Communications (1) corporate earnings schedule (1) Corporate Governance (0) corporate transactions (1) Corporate Website Posting Requirements (1) deal structure (1) DEF 14A (1) Developer Experience (1) Developer Tutorials (0) Download SEC Filings (0) earnings announcement dates (1) earnings calendar (1) earnings release dates (1) earnings report guidance and outlook (1) EDGAR (10) EDGAR Database (1) EDGAR Filings (0) EDGAR Search (2) Executive Compensation (0) Exempt securities (1) filing alerts (1) filing analysis (1) Filing Automation (0) filing data (1) Filing Insights (3) filing search (1) financial analysis (1) Financial Analyst (1) financial data (1) Financial Data API (1) Financial Filings (2) Financial Performance (1) financial reporting (1) Financial Reports (1) financial research (1) financial results dates (1) Financial Statements (6) Fiscal Year (1) Floating Stock (1) Form 1-A (1) Form 10-K (6) Form 10-Q (6) Form 8-K (6) Form D (3) Form DEF 14A (1) Form N-1A (1) Form N-CEN (1) Form N-CSR (1) Form N-Port (1) Form N-PX (1) Form S-1 (4) Going Public (1) Going Public Tips (1) how investors should read earnings reports (1) how to read 10-Q filings (1) how to tell if earnings are good or bad (1) Impact of SEC Filings on Stock Prices (1) income statement vs balance sheet in earnings (1) Initial Public Offering (2) Insider Buying and Selling (1) Insider Trading (1) Insider Trading API (1) Insider Trading Trends 2025 (1) insider transactions (1) investment due diligence (1) investment research (1) Investment Signals from Insiders (1) Investor Relations Page (1) Investor Relations Strategy (1) Investor Relations Website (1) Investor Relations Websites (1) Investor Research (1) IPO Advisors (1) IPO Filings (2) IPO Process (1) IPO Process Steps (1) IR Website Disclosure Requirements (2) issuer mapping (0) JSON (0) key metrics in earnings reports (1) Late Filings (1) Legal Proceedings (2) Liabilities (1) M&A financial analysis (1) Mapping API (0) Market Behavior (1) market research (1) Market Sentiment Indicators (1) mergers and acquisitions (1) Opportunistic Insider Purchases (1) Pricing and Allocation (1) Private Company Filings (1) private fundraising (1) Private offerings (2) Proxy Statements (3) public company disclosure (1) Public Company Filings (1) Public Trading (1) Python (0) quarterly earnings dates (1) Quarterly Report (1) quarterly report dates (1) Query API (0) reading SEC filings (10-Q) (1) red flags in earnings reports (1) Red Flags in SEC Filings (1) Registration Statement (2) Regulation D (2) Regulation FD (1) Risk Factors (2) Rule 506 (1) S-1 Registration Statement (1) Search Filings (1) SEC API (1) SEC Compliance (2) SEC EDGAR (4) SEC EDGAR API (2) SEC EDGAR Forms (1) SEC Filing (4) SEC Filing Data (4) SEC Filing Data API (2) SEC Filing Deadlines (2) SEC Filing Guide (1) SEC Filing Updates (1) SEC Filings (19) SEC Filings API (0) SEC Filings Search (1) SEC Form 10-Q (1) SEC Form 4 Insights (1) SEC Form 8-K (1) SEC Forms (1) sec proxy statement form (1) SEC Regulations (1) SEC Reporting (1) SEC.gov (1) Securities Marketing (1) Share Issuance (1) Shareholder Equity (1) shareholder information (1) signs of trouble in quarterly earnings reports (1) startup investing (1) stock earnings calendar (1) stock market earnings calendar (1) Stock Market Insider Activity (1) Stock Market Listing (1) Stock Prices (1) stock tickers (0) Stockholders Market (1) understanding 10-Q reports (1) understanding quarterly earnings reports (1) Waiting Period (1) what to look for in earnings reports (1) what to look for in quarterly earnings (1) when do companies report earnings (1) When is a proxy statement filed (1) XBRL (3)
Get Started
Get free alerts on your SEC filings with data insights
Start for Free
Get Started
Get free alerts on your SEC filings with data insights
Start for Free
Share via
Copy link