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.
Migrate from sec-api.io
This guide translates common
sec-api.io jobs onto Datastream without forcing you to relearn the whole product in one sitting.What changes when you switch
One normalized object model
Datastream keeps provenance, freshness, and materialization visible instead of treating them like optional extras.
Filing types and exhibits map
Check which filing families Datastream retrieves generically, normalizes directly, or only supports inside workflow-specific parsers.
Request diagnostics
Request-Id is first-class across the REST surface so support and debugging workflows stay sane.Shared REST and MCP surface
Hosted MCP and REST share the same underlying workflows rather than diverging into two products.
Compact extraction mode
Section extraction can return machine-first payloads when you want token efficiency instead of rendered prose.
Route mapping
/mapping/ticker/{ticker}->/v1/entities/resolve?ticker={ticker}/mapping/cik/{cik}->/v1/entities/resolve?cik={cik}/filing search POST body ->/v1/filingsquery paramslist of filing types and exhibits-> SEC Filing Types and Exhibits/extractor?url=...&item=1A&type=text->/v1/filings/latest/sections/item_1a?...&mode=compactwhen latest filing mapping is sufficient/xbrl-to-json->/v1/statements/{statement_key}or/v1/facts/insider-trading->/v1/insiders/compensation/{ticker}->/v1/compensation?ticker={ticker}
Request translation examples
Ticker mapping
Filing search
Machine-first section extraction
Migration notes
- Pin
omni-versionin production clients before cutover - Keep recording
Request-Idduring dual-run testing so request diagnostics stay comparable - If you depend on arbitrary historical filing URLs for extractor-style requests, keep that path on a temporary fallback until the historical lookup backlog lands
- If you depend on HTML extractor output, treat that as a current gap and stay on the temporary fallback path
Recommended cutover order
- issuer resolution
- filing search
- statements and facts
- section extraction in
compactmode - compare and artifact flows once the target plan is enabled
Read next
Migrate from financialdatasets.ai
Compare the second major migration path.
Benchmark workflows
See the current latency, freshness, and workflow proof.
API Reference
Open the exact operation pages once you are ready to wire the calls.