Segmented Revenues
Get detailed, segmented revenue data for a ticker.
👋 Overview
The segmented revenues API provides as-reported, granular revenue data for a given stock ticker.
I finally launched the segmented revenues API, which lets your AI financial agent access segmented revenue data by product lines, business segments, and geographical regions for a given stock ticker.
This includes revenue data segmented by:
- product lines
- business segments
- geographical regions
For example, Apple Inc. reports segmented revenue for its different product lines like iPhone, Mac, iPad, and wearables.
Apple also reports segmented revenue for its different geographical regions like the Americas, Europe, and China.
The segmented revenues API lets you easily access this data in a structured format:
This data is pulled directly from XBRL filings (10-Ks and 10-Qs). We have included the original XBRL tags like key and axis in the response for your reference.
To get started, please create an account and grab your API key at financialdatasets.ai.
You will use the API key to authenticate your API requests.
📊 Available Tickers
You can fetch a list of available tickers with a GET
request to:
https://api.financialdatasets.ai/financials/segmented-revenue/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
,period
andlimit
to filter the data. - Execute the API request.
You can filter the data by ticker
, period
, limit
, and cik
.
The period
parameter can be set to "annual"
or "quarterly"
. The limit
parameter is used to specify the number of statements to return.
Note: ticker
and period
are required. Alternatively, you can use cik
instead of ticker
as a company identifier in your request. By default, limit
is 4
.
💻 Example
Authorizations
API key for authentication.
Query Parameters
The ticker symbol.
The date or time period to which the reported revenue data relates in ISO 8601 format (YYYY-MM-DD).
annual
, quarterly
The maximum number of revenue statements to return.
The Central Index Key (CIK) of the company.