Skip to main content
Search filings

Overview

Send a question; the answer is the filings that answer it, best first, each with its passages and a citation: the accession number, the day, the item or exhibit, and a link that opens the document with the passage highlighted. MCP tool: search_documents on the data API MCP server. The search reads the items of 10-K, 10-Q and 8-K filings and the press releases of 8-Ks. It matches the question’s words, not their meaning: a filing that names more of them, more often, ranks first, and common words such as what or the are left out. Name the companies in filters.identifiers to search their filings of any year; without a company, the last two years are searched. Darvas reads every new 10-K, 10-Q and 8-K as it is filed, and older ones on request. A company in the filters with no filing read yet has its newest 10-K and 10-Q read at once; warnings says so, and the same search a minute later finds them.

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Body

application/json

The question and the filings to search.

A question and the filings to search.

query
string
required

One question in plain English, 1 to 300 characters.

Maximum string length: 300
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"What supply chain risks does Apple face?"

filters
object

Which filings to search.

Example:
limit
integer<int32>
default:5

The most filings to return.

Required range: 1 <= x <= 10
Example:

3

Response

The filings that answer, best first.

The answer of POST /search.

search_id
string<uuid>
required

The id of this search.

Maximum string length: 36
Example:

"3120038d-9620-4b43-9412-a01b4a99d2a3"

results
object[]
required

One result per filing, best first.

Maximum array length: 10
warnings
object[]

What the answer lacks; absent when nothing.

Maximum array length: 5