List KPI metrics
curl --request GET \
--url https://api.darvas.app/v1/kpi/metrics \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/kpi/metrics"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/kpi/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kpi_metrics": [
{
"ticker": "ASB",
"metric_name": "cet1_ratio",
"value": 10.47,
"unit": "%",
"period": "Q2 2026",
"period_type": "quarterly",
"sector": "banks",
"source_text": "Capital The Company’s capital position remains strong, with a CET1 capital ratio of 10.47% at June 30, 2026.",
"source_url": "https://www.sec.gov/Archives/edgar/data/7789/000000778926000191/ex991.htm#:~:text=Capital%20The%20Company%E2%80%99s%20capital%20position"
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Earnings & KPIs
Sector Operating KPIs API from Earnings Releases
Sector KPIs read from 8-K earnings releases, such as load factor, CET1 ratio, net interest margin, same-store sales and FFO per share, each with its text.
List KPI metrics
curl --request GET \
--url https://api.darvas.app/v1/kpi/metrics \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/kpi/metrics"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/kpi/metrics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"kpi_metrics": [
{
"ticker": "ASB",
"metric_name": "cet1_ratio",
"value": 10.47,
"unit": "%",
"period": "Q2 2026",
"period_type": "quarterly",
"sector": "banks",
"source_text": "Capital The Company’s capital position remains strong, with a CET1 capital ratio of 10.47% at June 30, 2026.",
"source_url": "https://www.sec.gov/Archives/edgar/data/7789/000000778926000191/ex991.htm#:~:text=Capital%20The%20Company%E2%80%99s%20capital%20position"
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
The operating figures a company reports beside its financial statements, read from the press release furnished with each 8-K under Item 2.02. Each value carries the sentence or table line it was read from, andsource_url opens the exhibit on sec.gov with that text highlighted.
MCP tool: list_kpi_metrics on the data API MCP server.
| Sector | KPIs |
|---|---|
| Airlines | load_factor, available_seat_miles, revenue_passenger_miles |
| Banks | cet1_ratio, net_interest_margin, efficiency_ratio, return_on_average_equity, return_on_average_assets, tangible_book_value_per_share |
| REITs | ffo_per_share, affo_per_share, occupancy |
| Retail | same_store_sales |
| Hotels | revpar, average_daily_rate |
| Industrials | book_to_bill, backlog |
| Software | net_revenue_retention, annual_recurring_revenue |
| Telecom and media | arpu, subscribers |
How values are read
Darvas reads them by rules, not with a language model: a KPI’s name followed within a few words by a number in its unit, or a percent right before it, as in14.39% CET1 capital ratio. A number outside the range the KPI can take is left out. Values come only from releases whose earnings figures agreed with the company’s XBRL, so the release was read right; the period is that release’s. yoy_value is the earlier figure a sentence compares with, and yoy_change_pct the change against it as a decimal.
limit counts releases across pages, 4 by default and at most 50; each page holds up to 10 records.
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
body = requests.get(
"https://api.darvas.app/v1/kpi/metrics",
headers=headers,
params={"ticker": "ASB", "metric_name": "net_interest_margin", "limit": 8},
).json()
for kpi in body["kpi_metrics"]:
print(kpi["period"], kpi["value"], kpi["unit"], kpi["source_url"])
Authorizations
apiKeybearerKey
Query Parameters
Response
List KPI metrics: one page.
The answer of GET /kpi/metrics.