Skip to main content

SEC EDGAR API

The fastest way to get structured data from SEC EDGAR into your application. Omni Datastream indexes every filing on EDGAR and exposes it through a clean REST API with normalized schemas, cursor pagination, and sub-second latency.

Why developers choose Datastream over raw EDGAR

No SGML/HTML parsing

EDGAR serves filings as raw SGML, HTML, and XML. Datastream parses, normalizes, and structures everything before it reaches your code.

No rate limiting headaches

EDGAR enforces 10 requests per second with aggressive throttling. Datastream handles ingestion and serves data at API speed.

Normalized financial data

XBRL facts are mapped to a consistent schema across companies and time periods so you can compare without custom mapping tables.

Real-time updates

New filings are indexed within minutes of appearing on EDGAR. Set up webhooks to get notified the moment a filing lands.

What you can build

  • Financial research platforms — Pull income statements, balance sheets, and cash flows for any public company
  • Compliance monitoring — Watch for new filings, enforcement actions, and insider transactions in real time
  • Investment analytics — Track institutional holdings, executive compensation, and ownership changes
  • AI agents — Feed structured SEC data to LLMs via REST or hosted MCP

Quick start

Get Apple’s latest 10-K filing in one request:
curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/filings/latest?ticker=AAPL&form=10-K"
{
  "accession_number": "0000320193-24-000081",
  "form": "10-K",
  "filed_at": "2024-11-01",
  "company_name": "Apple Inc",
  "cik": "0000320193"
}
Pull structured financial statements:
curl -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  "https://api.secapi.ai/v1/statements/all?ticker=AAPL&period=annual&limit=1"

Coverage

Data typeEndpointCoverage
Filings/v1/filingsAll SEC form types since 1993
Financial statements/v1/statementsIncome, balance sheet, cash flow
XBRL facts/v1/factsAll XBRL-tagged concepts
Ownership (13F)/v1/owners/13fInstitutional holdings quarterly
Insider transactions/v1/insidersForm 3, 4, 5 transactions
Enforcement actions/v1/events/enforcementSEC administrative proceedings
Executive compensation/v1/compensationProxy statement (DEF 14A) data
Full-text search/v1/searchKeyword and semantic search
Subsidiaries/v1/companies/subsidiariesExhibit 21 data
Entity resolution/v1/entities/resolveTicker, CIK, CUSIP, FIGI, ISIN

How Datastream compares

FeatureDatastreamRaw EDGARSEC-API.ioFinancial Datasets
Structured financial statementsYesNo (raw XBRL)PartialYes
Real-time webhook alertsYesNoYesNo
Semantic searchYesNoNoNo
13F holdings comparisonYesNoPartialNo
Entity resolution (multi-ID)YesCIK onlyCIK + tickerTicker only
Hosted MCP for AI agentsYesNoNoNo
Rate limitsGenerous10 req/sVariesVaries

SDKs and integrations

  • Python: pip install omni-datastream-py
  • JavaScript/TypeScript: npm install @omni-datastream/sdk-js
  • Rust: cargo add omni-datastream
  • Go: go get github.com/omni-datastream/sdk-go
  • MCP: Hosted MCP server for Claude, ChatGPT, and other AI agents

Pricing

Start with 250 free API calls. Pay-as-you-go pricing scales with your usage. No upfront commitments.

Get your API key

Create a free account and start making requests in under 60 seconds.

Resources