Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt

Use this file to discover all available pages before exploring further.

SEC Filing Download & CDN API

EDGAR’s 10 requests-per-second rate limit makes bulk document retrieval painful. SEC API gives you accession-number download and export endpoints so you can fetch filing documents through the same authenticated API surface you use for filing search.

Capabilities

API-first downloads

Download filing documents by accession number without screen-scraping EDGAR archive pages.

Export workflows

Use export endpoints when you need filing artifacts packaged for downstream storage or analysis.

All document types

PDFs, HTML filings, XML/XBRL exhibits, and all associated documents for every filing since 1993.

Direct accession lookup

Pass an accession number and retrieve the filing document through a stable API route.

Quick start

Download a filing by accession number:
curl -H "x-api-key: $SECAPI_API_KEY" \
  "https://api.secapi.ai/v1/filings/0000320193-24-000081/download" -o filing.html
{
  "accession_number": "0000320193-24-000081",
  "content_type": "text/html",
  "filename": "aapl-20240928.htm",
  "requestId": "req_..."
}
Export a filing package for downstream processing:
curl -H "x-api-key: $SECAPI_API_KEY" \
  "https://api.secapi.ai/v1/filings/0000320193-24-000081/export"

Use cases

Bulk document archival

Build a local archive of SEC filings without fighting EDGAR rate limits. Download thousands of documents per minute for research or compliance.

AI training data pipelines

Gather large corpora of SEC filings for fine-tuning language models or building retrieval-augmented generation (RAG) systems.

Document rendering

Serve filing documents to end users from a fast CDN instead of proxying through EDGAR’s slow infrastructure.

Regulatory compliance

Maintain auditable copies of all filings from counterparties or portfolio companies with stable, versioned URLs.

API endpoints

EndpointDescription
GET /v1/filings/{accession_number}/downloadDownload a filing document by accession number
GET /v1/filings/{accession_number}/exportExport a filing package for downstream processing

Why SEC API for filing downloads

FeatureSEC APIRaw EDGARsec-api.io
Download speedAPI-managed throughput10 req/secVaries
Authenticated API accessYesNoYes
Stable URLsYesSubject to changeYes
All document typesYesYesPartial
Bulk download supportYesNoPartial
PricingPay-as-you-goFree (slow)$Varies

Get Started

Get your API key

Create an API key and start downloading SEC filings through the API.