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

# Connect to realtime V9 invalidation events

> Server-Sent Events stream. Attach `API-KEY` as a request header and use
stream events to wake a durable REST snapshot refresh. Native browser
EventSource cannot set headers; use a header-capable SSE client.




## OpenAPI

````yaml /api-reference/retardmarket_openapi.yml get /stream
openapi: 3.0.3
info:
  title: retard.market V9 API
  version: 0.9.0
  description: >
    Projection-backed Robinhood Chain market data, conservative quotes, wallet
    portfolios,

    points, media uploads, and realtime invalidation for retard.market.


    Every endpoint requires a caller-specific VibeChain API key in the

    `API-KEY` header. Create one at

    https://docs.vibechain.com/api-reference/retardmarket-intro.
servers:
  - url: https://build.vibechain.com/api/retard/v9
security:
  - ApiKeyAuth: []
tags:
  - name: Runtime
  - name: Markets
  - name: Portfolio
  - name: Points
  - name: Media
  - name: Realtime
paths:
  /stream:
    get:
      tags:
        - Realtime
      summary: Connect to realtime V9 invalidation events
      description: |
        Server-Sent Events stream. Attach `API-KEY` as a request header and use
        stream events to wake a durable REST snapshot refresh. Native browser
        EventSource cannot set headers; use a header-capable SSE client.
      operationId: streamRetardV9Events
      responses:
        '200':
          description: SSE frames such as hello, market updates, resync, and heartbeat
          headers:
            X-Accel-Buffering:
              schema:
                type: string
              description: '`no` for proxy streaming'
          content:
            text/event-stream:
              schema:
                type: string
        '429':
          $ref: '#/components/responses/ApiKeyOrRateLimit'
        '503':
          $ref: '#/components/responses/ProductUnavailable'
components:
  responses:
    ApiKeyOrRateLimit:
      description: API key missing/invalid or the caller allowance is exhausted
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until the current rate window resets
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiKeyError'
    ProductUnavailable:
      description: V9 or the requested subsystem is disabled or unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ApiKeyError:
      allOf:
        - $ref: '#/components/schemas/Error'
        - type: object
          required:
            - docs
          properties:
            error:
              type: string
              enum:
                - API_KEY_REQUIRED_OR_RATE_LIMITED
            docs:
              type: string
              format: uri
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: API-KEY
      description: Caller-specific VibeChain API key created through `/apikey/create`.

````