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

# Get Portfolio

> Returns a high-level portfolio summary for a wallet — the total mark-to-market value of all open positions, the USDC balance, and the combined portfolio value.



## OpenAPI

````yaml openapi.json GET /v1/trader/{address}/portfolio
openapi: 3.1.0
info:
  title: Orbscan Open API
  description: >-
    REST endpoints for Polymarket trader activity, deposits & withdrawals, and
    per-transaction action details, sourced directly from on-chain data.
  version: 1.0.0
servers:
  - url: https://api.orbscan.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/trader/{address}/portfolio:
    get:
      summary: Get portfolio summary
      description: >-
        Returns a high-level portfolio summary for a wallet — the total
        mark-to-market value of all open positions, the USDC balance, and the
        combined portfolio value.
      operationId: getPortfolio
      parameters:
        - name: address
          in: path
          required: true
          description: The wallet address to query.
          schema:
            type: string
            example: '0x4fdbdcf0ee06bc9ce6c8c972c4af8884202069fa'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: OK
                  status_code:
                    type: string
                    example: '1'
                  data:
                    $ref: '#/components/schemas/Portfolio'
              example:
                message: OK
                status_code: '1'
                data:
                  positionValue: '361.917627'
                  usdBalance: '700.306867'
                  portfolioValue: '1062.224494'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Portfolio:
      type: object
      properties:
        positionValue:
          type: string
          description: Total mark-to-market value of all open positions in USDC.
        usdBalance:
          type: string
          description: Uninvested USDC balance in the wallet.
        portfolioValue:
          type: string
          description: 'Combined portfolio value: positionValue + usdBalance.'
  responses:
    Unauthorized:
      description: The API key is missing or invalid.
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Missing or invalid API key
              status_code:
                type: string
                example: '0'
              data:
                type: 'null'
          example:
            message: Missing or invalid API key
            status_code: '0'
            data: null
  securitySchemes:
    bearerAuth:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Pass your Orbscan API key as a Bearer token, formatted as `Bearer
        <your_api_key>`.

````