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 Semantic Search API

Traditional keyword search misses filings that discuss a concept without using your exact terms. Datastream’s semantic search uses vector embeddings to find filings by meaning — so a search for “supply chain disruption” also returns filings discussing “logistics delays,” “component shortages,” and “vendor concentration risk.”

Capabilities

Meaning-based search

Vector embeddings match on semantic similarity, not just keyword overlap. Find relevant filings even when terminology differs.

Passage-level results

Results include the specific passage that matched, with surrounding context, so you can evaluate relevance instantly.

Hybrid search

Combine semantic similarity with structured filters — form type, ticker, date range, SIC code — for precise results.

Full corpus coverage

Millions of SEC filings indexed and embedded. Search across 10-Ks, 10-Qs, 8-Ks, proxy statements, and more.

Quick start

Search for filings discussing AI regulation risks:
curl -X POST -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "artificial intelligence regulatory risk and compliance burden",
    "forms": ["10-K"],
    "section": "1A",
    "limit": 5
  }' \
  "https://api.secapi.ai/v1/search/semantic"
{
  "results": [
    {
      "ticker": "GOOGL",
      "company_name": "Alphabet Inc.",
      "accession_number": "0001652044-25-000012",
      "section": "1A - Risk Factors",
      "passage": "Evolving regulations around artificial intelligence, including the EU AI Act, may require significant compliance investments and could limit our ability to deploy AI features...",
      "similarity_score": 0.94,
      "filed_at": "2025-02-03"
    },
    {
      "ticker": "MSFT",
      "company_name": "Microsoft Corporation",
      "accession_number": "0000789019-24-000086",
      "section": "1A - Risk Factors",
      "passage": "Government regulation of AI is evolving rapidly. New laws and regulations may increase our compliance costs and restrict our development and deployment of AI technologies...",
      "similarity_score": 0.91,
      "filed_at": "2024-07-30"
    }
  ],
  "total_matches": 1247
}
Combine semantic search with keyword filtering:
curl -X POST -H "x-api-key: $OMNI_DATASTREAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "material weakness in internal controls",
    "forms": ["10-K", "10-K/A"],
    "date_from": "2024-01-01",
    "must_include": ["restatement"],
    "limit": 10
  }' \
  "https://api.secapi.ai/v1/search/semantic"

Use cases

Risk factor research

Find companies discussing specific risks — climate change, cybersecurity, geopolitical exposure — across the entire SEC filing universe, regardless of the exact phrasing used.

Competitive intelligence

Search for filings that discuss a competitor’s products, markets, or strategies to understand how peers position themselves.

Due diligence

During M&A or investment due diligence, search for relevant disclosures across a target’s full filing history using natural language queries.

Regulatory impact analysis

When new regulations are proposed, search for all companies that discuss the affected activity to estimate the universe of impacted issuers.

API endpoints

EndpointDescription
POST /v1/search/semanticSemantic search with optional filters
POST /v1/search/similarFind filings similar to a given passage
GET /v1/searchKeyword search (full-text)
FeatureDatastreamRaw EDGARSEC-API.ioEDGAR full-text
Semantic (AI) searchYesNoNoNo
Passage-level resultsYesNoNoNo
Hybrid (semantic + filters)YesNoKeyword onlyKeyword only
Section-specific searchYesNoNoNo
Filing corpus coverageMillionsMillions (raw)PartialFull
PricingPay-as-you-goFree (no search)$VariesFree (basic)

Get started

Get your API key

Start searching SEC filings by meaning in under 60 seconds. 250 free API calls per month.