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 EDGAR API

The fastest way to get structured data from SEC EDGAR into your application. SEC API 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 SEC API over raw EDGAR

No SGML/HTML parsing

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

No rate limiting headaches

EDGAR enforces 10 requests per second with aggressive throttling. SEC API 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: $SECAPI_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: $SECAPI_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 SEC API compares

FeatureSEC APIRaw 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 secapi-client
  • JavaScript/TypeScript: npm install @secapi/sdk-js
  • Rust: cargo add sec-api-sdk-rust
  • Go: use the Go REST guide for direct HTTP integration
  • MCP: Hosted MCP server for Claude, ChatGPT, and other AI agents

Pricing

Start with an API key and use pay-as-you-go pricing as your usage scales. No upfront commitments.

Get your API key

Create an API key and start making requests in under 60 seconds.

Resources