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 Diff API
When companies amend their SEC filings, the changes can be buried in hundreds of pages of identical text. Datastream’s diff engine compares any two versions of a filing and returns a structured changeset — additions, deletions, and modifications — so you can see exactly what changed without reading the entire document.Capabilities
Structured diffs
Additions, deletions, and modifications returned as structured JSON with section-level context.
Amendment comparison
Compare an original 10-K with its 10-K/A amendment automatically. Works with any form type that has amendments.
Section-level granularity
Changes grouped by section (e.g., Item 1A Risk Factors, Item 8 Financial Statements) for quick navigation.
Numeric change detection
Financial figures that changed are flagged with old and new values for instant identification of restated numbers.
Quick start
Compare an original 10-K with its amendment:Use cases
Restatement detection
Automatically detect when companies restate financial figures by diffing 10-K and 10-K/A filings. Flag the specific numbers that changed.Compliance monitoring
Regulatory teams can track what changed in amended filings from issuers they monitor without manually reviewing hundreds of pages.Audit trail creation
Build an auditable record of all changes between filing versions for legal, compliance, or research purposes.Risk factor monitoring
Track changes to Item 1A (Risk Factors) between annual filings to detect emerging risks and removed risks over time.API endpoints
| Endpoint | Description |
|---|---|
GET /v1/filings/diff | Compare two filing accession numbers |
GET /v1/filings/amendments | Find all amendments for a filing |
Why Datastream for filing diffs
| Feature | Datastream | Raw EDGAR | SEC-API.io | Manual review |
|---|---|---|---|---|
| Structured diff output | Yes | No | No | N/A |
| Section-level grouping | Yes | No | No | Manual |
| Numeric change detection | Yes | No | No | Manual |
| REST API | Yes | No | No | N/A |
| Any form type | Yes | Manual | No | Manual |
| Pricing | Pay-as-you-go | Free (manual) | N/A | Labor cost |
Get started
Get your API key
Start comparing SEC filings in under 60 seconds. 250 free API calls per month.