All Segmented Financials
Get all segment breakdowns (income statement, balance sheet, cash flow) for any US stock in a single API call.
Documentation Index
Fetch the complete documentation index at: https://docs.financialdatasets.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint aggregates segment breakdowns from all three financial statement types into a single API call. So, instead of calling 3 endpoints to get income statement segments, balance sheet segments, and cash flow statement segments, you can call this endpoint once and get all segment data in one go. The endpoint returns segment breakdowns for:- Income Statement Segments — revenue, operating income, depreciation
- Balance Sheet Segments — assets, goodwill, long-lived assets
- Cash Flow Statement Segments — capital expenditure
Available Tickers
You can fetch a list of available tickers with aGET request to:
https://api.financialdatasets.ai/financials/segments/tickers/
Getting Started
There are only 3 steps for making a successful API call:- Add your API key to the header of the request as
X-API-KEY. - Add query params like
ticker,periodandlimitto filter the data. - Execute the API request.
Filtering the Data
You can filter the data byticker, period, limit, and report_period.
Note: ticker and period are required. Alternatively, you can use cik instead of ticker as a company identifier in your request.
By default, period is annual, limit is 4, and report_period is null.
The period parameter can be set to annual or quarterly. The limit parameter is used to specify the number of periods to return.
The report_period parameter is used to specify the date of the statement. For example, you can include filters like report_period_lte=2024-09-30 and report_period_gte=2024-01-01 to get statements between January 1, 2024 and September 30, 2024.
The available report_period operations are:
report_period_ltereport_period_ltreport_period_gtereport_period_gtreport_period
Example
Example (with report_period)
Authorizations
API key for authentication.
Query Parameters
The ticker symbol. Required if cik is not provided.
The time period of the data.
annual, quarterly The maximum number of periods to return.
The Central Index Key (CIK) of the company.
Filter by exact report period date in YYYY-MM-DD format.
Filter by report period greater than or equal to date in YYYY-MM-DD format.
Filter by report period less than or equal to date in YYYY-MM-DD format.
Filter by report period greater than date in YYYY-MM-DD format.
Filter by report period less than date in YYYY-MM-DD format.
Response
All segmented financials response