filing.firehose

← All posts · Published 2026-07-29

SEC Filings via EDGAR vs Third-Party APIs: A Comparison

Direct EDGAR access offers zero cost and full control, but third-party APIs provide normalized data and faster refresh rates. Here's how to evaluate the trade-off for your quant workflow.

The Build vs Buy Question in SEC Data

Every quant shop or fintech startup eventually hits the same fork: do we scrape SEC filings directly from EDGAR, or do we pay for a third-party normalized data feed? The answer isn't obvious. Direct EDGAR access is free. It's comprehensive. But it's also noisy, semi-structured, and indexed on the SEC's schedule, not yours. Third-party providers charge subscription fees but abstract away parsing, PDF extraction, and compliance with EDGAR rate limits. Both paths work. The right choice depends on your team's engineering capacity, latency tolerance, and feature requirements.

EDGAR: The Free Baseline

The SEC's Electronic Data Gathering, Or Analysis (EDGAR) system has been public since 1994. Every public company filer is required by law to submit quarterly 10-Qs, annual 10-Ks, current 8-Ks, and proxy statements (DEF 14A forms) to EDGAR. You can download them for free via HTTPS.

Here's the stack:

  • Public index. The SEC publishes daily indices at https://www.sec.gov/Archives/edgar/daily-index/. These index files (plain text, fixed-width) list every filing for a given day, with Central Index Key (CIK), form type, accession number, and filing date.
  • Full-text filing retrieval. Once you have an accession number, you construct a URL like https://www.sec.gov/cgi-bin/viewer?action=view&cik=[CIK]&accession_number=[ACCESSION]&xbrl_type=v and download the raw HTML, text, or XML (for XBRL-tagged filings, common since 2009).
  • Search API. EDGAR offers a free JSON search endpoint at https://www.sec.gov/cgi-bin/browse-edgar with query parameters for ticker, CIK, form type, and date range. Responses include metadata and links to documents.
  • XBRL instance documents. Modern 10-Qs and 10-Ks include XBRL (eXtensible Business Reporting Language) attachments. These are structured XML with tagged financial data (e.g., revenue, net income, account balances) keyed to SEC-standardized tag definitions. You can parse these programmatically without string matching.

Cost: zero dollars. Rate limits: the SEC doesn't formally cap requests, but they do monitor scraping patterns. Hammering EDGAR with >10 requests per second from a single IP can trigger throttling or a temporary block. If you're building a reasonable production system (e.g., once-daily batch jobs), you won't hit this.

What You Get (and Don't Get)

EDGAR's native format is messy. 10-K exhibits are often scanned PDFs of board resolutions or customer contracts. Management's Discussion and Analysis (MD&A) sections, required under Item 7 of a 10-K (Regulation S-K Item 303), are free-form narrative. You'll need to extract tables, clean HTML, and handle OCR'd text. XBRL helps for numeric financial data but covers only balance-sheet and income-statement items, not semantic business events (e.g., "management team change," "acquisition announced," "litigation settlement").

Freshness is another constraint. The SEC's public index updates once per day, typically in the evening. If a company files an 8-K at 3 PM Eastern, it'll appear in the next day's index. For real-time trading strategies or news events, that 24-hour lag is costly.

Here's a concrete scenario: MSFT files a Form 8-K disclosing an executive departure at 2 PM. The 8-K appears in EDGAR's system within minutes. But the daily index doesn't update until 5 PM. A third-party aggregator with direct SEC feed access or FTP monitoring might surface it in minutes. Your daily EDGAR batch scraper won't see it for 16+ hours.

Third-Party APIs: The Convenience Trade-Off

Commercial providers like FactSet, Refinitiv, S&P Capital IQ, Tiingo, and Alpha Vantage offer normalized SEC data via REST or streaming APIs. Typical features include:

  • Parsed financials. Extracted and reconciled line items from 10-Qs and 10-Ks (revenue, EBIT, free cash flow, etc.) in JSON or CSV, keyed to standardized schema.
  • Lower latency. Some providers ingest EDGAR filings in real-time or within hours, not 24 hours.
  • Normalized text. MD&A, risk factors, and executive compensation sections are cleaned and sometimes summarized.
  • Event extraction. Structured signals for material events (earnings misses, insider transactions, debt issuances) extracted from 8-Ks and other forms.
  • Reconciliation and adjustments. Handling of restatements, discontinued operations, and accounting changes so your analysis stays consistent.
  • Schema evolution. The provider absorbs SEC form changes and keeps your data model stable.

Pricing typically ranges from $200-500/month for indie quant traders to $50k+/year for institutions, depending on data breadth, historical coverage, and API volume limits.

Latency and Completeness

In our experience with fintech clients using FilingFirehose for real-time SEC monitoring, third-party providers offer 2-6 hour updates on average after filing, versus EDGAR's 24-hour batch cycle. However, not all providers are equal. Some use FTP feeds from the SEC; others crawl EDGAR HTML. If your strategy relies on sub-hourly signals from 8-Ks, you'll want to confirm your provider's data pipeline.

A common pattern: institutional firms use a combination. They query a third-party API for recent 10-Q/10-K parsing and event feeds, but also run daily batch jobs against EDGAR directly to backfill and validate. This hedges against API outages and gives you a second source of truth.

Quality and Accuracy

Third-party parsing is imperfect. When a company files a 10-K with an unusual table format or a non-standard XBRL tagging error, the provider's extraction logic may fail. XBRL itself isn't guaranteed correct: we've seen anecdotal cases where a company's internal XBRL mapping was off by an order of magnitude for a specific line item. Direct EDGAR access lets you inspect the raw HTML and PDF to catch these anomalies. A third-party API abstracts them away, for better or worse.

For serious quant work, spot-checking is essential. Pull a sample of recent 10-Q filings from your data provider, compare line items to the raw SEC document, and measure drift. A 1-2% error rate on normalized financials is tolerable; 5%+ is a red flag.

Historical Coverage and Backfill

EDGAR's archive goes back to 1994, but XBRL tagging started in 2009 and isn't universal until ~2015. If you're building a backtesting engine that relies on parsed financials, EDGAR alone means you'll have clean structured data only from ~2009 onward. Third-party providers sometimes offer historical backfill by re-parsing older filings, but not always. Clarify this in your contract.

Regulatory and Compliance Factors

If you're a registered investment advisor or broker-dealer, your SEC filing and analysis workflows are subject to compliance review. Direct EDGAR access is transparent and auditable: you can show exactly which document version you accessed and when. Third-party APIs introduce a middle layer. You're reliant on the provider's data pipeline integrity and retention policies. Some providers offer audit logs and SLAs; others don't. If regulatory scrutiny lands on your algorithm's decisions, you want a clear chain of custody for your data source.

Building a Hybrid Workflow

The pragmatic approach for serious quant teams:

  • Use a third-party API as your primary source for normalized recent data (10-Q and 10-K financials, 8-K event tags) and for sub-daily refresh rates.
  • Run a daily or weekly batch job against EDGAR's public index to validate, backfill, and archive raw filings for reproducibility.
  • Maintain a local database of parsed XBRL instances (which are free from EDGAR) as a secondary reference, especially for items not covered by your API provider.
  • Implement data reconciliation tests. If your API's extracted revenue for a filing diverges >1% from the XBRL tag, investigate and log the discrepancy.

This hybrid approach costs less than full subscription to a premium provider but gives you guardrails that pure EDGAR scraping lacks.

Cost Model Estimation

EDGAR direct: ~50-200 hours of engineering (parsing, error handling, XBRL extraction, rate-limit compliance) plus hosting (~$500-2k/year).

Third-party API: $200-2k/month depending on tier, zero engineering lift upfront, ongoing vendor lock-in risk.

Hybrid: EDGAR core infrastructure (~100 hours, $1k/year hosting) plus a mid-tier API ($300-600/month) for real-time and recent data. Total first-year cost: ~$10-15k for labor plus ~$4-8k for subscriptions.

For a single retail trader, pure EDGAR or a free tier API makes sense. For a small quant fund making algorithmic decisions on SEC data, the hybrid model is most defensible from both engineering and compliance angles.

Conclusion

There's no one right answer. If your latency tolerance is daily and your engineering team has time to own parsing logic, direct EDGAR is viable. If you need sub-hourly normalized financials or event feeds, a third-party provider is worth the cost. Most serious quant shops end up combining both, using APIs for convenience and EDGAR as ground truth for validation and historical depth.


Start a free FilingFirehose trial →

Try it on your stack

Get an API key in 2 minutes. Self-serve via Stripe, cancel anytime.

View pricing → Read API docs