> ## 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 wallet's V9 positions and activity



## OpenAPI

````yaml /api-reference/retardmarket_openapi.yml get /portfolio/{wallet}
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:
  /portfolio/{wallet}:
    get:
      tags:
        - Portfolio
      summary: Read one wallet's V9 positions and activity
      operationId: getRetardV9Portfolio
      parameters:
        - $ref: '#/components/parameters/WalletAddress'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/PortfolioLimit'
      responses:
        '200':
          description: Projected positions, activity, and referral credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Portfolio'
        '400':
          $ref: '#/components/responses/InvalidInput'
        '429':
          $ref: '#/components/responses/ApiKeyOrRateLimit'
        '503':
          $ref: '#/components/responses/ProjectionUnavailable'
components:
  parameters:
    WalletAddress:
      in: path
      name: wallet
      required: true
      description: EVM wallet address
      schema:
        $ref: '#/components/schemas/Address'
    Cursor:
      in: query
      name: cursor
      required: false
      description: Zero-based durable numeric cursor
      schema:
        type: integer
        minimum: 0
        default: 0
    PortfolioLimit:
      in: query
      name: limit
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
  schemas:
    Portfolio:
      type: object
      required:
        - wallet
        - positions
        - activity
        - referralCredits
        - nextCursor
        - updatedAt
      properties:
        wallet:
          $ref: '#/components/schemas/Address'
        positions:
          type: array
          items:
            $ref: '#/components/schemas/PortfolioPosition'
        activity:
          type: array
          items:
            $ref: '#/components/schemas/PortfolioActivity'
        unpricedTransferTokens:
          type: array
          items:
            $ref: '#/components/schemas/Address'
        referralCredits:
          type: array
          items:
            $ref: '#/components/schemas/ReferralCredit'
        nextCursor:
          type: string
          nullable: true
        updatedAt:
          $ref: '#/components/schemas/DateTime'
        analyticsStatus:
          type: string
          enum:
            - READY
            - SYNCING_RECENT_ACTIVITY
        syncingMarketCount:
          type: integer
          minimum: 0
    Address:
      type: string
      pattern: ^0x[0-9a-fA-F]{40}$
      example: '0x0000000000000000000000000000000000000001'
    PortfolioPosition:
      type: object
      required:
        - marketId
        - market
        - question
        - state
        - closesAt
        - side
        - token
        - symbol
        - balance
        - winner
        - estimatedClaimWeth
      properties:
        marketId:
          type: integer
        market:
          $ref: '#/components/schemas/Address'
        question:
          type: string
        state:
          $ref: '#/components/schemas/MarketState'
        closesAt:
          $ref: '#/components/schemas/DateTime'
        side:
          $ref: '#/components/schemas/SideKey'
        token:
          $ref: '#/components/schemas/Address'
        symbol:
          type: string
        balance:
          $ref: '#/components/schemas/IntegerString'
        winner:
          type: boolean
        estimatedClaimWeth:
          $ref: '#/components/schemas/Wei'
    PortfolioActivity:
      type: object
      required:
        - marketId
        - market
        - question
        - state
        - side
        - token
        - symbol
        - kind
        - source
        - wethAmount
        - tokenAmount
        - transactionHash
        - blockNumber
        - logIndex
      properties:
        marketId:
          type: integer
        market:
          $ref: '#/components/schemas/Address'
        question:
          type: string
        state:
          $ref: '#/components/schemas/MarketState'
        side:
          $ref: '#/components/schemas/SideKey'
        token:
          $ref: '#/components/schemas/Address'
        symbol:
          type: string
        kind:
          type: string
          enum:
            - BUY
            - SELL
            - CLAIM
        source:
          type: string
          enum:
            - MARKET_WRAPPER
            - UNISWAP_V3_POOL
        wethAmount:
          $ref: '#/components/schemas/Wei'
        tokenAmount:
          $ref: '#/components/schemas/IntegerString'
        transactionHash:
          $ref: '#/components/schemas/TransactionHash'
        blockNumber:
          $ref: '#/components/schemas/IntegerString'
        logIndex:
          type: integer
    ReferralCredit:
      type: object
      required:
        - marketId
        - market
        - question
        - claimableWeth
      properties:
        marketId:
          type: integer
        market:
          $ref: '#/components/schemas/Address'
        question:
          type: string
        claimableWeth:
          $ref: '#/components/schemas/Wei'
    DateTime:
      type: string
      format: date-time
    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
    MarketState:
      type: string
      enum:
        - OPEN
        - AWAITING_SETTLEMENT
        - RESOLVED
    SideKey:
      type: string
      enum:
        - 'YES'
        - 'NO'
    IntegerString:
      type: string
      pattern: ^[0-9]+$
    Wei:
      type: string
      pattern: ^[0-9]+$
      description: Unsigned integer amount in Wei
      example: '50000000000000000'
    TransactionHash:
      type: string
      pattern: ^0x[0-9a-fA-F]{64}$
  responses:
    InvalidInput:
      description: Invalid request input
      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`.

````