> ## 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.

# Subscribe to runtime updates

> SSE with hello, reset, invalidate and trade events plus presence/heartbeat updates. Retain ids; Last-Event-ID takes precedence over after. On reset, refetch durable GET endpoints. Updates are not finality or transaction receipts. Up to 16 topics; wallet topic addresses must be lowercase. Back off on 503 or disconnect.



## OpenAPI

````yaml /api-reference/vibemarket_openapi.json get /runtime/{version}/stream
openapi: 3.0.3
info:
  title: vibe.market API
  version: '2026-10-14'
  description: >-
    Public developer API for vibe.market at https://vibechain.com/market.
    $SPORTS stands for Society for the Preservation of Rare Trading Stuff. Packs
    can feature memes, art or any other collectible theme permitted by the
    Terms; they are not limited to sports. This is an experimental protocol;
    review https://vibechain.com/terms. Every documented API request requires a
    registered API-KEY, including public-data reads. Keys are shared across
    Vibechain products and never replace action-specific wallet authorization.
    Normal per-replica minute budgets are 100 reads, 25 writes and 10 stream
    connections, multiplied by the approved key multiplier. Discover runtime
    graphs rather than hardcoding a revision. Wallet inventory is graph-scoped
    at /runtime/{version}/board?resource=inventory&owner={wallet}; there is no
    aggregate /user/holdings route. The /api/vibemarket2 namespace is
    intentional. First-party account, chat, direct-message, access, moderation,
    provider-webhook and operator workflows are excluded.
  termsOfService: https://vibechain.com/terms
servers:
  - url: https://build.vibechain.com/api/vibemarket2
    description: Current-market backend
security:
  - ApiKey: []
tags:
  - name: Discovery
  - name: Indexed market
  - name: Board
  - name: Live updates
  - name: Creators
  - name: Artwork
  - name: API keys
  - name: Shared services
paths:
  /runtime/{version}/stream:
    get:
      tags:
        - Live updates
      summary: Subscribe to runtime updates
      description: >-
        SSE with hello, reset, invalidate and trade events plus
        presence/heartbeat updates. Retain ids; Last-Event-ID takes precedence
        over after. On reset, refetch durable GET endpoints. Updates are not
        finality or transaction receipts. Up to 16 topics; wallet topic
        addresses must be lowercase. Back off on 503 or disconnect.
      operationId: vm2020
      parameters:
        - name: version
          in: path
          required: true
          schema:
            type: string
          description: >-
            Runtime id from /runtime/versions or catalog/sources; never infer
            the newest revision from its name.
        - name: topics
          in: query
          required: false
          schema:
            type: string
            default: catalog,pot
          description: >-
            Comma-separated catalog, pot, market:{positiveDropId},
            wallet:{lowercaseAddress}; maximum 16.
        - name: after
          in: query
          required: false
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: Last-Event-ID
          in: header
          schema:
            type: string
            pattern: ^[0-9]+$
        - name: watch
          in: query
          required: false
          schema:
            type: string
            pattern: ^(shelf|[1-9][0-9]{0,77})$
          description: Presence scope.
      responses:
        '200':
          description: Long-lived server-sent event stream.
          content:
            text/event-stream:
              schema:
                type: string
        '400':
          description: Invalid input, signature, cursor or action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/ApiKeyUnauthorized'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/ApiKeyRateLimited'
        '503':
          description: >-
            Dependency, projection or capacity unavailable. Retry with backoff.
            Key lookup or application dependency unavailable; fails closed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKey: []
        - StreamApiKey: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  responses:
    ApiKeyUnauthorized:
      description: >-
        Missing, malformed or invalid API key; private routes can also reject
        session credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ApiKeyRateLimited:
      description: >-
        API-key budget, failed key attempts or independent service admission
        exhausted. Honor Retry-After.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: API-KEY
      description: >-
        Registered Vibechain application key. Required in addition to
        wallet/session credentials. Obtain your own key via POST
        https://build.vibechain.com/apikey/create; see Authentication and
        consent. Missing/invalid keys: 401; exhausted quota: 429; lookup outage:
        503.
    StreamApiKey:
      type: apiKey
      in: query
      name: apiKey
      description: >-
        Native EventSource fallback on exact GET /runtime/{version}/stream only.
        A nonempty API-KEY header takes precedence. Do not log or share
        credential-bearing URLs.

````

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