Skip to main content
Search line items

Overview

Send the statement fields you need and the companies, and get the newest limit periods of each, in the order of the tickers. Any field of the income statement, balance sheet or cash flow statement works; net_income is the income statement’s. A ticker Darvas does not know returns no rows. MCP tool: search_line_items on the data API MCP server.

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Body

application/json

The query of search line items.

The fields and companies of a line item search.

line_items
string[]
required

Statement field names, such as revenue or total_debt.

Required array length: 1 - 64 elements

One statement field name.

Maximum string length: 60
Pattern: ^[a-z_]{1,60}$
tickers
string[]
required

The companies, by ticker.

Required array length: 1 - 100 elements

One ticker, in any case.

Maximum string length: 12
Pattern: ^[A-Za-z0-9][A-Za-z0-9.-]{0,11}$
period
enum<string>
default:ttm

The kind of period to read.

Available options:
annual,
quarterly,
ttm
Example:

"ttm"

limit
integer<int32>
default:1

Periods per company, newest first.

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

1

Response

Search line items: one page.

The answer of POST /financials/search/line-items.

search_results
object[]
required

One row per company and period, in the order of the requested tickers.

Maximum array length: 40000