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

# Get complete portfolio information



## OpenAPI

````yaml /openapi.json get /api/v1/solana/portfolio
openapi: 3.0.0
info:
  title: Mr Monei API Gateway
  description: External API for partners using API Key authentication
  version: '1.0'
  contact: {}
servers:
  - url: https://api.dev.monei.cc
    description: Dev Server
  - url: https://api.monei.cc
    description: Live Server
security: []
tags: []
paths:
  /api/v1/solana/portfolio:
    get:
      tags:
        - Solana Wallet
      summary: Get complete portfolio information
      operationId: SolanaController_getPortfolio
      parameters:
        - name: network
          required: false
          in: query
          description: Solana network to use
          schema:
            $ref: '#/components/schemas/SolanaNetwork'
      responses:
        '500':
          description: Internal server error
        default:
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortfolioResponseDto'
      security:
        - bearer: []
        - api-key: []
components:
  schemas:
    SolanaNetwork:
      type: string
      enum:
        - mainnet-beta
        - devnet
        - testnet
    PortfolioResponseDto:
      type: object
      properties:
        statusCode:
          type: number
        message:
          type: string
        data:
          $ref: '#/components/schemas/PortfolioDto'
        errors:
          type: object
      required:
        - statusCode
        - message
        - data
        - errors
    PortfolioDto:
      type: object
      properties:
        userId:
          type: string
          description: User ID
        address:
          type: string
          description: Wallet address
        nativeBalance:
          type: string
          description: Native SOL balance
        nativeBalanceLamports:
          type: string
          description: Native SOL balance in lamports
        nativeBalanceUsd:
          type: number
          description: Estimated USD value of native balance
        tokens:
          description: List of token holdings
          type: array
          items:
            $ref: '#/components/schemas/TokenInfoDto'
        totalValueUsd:
          type: number
          description: Total portfolio value in USD (if prices available)
      required:
        - userId
        - address
        - nativeBalance
        - nativeBalanceLamports
        - nativeBalanceUsd
        - tokens
        - totalValueUsd
    TokenInfoDto:
      type: object
      properties:
        mintAddress:
          type: string
          description: Token mint address
        name:
          type: string
          description: Token name
        symbol:
          type: string
          description: Token symbol
        balance:
          type: string
          description: Token balance in readable format
        rawBalance:
          type: string
          description: Raw token balance (smallest units)
        decimals:
          type: number
          description: Number of decimal places
        priceUsd:
          type: number
          description: Current USD price (if available)
        valueUsd:
          type: number
          description: Value in USD (if price available)
      required:
        - mintAddress
        - name
        - symbol
        - balance
        - rawBalance
        - decimals
        - priceUsd
        - valueUsd
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-KEY

````