> For the complete documentation index, see [llms.txt](https://doc.bittap.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.bittap.org/developer-guides/api-reference/getassetbalance.md).

# GetAssetBalance

<mark style="color:green;">`POST`</mark> /api/get-asset-balance

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name        | Type   | Description              |
| ----------- | ------ | ------------------------ |
| `wallet_id` | string | The end user's wallet id |

**Request**

```json
{
  "wallet_id": "10e21d53-82d3-43d6-99bc-03ea6945d902"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "code": 0,
    "data": {
        "assets_balance": [
            {
                "asset_id": "ou3pE/AgBDOCyX1fGuwqoH/xvc+TOF9iCMYGUN6ds1o=",
                "asset_tag": "bits",
                "amount": 271,
                "type": 0
            }
        ]
    },
    "message": "",
    "traceid": "48e2e725-adcb-4333-a587-5aa9e4b0c403"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
In the above outputs, "type" has two values: 0 for Normal, 1 for Collectible&#x20;
{% endhint %}
