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

# Get Portfolio Distribution

> Get portfolio distribution by tokens with percentages across all or filtered accounts.

Args:
    filter_request: JSON payload with filtering criteria
    
Returns:
    Dictionary with token distribution including percentages, values, and breakdown by accounts/connectors



## OpenAPI

````yaml /api-reference/openapi.json post /portfolio/distribution
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /portfolio/distribution:
    post:
      tags:
        - Portfolio
      summary: Get Portfolio Distribution
      description: >-
        Get portfolio distribution by tokens with percentages across all or
        filtered accounts.


        Args:
            filter_request: JSON payload with filtering criteria
            
        Returns:
            Dictionary with token distribution including percentages, values, and breakdown by accounts/connectors
      operationId: get_portfolio_distribution_portfolio_distribution_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PortfolioDistributionFilterRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    PortfolioDistributionFilterRequest:
      properties:
        account_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Account Names
          description: List of account names to filter by
        connector_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Connector Names
          description: List of connector names to filter by
      type: object
      title: PortfolioDistributionFilterRequest
      description: Request model for filtering portfolio distribution
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````