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 painfully slow. Datastream mirrors every filing document to a global Cloudflare R2 CDN, so you can download PDFs, HTML filings, and XML exhibits at 100+ requests per second with sub-100ms latency worldwide.Capabilities
100+ req/sec throughput
No rate limiting. Download thousands of filing documents in minutes instead of hours.
Global CDN
Documents served from Cloudflare R2 edge locations worldwide. Sub-100ms latency from any region.
All document types
PDFs, HTML filings, XML/XBRL exhibits, and all associated documents for every filing since 1993.
Direct URL resolution
Pass an accession number and get permanent, stable URLs for every document in the filing package.
Quick start
Get download URLs for all documents in a filing: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
| Endpoint | Description |
|---|---|
GET /v1/filings/documents | List all documents for a filing |
GET /cdn.secapi.ai/:path | Direct CDN download for a document |
Why Datastream for filing downloads
| Feature | Datastream | Raw EDGAR | SEC-API.io |
|---|---|---|---|
| Download speed | 100+ req/sec | 10 req/sec | Varies |
| Global CDN | Yes (R2) | No (US only) | No |
| Stable URLs | Yes | Subject to change | Yes |
| All document types | Yes | Yes | Partial |
| Bulk download support | Yes | No | Partial |
| Pricing | Pay-as-you-go | Free (slow) | $Varies |
Get started
Get your API key
Start downloading SEC filings at full speed. 250 free API calls per month.