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

# Get portfolio



## OpenAPI

````yaml /coins/api-reference/openapi.json get /wallet/portfolio
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Coins by Daya product. X-API-Key authenticated.
    Market data, portfolio, balances, transactions, order placement, crypto and
    fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Coins Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/coins/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /wallet/portfolio:
    get:
      tags:
        - coins-account
      summary: Get portfolio
      operationId: getWalletPortfolio
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicPortfolio
                    type: object
          description: Portfolio rows
        '401':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.Envelope
          description: Missing or invalid API key
components:
  schemas:
    github_com_dayacoins_daya-coins-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-coins-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicPortfolio:
      properties:
        assets:
          items:
            $ref: '#/components/schemas/internal_publicapi_v1.PublicPortfolioHolding'
          type: array
        totals:
          $ref: '#/components/schemas/internal_publicapi_v1.PublicPortfolioTotals'
      type: object
    github_com_dayacoins_daya-coins-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
    internal_publicapi_v1.PublicPortfolioHolding:
      properties:
        asset:
          example: BTC
          type: string
        available:
          example: '0.05000000'
          type: string
        balance:
          example: '0.05000000'
          type: string
        change_24h_pct:
          example: '2.15'
          type: string
        change_24h_usd:
          example: '68.42'
          type: string
        price_usd:
          example: '65000.00'
          type: string
        usd_value:
          example: '3250.00'
          type: string
      type: object
    internal_publicapi_v1.PublicPortfolioTotals:
      properties:
        change_24h_pct:
          example: '1.87'
          type: string
        change_24h_usd:
          example: '78.12'
          type: string
        usd:
          example: '4250.00'
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````