> ## 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 sector-level metric statistics

> Return per-sector percentile statistics for requested metrics.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/research/sectors
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/sectors:
    get:
      tags:
        - Research
      summary: Get sector-level metric statistics
      description: Return per-sector percentile statistics for requested metrics.
      operationId: get_sectors_api_graph_v1_research_sectors_get
      parameters:
        - name: metrics
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Comma-separated metric keys
            title: Metrics
          description: Comma-separated metric keys
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SectorsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SectorsResponse:
      properties:
        sectors:
          items:
            $ref: '#/components/schemas/SectorEntry'
          type: array
          title: Sectors
        metrics_requested:
          items:
            type: string
          type: array
          title: Metrics Requested
      type: object
      required:
        - sectors
        - metrics_requested
      title: SectorsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SectorEntry:
      properties:
        sector:
          type: string
          title: Sector
        count:
          type: integer
          title: Count
        metrics:
          additionalProperties:
            $ref: '#/components/schemas/SectorMetricStats'
          type: object
          title: Metrics
      type: object
      required:
        - sector
        - count
        - metrics
      title: SectorEntry
    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
    SectorMetricStats:
      properties:
        median:
          anyOf:
            - type: number
            - type: 'null'
          title: Median
        p25:
          anyOf:
            - type: number
            - type: 'null'
          title: P25
        p75:
          anyOf:
            - type: number
            - type: 'null'
          title: P75
        count:
          type: integer
          title: Count
          default: 0
      type: object
      title: SectorMetricStats

````