# Get portfolio overview

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/portfolio:
    get:
      summary: Get portfolio overview
      deprecated: false
      description: ''
      operationId: getPortfolio
      tags:
        - REST API/Endpoints/Portfolio
        - Portfolio
      parameters:
        - name: equivalent_currency_id
          in: query
          description: ''
          required: false
          example: b88b8879-efe3-11eb-b56f-0691764446a7
          schema:
            type: string
            format: uuid
        - name: currency_id
          in: query
          description: ''
          required: false
          example: b88b8466-efe3-11eb-b56f-0691764446a7
          schema:
            type: string
            format: uuid
        - name: asset_id
          in: query
          description: ''
          required: false
          example: b86c034b-efe3-11eb-b56f-0691764446a7
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Portfolio overview for the authenticated user
          content:
            '*/*':
              schema:
                properties:
                  data:
                    type: array
                    items:
                      properties:
                        assetId:
                          type: string
                          format: uuid
                        currencyId:
                          type: string
                          format: uuid
                        balance:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        availableBalance:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        investedAmount:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        averageBuyPrice:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        currencyBalance:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        totalReturn:
                          properties:
                            value:
                              type: string
                            assetId:
                              type: string
                              format: uuid
                            currencyId:
                              type: string
                              format: uuid
                          x-apidog-orders:
                            - value
                            - assetId
                            - currencyId
                          type: object
                        totalReturnPercent:
                          type: string
                      x-apidog-orders:
                        - assetId
                        - currencyId
                        - balance
                        - availableBalance
                        - investedAmount
                        - averageBuyPrice
                        - currencyBalance
                        - totalReturn
                        - totalReturnPercent
                      type: object
                x-apidog-orders:
                  - data
                type: object
          headers: {}
          x-apidog-name: OK
        '400':
          description: Invalid query parameters
          content:
            '*/*':
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                    x-apidog-orders:
                      - code
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
        '401':
          description: Unauthorized - missing or invalid API key
          content:
            '*/*':
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                    x-apidog-orders:
                      - code
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                    x-apidog-orders:
                      - code
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
      security:
        - x-api-key: []
          x-apidog:
            schemeGroups:
              - id: vUNW-y9K-G7k7DlKUkNN3
                schemeIds:
                  - x-api-key
            required: true
            use:
              id: vUNW-y9K-G7k7DlKUkNN3
            scopes:
              vUNW-y9K-G7k7DlKUkNN3:
                x-api-key: []
      x-apidog-folder: REST API/Endpoints/Portfolio
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/365298/apis/api-4375768-run
components:
  schemas: {}
  securitySchemes:
    x-api-key:
      type: apikey
      name: x-api-key
      in: header
servers:
  - url: https://api.public.bitpanda.com
    description: Production
security: []

```