Skip to main content
GET
Search Documents

Overview

Search across SEC filing sections including debt footnotes, credit agreements, indentures, and MD&A sections. Find covenant language, guarantor lists, and specific debt terms. Supports three search modes:
  • Keyword (default) — PostgreSQL full-text search with relevance ranking
  • Semantic — Vector similarity search using Gemini embeddings (finds conceptually similar content even without keyword matches)
  • Hybrid — Combines keyword and semantic results via Reciprocal Rank Fusion for the best of both

Request

string
required
Search query. For keyword/hybrid mode, uses full-text search syntax. For semantic mode, use natural language.Example: maintenance covenant, subordinated, can they pay dividends
string
default:"keyword"
Search mode. One of:
  • keyword — Full-text search with relevance ranking (default)
  • semantic — Vector similarity search using AI embeddings
  • hybrid — Combines keyword + semantic via Reciprocal Rank Fusion
string
Comma-separated company tickers.Example: RIG,CHTR
string
Filing type: 10-K, 10-Q, 8-K
string
Section type to search. See section types below.
string
Minimum filing date (YYYY-MM-DD).
string
Maximum filing date (YYYY-MM-DD).
string
Fields to return.Example: ticker,section_type,snippet,relevance_score,semantic_score
string
default:"-relevance"
Sort order: -relevance, -filing_date, filing_date
integer
default:"50"
Results per page. Maximum 100.
integer
default:"0"
Pagination offset.

Section Types

Response

array
Array of matching document sections.

Examples

Search Debt Footnotes

Response

Search Credit Agreements

Find maintenance covenants:

Search Indentures

Find events of default:
Find conceptually similar content using natural language — no exact keyword match needed:
Semantic search finds “Limitation on Restricted Payments” for the query “can they pay dividends” — even though none of the keywords match. This is the power of vector similarity search.
Combine keyword precision with semantic understanding:

Get Full Document Content

Use Cases

Find Covenant Details

Search for Specific Terms

Monitor Filing Updates

Search Modes

When to use each mode:
  • Use keyword when you know the exact terminology (e.g., event of default, SOFR)
  • Use semantic when asking questions in plain English (e.g., can they pay dividends, what happens if they miss a payment)
  • Use hybrid when you want comprehensive results that catch both exact matches and conceptually related content

Notes

  • Keyword mode uses PostgreSQL full-text search with relevance ranking
  • Semantic mode uses 768-dimensional Gemini embeddings with cosine similarity
  • Hybrid mode combines both via Reciprocal Rank Fusion (k=60)
  • Snippets highlight matching terms with <b> tags (keyword and hybrid modes)
  • Credit agreements and indentures can be large (up to 500K chars)
  • Use content field sparingly to avoid large responses
  • Credit cost: 3 credits per request