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

# Get token balances for a wallet address

> Returns all token balances (SOL and SPL tokens) for the specified wallet address



## OpenAPI

````yaml /api-reference/openapi.json get /token/balance
openapi: 3.0.0
info:
  title: LP Agent Open API
  version: 1.0.0
  description: |+
    Public API for LP Agent

    **Authentication**

    All endpoints require an API key passed via the `x-api-key` header.

servers:
  - url: https://api.lpagent.io/open-api/v1
    description: Production
security:
  - apiKeyAuth: []
tags: []
paths:
  /token/balance:
    get:
      tags:
        - Token
      summary: Get token balances for a wallet address
      description: >-
        Returns all token balances (SOL and SPL tokens) for the specified wallet
        address
      parameters:
        - in: query
          name: owner
          schema:
            type: string
          required: true
          description: The wallet address to get balances for
          example: Ff8v35AC52qYrKUDvmzAapyd8UBYZFHCxzE5Puo1cuVU
        - in: query
          name: ca
          schema:
            type: string
          description: Comma-separated list of token contract addresses to filter by
      responses:
        '200':
          description: Token balances retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        tokenAddress:
                          type: string
                          description: The token address (mint address)
                          example: So11111111111111111111111111111111111111112
                        balance:
                          type: number
                          description: Token balance in human-readable format
                          example: 1.5
                        rawBalance:
                          type: string
                          description: Token balance in raw format (smallest unit)
                          example: '1500000000'
                        symbol:
                          type: string
                          description: Token symbol
                          example: SOL
                        decimals:
                          type: number
                          description: Token decimals
                          example: 9
                        logo:
                          type: string
                          description: Token logo URL
                          example: https://example.com/logo.png
                        balanceInUsd:
                          type: number
                          description: Balance value in USD
                          example: 150.75
                        price:
                          type: number
                          description: Token price in USD
                          example: 100.5
        '400':
          description: Invalid request - owner parameter is required
        '500':
          description: Internal server error
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````