> ## 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 GEX history

> Get GEX snapshot history for a symbol (up to 90 days).



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/regime/{symbol}/gex/history
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/regime/{symbol}/gex/history:
    get:
      tags:
        - Market Microstructure
      summary: Get GEX history
      description: Get GEX snapshot history for a symbol (up to 90 days).
      operationId: get_gex_history_api_graph_v1_regime__symbol__gex_history_get
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
            title: Symbol
        - name: days
          in: query
          required: false
          schema:
            type: integer
            maximum: 90
            minimum: 1
            default: 30
            title: Days
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GEXSnapshotResponse'
                title: >-
                  Response Get Gex History Api Graph V1 Regime  Symbol  Gex
                  History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GEXSnapshotResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        time:
          type: string
          title: Time
        spot_price:
          type: number
          title: Spot Price
        total_gex:
          type: number
          title: Total Gex
        gex_regime:
          type: string
          title: Gex Regime
          description: long_gamma or short_gamma
        gamma_flip_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Gamma Flip Strike
        max_pos_gamma_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Max Pos Gamma Strike
        max_neg_gamma_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Max Neg Gamma Strike
        pin_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Pin Strike
        acceleration_zones:
          items:
            $ref: '#/components/schemas/AccelerationZoneResponse'
          type: array
          title: Acceleration Zones
        gex_curve:
          items:
            $ref: '#/components/schemas/GEXStrikePointResponse'
          type: array
          title: Gex Curve
        contracts_analyzed:
          type: integer
          title: Contracts Analyzed
          default: 0
        expirations_used:
          type: integer
          title: Expirations Used
          default: 0
        data_quality:
          type: number
          title: Data Quality
          default: 0
        computation_ms:
          type: integer
          title: Computation Ms
          default: 0
        expiration:
          anyOf:
            - type: string
            - type: 'null'
          title: Expiration
        is_aggregate:
          type: boolean
          title: Is Aggregate
          default: true
      type: object
      required:
        - symbol
        - time
        - spot_price
        - total_gex
        - gex_regime
      title: GEXSnapshotResponse
      description: Single GEX snapshot for a symbol.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AccelerationZoneResponse:
      properties:
        low:
          type: number
          title: Low
        high:
          type: number
          title: High
        gex_density:
          type: number
          title: Gex Density
      type: object
      required:
        - low
        - high
        - gex_density
      title: AccelerationZoneResponse
    GEXStrikePointResponse:
      properties:
        strike:
          type: number
          title: Strike
        call_gex:
          type: number
          title: Call Gex
        put_gex:
          type: number
          title: Put Gex
        net_gex:
          type: number
          title: Net Gex
      type: object
      required:
        - strike
        - call_gex
        - put_gex
        - net_gex
      title: GEXStrikePointResponse
    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

````