---
title: "Get Revenue by Product Segment"
method: GET
path: "/company/revenue-segmentation/product/{symbol}"
tags: ["Company", "Revenue Segmentation"]
---

# Get Revenue by Product Segment

`GET /company/revenue-segmentation/product/{symbol}`

## Request

- Base URL: `https://data.finbud.ai/api`
- URL: `https://data.finbud.ai/api/company/revenue-segmentation/product/{symbol}`
- Auth: API key in header `X-API-KEY`

Fetches a breakdown of a company's revenue by product segment for a given stock symbol, optionally filtered by period (annual/quarter).

## Path parameters

- `symbol` string, required

## Query parameters

- `period` 'annual' | 'quarter'
- `structure` 'flat' | 'hierarchical'

## Response `200`

Successful response with revenue segmentation data by product.

- object[]
  - `date` string, date
  - `symbol` string
  - `iphone` number
  - `mac` number
  - `ipad` number
  - `wearables-home-and-accessories` number
  - `services` number

## Other responses

- `400`: Bad Request - Symbol parameter missing or invalid query parameters.
- `404`: Not Found - No product revenue segmentation data found for the requested symbol/period.
- `500`: Internal Server Error - Failed to fetch data or other server error.

---

[API](https://skmtc.dev/laksmono---company/apis/finbud-api.md) - [All operations](https://skmtc.dev/laksmono---company/apis/finbud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/laksmono---company/apis/finbud-api/revisions/742d2654c09a?raw)
