---
title: "Get Token Balances for a User or Token"
method: GET
path: "/v1/chains/{chainId}/balances"
tags: ["Chains"]
---

# Get Token Balances for a User or Token

`GET /v1/chains/{chainId}/balances`

This endpoint retrieves all token balances for a GM Chain. Results can be optionally filtered by `tokenAddress`, `userAddress`, or both parameters together. If no filters are provided, all balances on the chain will be returned.

For caching details on this endpoint, please see: [Endpoint Caching](https://docs.ondo.finance/api-reference/endpoint-caching).

## Path parameters

- `chainId` 'ethereum-1' | 'bsc-56' | 'solana-900', required — The chain's identifier including the chain name and chain id.

## Query parameters

- `tokenAddress` string
- `userAddress` string

## Response `200`

OK

- object
  - `tokens` ChainToken[], required
    - `tokenAddress` string, required — The contract address of the token on the specified chain.
    - `tokenSymbol` string, required — The symbol of the token on the specified chain.
    - `balances` ChainBalance[], required
      - `holderAddress` ChainHolderAddress, required
        - `account` string, required — The address of the holder account.
      - `balance` string, required — The token balanced, represented as a string-encoded decimal with up to 18 digits after the decimal point.

## Other responses

- `400` — One of the request parameters is invalid. Please see the returned message and documentation for details.
- `401` — Missing or invalid API key.
- `429` — The account has exceeded its rate limits. Please see the returned message and documentation for details.
- `500` — An internal server error occurred. Please see the returned message and documentation for details.

---

[API](https://skmtc.net/ondo/apis/gm-backend-api.md) · [All operations](https://skmtc.net/ondo/apis/gm-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ondo/gm-backend-api/revisions/12953a4908b2/schema)
