> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequency.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Get revenue segment breakdowns

> Return product and geographic revenue segments for a symbol.

Supports annual (up to 5 years) and quarterly (up to 8 quarters).
Also includes LLM-extracted operating income data when available.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/research/{symbol}/segments
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/graph/v1/research/{symbol}/segments:
    get:
      tags:
        - Research
      summary: Get revenue segment breakdowns
      description: |-
        Return product and geographic revenue segments for a symbol.

        Supports annual (up to 5 years) and quarterly (up to 8 quarters).
        Also includes LLM-extracted operating income data when available.
      operationId: get_segments_api_graph_v1_research__symbol__segments_get
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
            title: Symbol
        - name: period
          in: query
          required: false
          schema:
            type: string
            pattern: ^(annual|quarter|quarterly)$
            default: annual
            title: Period
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 20
            minimum: 1
            default: 5
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RevenueSegmentsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RevenueSegmentsResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        segments:
          items:
            $ref: '#/components/schemas/SegmentPeriod'
          type: array
          title: Segments
        operating_income:
          items:
            $ref: '#/components/schemas/SegmentOperatingIncome'
          type: array
          title: Operating Income
      type: object
      required:
        - symbol
        - segments
        - operating_income
      title: RevenueSegmentsResponse
      description: Response for /research/{symbol}/segments endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SegmentPeriod:
      properties:
        period_end_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Period End Date
        fiscal_year:
          type: integer
          title: Fiscal Year
        fiscal_period:
          type: string
          title: Fiscal Period
          description: FY for annual, Q1-Q4 for quarterly
        product_segments:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Product Segments
        geographic_segments:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Geographic Segments
      type: object
      required:
        - fiscal_year
        - fiscal_period
      title: SegmentPeriod
      description: A single fiscal period's revenue segment breakdown.
    SegmentOperatingIncome:
      properties:
        fiscal_year:
          type: integer
          title: Fiscal Year
        fiscal_quarter:
          type: integer
          title: Fiscal Quarter
        segment_metrics:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Segment Metrics
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
      type: object
      required:
        - fiscal_year
        - fiscal_quarter
      title: SegmentOperatingIncome
      description: LLM-extracted per-segment operating metrics for a quarter.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````