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

# Dealer GEX (0DTE) latest published frame (Pro+, ETag)



## OpenAPI

````yaml https://api.yehangshe.com/v1/openapi.json get /v1/derived/dealer-gex/{ticker}/live
openapi: 3.1.0
info:
  title: GEX Heatmap Data API
  version: 0.4.0-operation-ids
  description: >-
    Dealer MVP scope. 数据集端点 paths 由 dataset registry 派生；Dealer GEX / Heatmap
    数据集随 P2 注册后自动出现。
servers:
  - url: https://api.yehangshe.com
    description: production
security: []
paths:
  /v1/derived/dealer-gex/{ticker}/live:
    get:
      summary: Dealer GEX (0DTE) latest published frame (Pro+, ETag)
      operationId: derived.dealer_gex_live
      parameters:
        - name: ticker
          in: path
          required: true
          schema:
            type: string
            pattern: ^[A-Z]{1,5}$
        - name: If-None-Match
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: object payload
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - data
                  - _meta
                properties:
                  data:
                    type: object
                    additionalProperties: false
                    required:
                      - ticker
                      - snapshot_at
                      - session_date_et
                      - state
                      - spot_usd
                      - strikes
                      - summary
                    properties:
                      ticker:
                        type: string
                      snapshot_at:
                        type: string
                        format: date-time
                      session_date_et:
                        type:
                          - string
                          - 'null'
                        format: date
                      state:
                        type:
                          - string
                          - 'null'
                      spot_usd:
                        type:
                          - number
                          - 'null'
                      strikes:
                        type: array
                        maxItems: 5
                        items:
                          type: object
                          additionalProperties: false
                          required:
                            - strike_usd
                            - net_gex_usd
                            - node_type
                            - rank
                            - relative_strength
                          properties:
                            strike_usd:
                              type: number
                            net_gex_usd:
                              type:
                                - number
                                - 'null'
                            node_type:
                              type:
                                - string
                                - 'null'
                            rank:
                              type: integer
                              minimum: 1
                            relative_strength:
                              type:
                                - number
                                - 'null'
                      summary:
                        type: object
                        additionalProperties: false
                        required:
                          - total_gex_usd
                          - king_strike_usd
                          - gamma_flip_usd
                          - call_wall_strike_usd
                          - put_wall_strike_usd
                          - major_positive_strike_usd
                          - major_negative_strike_usd
                        properties:
                          total_gex_usd:
                            type:
                              - number
                              - 'null'
                          king_strike_usd:
                            type:
                              - number
                              - 'null'
                          gamma_flip_usd:
                            type:
                              - number
                              - 'null'
                          call_wall_strike_usd:
                            type:
                              - number
                              - 'null'
                          put_wall_strike_usd:
                            type:
                              - number
                              - 'null'
                          major_positive_strike_usd:
                            type:
                              - number
                              - 'null'
                          major_negative_strike_usd:
                            type:
                              - number
                              - 'null'
                  _meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '304':
          description: >-
            If-None-Match matched the current representation; no body, consumes
            no quota
          headers:
            ETag:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/AuthenticationError'
        '402':
          $ref: '#/components/responses/SubscriptionPaused'
        '403':
          $ref: '#/components/responses/ScopeInsufficient'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - bearerAuth: []
components:
  schemas:
    ResponseMeta:
      type: object
      additionalProperties: false
      required:
        - request_id
        - cache_hit
        - data_freshness_seconds
        - truncated
      properties:
        request_id:
          type:
            - string
            - 'null'
        cache_hit:
          type: boolean
        data_freshness_seconds:
          type:
            - integer
            - 'null'
          minimum: 0
        truncated:
          const: false
        notice:
          type: string
        rate_limit_remaining:
          type: integer
          minimum: 0
        quota_remaining_pct:
          type: number
          minimum: 0
          maximum: 100
        data_source:
          type: string
          enum:
            - internal
    ErrorEnvelope:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - tags
            - message
            - docs_url
            - request_id
          properties:
            code:
              type: string
            tags:
              type: array
              items:
                type: string
            message:
              type: string
            docs_url:
              type: string
              format: uri
            request_id:
              type:
                - string
                - 'null'
            hint:
              type: string
  responses:
    ValidationError:
      description: validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    AuthenticationError:
      description: authentication error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    SubscriptionPaused:
      description: subscription paused
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    ScopeInsufficient:
      description: scope insufficient, dataset access not enabled, or plan tier required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: rate limited or quota exhausted
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.