List segmented financials
curl --request GET \
--url https://api.darvas.app/v1/financials/segments \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/financials/segments"
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/financials/segments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"segmented_financials": [
{
"ticker": "AAPL",
"report_period": "2026-09-26",
"fiscal_period": "2026-FY",
"period": "annual",
"currency": "USD",
"accession_number": "0000320193-26-000026",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm",
"income_statement": {
"revenue": {
"product": [
{
"label": "iPhone",
"value": 254098000000
}
],
"geography": [
{
"label": "Other countries",
"value": 228710000000
}
],
"segment": [
{
"label": "Americas",
"value": 198083000000
}
]
},
"operating_income": null,
"depreciation": null
},
"balance_sheet": {
"assets": null,
"goodwill": null,
"long_lived_assets": null
},
"cash_flow_statement": {
"capital_expenditure": null
}
}
]
}{
"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"
}Segments
All Company Segment Financial Disclosures API
Retrieve all SEC XBRL business and geographic segment income, balance sheet and cash flow breakdowns together in a single structured API query.
List segmented financials
curl --request GET \
--url https://api.darvas.app/v1/financials/segments \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/financials/segments"
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/financials/segments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"segmented_financials": [
{
"ticker": "AAPL",
"report_period": "2026-09-26",
"fiscal_period": "2026-FY",
"period": "annual",
"currency": "USD",
"accession_number": "0000320193-26-000026",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm",
"income_statement": {
"revenue": {
"product": [
{
"label": "iPhone",
"value": 254098000000
}
],
"geography": [
{
"label": "Other countries",
"value": 228710000000
}
],
"segment": [
{
"label": "Americas",
"value": 198083000000
}
]
},
"operating_income": null,
"depreciation": null
},
"balance_sheet": {
"assets": null,
"goodwill": null,
"long_lived_assets": null
},
"cash_flow_statement": {
"capital_expenditure": null
}
}
]
}{
"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
A segment value is a fact the filing reports on the product or service axis (product), the geographical axis (geography) or the business segment axis (segment) alone, for its own period: revenue, operating income and depreciation on the income statement; assets, goodwill and long-lived assets on the balance sheet; capital expenditure on the cash flow statement. Labels are the filing’s own, such as iPhone, Other countries or Americas. A line the filing does not break down is null. annual reads 10-K, 20-F and 40-F filings, quarterly 10-Q filings.
MCP tool: list_segmented_financials on the data API MCP server.
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
body = requests.get(
"https://api.darvas.app/v1/financials/segments",
headers=headers,
params={"ticker": "AAPL", "period": "annual", "limit": 4},
).json()
for period in body["segmented_financials"]:
revenue = period["income_statement"]["revenue"] or {"product": [], "geography": [], "segment": []}
for item in revenue["segment"]:
print(period["fiscal_period"], item["label"], item["value"])
Authorizations
apiKeybearerKey
Query Parameters
Response
List segmented financials: one page.
The answer of GET /financials/segments.