SEC API gives developers, investors, and agent builders a source-backed interface to SEC filings, filing data, and ownership records.
Create an API key in the SEC API dashboard, then make a server-side request:
export SECAPI_API_KEY="secapi_..."
curl --fail-with-body -sS \
-H "x-api-key: $SECAPI_API_KEY" \
"https://api.secapi.ai/v1/filings/latest?ticker=AAPL&form=10-K&view=agent"The response identifies the latest matching Apple 10-K. Retain its accession number, filing date, filing URL, and request ID with any analysis; the latest filing can change as new filings arrive.
- REST API for direct HTTP integrations.
- JavaScript, Python, Go, and Rust SDKs for application code using the public REST contract.
- CLI for terminal research, scripts, and automation.
- Hosted MCP for MCP-compatible clients. Authenticated tool calls use the same
x-api-keyheader.
- Resolve an issuer, retrieve a filing, and extract a section
- Retrieve normalized financial statements
- Monitor 13F holdings changes
- Analyze insider transactions
- Find disclosures with semantic search
- Build a filing monitor
Machine data requests use x-api-key; do not send a machine key as Authorization: Bearer or expose it in browser code. Start with the documentation, check status, or get support.