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

# Read one indexed market

> Returns {market,head}; a missing market returns 404 with market:null. This raw payload differs from the board drop view.



## OpenAPI

````yaml /api-reference/vibemarket_openapi.json get /runtime/{version}/markets/{id}
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}/markets/{id}:
    get:
      tags:
        - Indexed market
      summary: Read one indexed market
      description: >-
        Returns {market,head}; a missing market returns 404 with market:null.
        This raw payload differs from the board drop view.
      operationId: vm2015
      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: id
          in: path
          required: true
          schema:
            type: string
            pattern: ^[1-9][0-9]{0,77}$
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  market:
                    $ref: '#/components/schemas/MarketRow'
                  head:
                    $ref: '#/components/schemas/Head'
                required:
                  - market
                  - head
        '400':
          description: Invalid input, signature, cursor or action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          $ref: '#/components/responses/ApiKeyUnauthorized'
        '404':
          description: >-
            Unknown runtime or missing indexed market; response shape depends on
            which is missing.
          content:
            application/json:
              schema:
                type: object
                properties:
                  market:
                    type: object
                    nullable: true
                  head:
                    $ref: '#/components/schemas/Head'
        '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: []
components:
  schemas:
    MarketRow:
      type: object
      properties:
        id:
          type: string
          pattern: ^[0-9]+$
          description: >-
            Exact nonnegative integer; parse as BigInt, not a floating-point
            number.
        name:
          type: string
        symbol:
          type: string
        creator:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        token:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
        createdTx:
          type: string
        canonicalSlug:
          type: string
      required:
        - id
      description: >-
        Raw indexed market payload. Monetary quantities use decimal strings;
        additional graph-specific fields may evolve.
    Head:
      type: object
      properties:
        scope:
          type: string
        nextBlock:
          type: integer
        blockHash:
          type: string
          nullable: true
        revision:
          type: integer
        updatedAt:
          type: integer
        failure:
          type: string
          nullable: true
        observedHead:
          type: integer
        observedAt:
          type: integer
        webhookAudit:
          type: object
          nullable: true
      required:
        - scope
        - nextBlock
        - blockHash
        - revision
        - updatedAt
        - failure
    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.

````

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