---
title: "Gets the balance for the specified address and tick."
method: GET
path: "/v1/brc20-swap/balance"
tags: ["BRC20-Swap"]
---

# Gets the balance for the specified address and tick.

`GET /v1/brc20-swap/balance`

## Request

- Base URL: `https://open-api.unisat.io`
- URL: `https://open-api.unisat.io/v1/brc20-swap/balance`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unisat/apis/unisat-wallet-openapi/docs/v1/brc20-swap/balance/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `address` string, required
- `tick` string, required

## Response `200`

Default Response

- object
  - `code` number, required
  - `msg` string, required
  - `data` object, required
    - `balance` object
      - `module` string: Confirmed module balance.
      - `swap` string: Confirmed swap balance.
      - `pendingSwap` string: The balance converted from pending to swap.
      - `pendingAvailable` string: The balance converted from pending to module.
    - `decimal` string

---

[API](https://skmtc.dev/unisat/apis/unisat-wallet-openapi.md) - [All operations](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/revisions/68de350419c7?raw)
