> ## 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 the attributable trade tape

> Includes official wrapper flows and exactly reconciled official-pool swaps.



## OpenAPI

````yaml /api-reference/retardmarket_openapi.yml get /markets/{market}/trades
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:
  /markets/{market}/trades:
    get:
      tags:
        - Markets
      summary: Read the attributable trade tape
      description: >-
        Includes official wrapper flows and exactly reconciled official-pool
        swaps.
      operationId: getRetardV9MarketTrades
      parameters:
        - $ref: '#/components/parameters/MarketAddress'
      responses:
        '200':
          description: The market trade tape
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TradeTape'
        '400':
          $ref: '#/components/responses/InvalidInput'
        '404':
          $ref: '#/components/responses/MarketNotFound'
        '429':
          $ref: '#/components/responses/ApiKeyOrRateLimit'
        '503':
          $ref: '#/components/responses/ProjectionUnavailable'
components:
  parameters:
    MarketAddress:
      in: path
      name: market
      required: true
      description: V9 market contract address
      schema:
        $ref: '#/components/schemas/Address'
  schemas:
    TradeTape:
      type: object
      required:
        - market
        - state
        - launchedAt
        - closesAt
        - yesSeedWeth
        - noSeedWeth
        - trades
        - updatedAt
      properties:
        market:
          $ref: '#/components/schemas/Address'
        state:
          $ref: '#/components/schemas/MarketState'
        launchedAt:
          $ref: '#/components/schemas/DateTime'
        closesAt:
          $ref: '#/components/schemas/DateTime'
        yesSeedWeth:
          $ref: '#/components/schemas/Wei'
        noSeedWeth:
          $ref: '#/components/schemas/Wei'
        trades:
          type: array
          items:
            $ref: '#/components/schemas/Trade'
        updatedAt:
          $ref: '#/components/schemas/DateTime'
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x0000000000000000000000000000000000000001'
    MarketState:
      type: string
      enum:
        - OPEN
        - AWAITING_SETTLEMENT
        - RESOLVED
    DateTime:
      type: string
      format: date-time
    Wei:
      type: string
      pattern: ^[0-9]+$
      description: Unsigned integer amount in Wei
      example: '50000000000000000'
    Trade:
      type: object
      required:
        - t
        - blockNumber
        - logIndex
        - side
        - kind
        - wallet
        - wethAmount
        - tokenAmount
      properties:
        t:
          $ref: '#/components/schemas/DateTime'
        blockNumber:
          $ref: '#/components/schemas/IntegerString'
        logIndex:
          type: integer
        side:
          $ref: '#/components/schemas/SideKey'
        kind:
          type: string
          enum:
            - BUY
            - SELL
        wallet:
          $ref: '#/components/schemas/Address'
        wethAmount:
          $ref: '#/components/schemas/Wei'
        fdvWeth:
          $ref: '#/components/schemas/Wei'
        walletWethAmount:
          $ref: '#/components/schemas/Wei'
        tokenAmount:
          $ref: '#/components/schemas/IntegerString'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    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
    IntegerString:
      type: string
      pattern: ^[0-9]+$
    SideKey:
      type: string
      enum:
        - 'YES'
        - 'NO'
  responses:
    InvalidInput:
      description: Invalid request input
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MarketNotFound:
      description: Market is not present in the official V9 projection
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    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'
    ProjectionUnavailable:
      description: Finalized projection is stale, unavailable, or still catching up
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: API-KEY
      description: Caller-specific VibeChain API key created through `/apikey/create`.

````