---
title: "Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721"
method: GET
path: "/cosmos/nft/v1beta1/balance/{owner}/{class_id}"
tags: ["Query"]
---

# Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721

`GET /cosmos/nft/v1beta1/balance/{owner}/{class_id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `owner` string, required
- `class_id` string, required

## Response `200`

A successful response.

- object
  - `amount` string, uint64

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-08-06** `7183739e3090`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medibloc/apis/cosmoshub-grpc-gateway-docs/changes/cosmos/nft/v1beta1/balance/:owner/:class_id/get.md)

---

[API](https://skmtc.dev/medibloc/apis/cosmoshub-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/medibloc/apis/cosmoshub-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/medibloc/apis/cosmoshub-grpc-gateway-docs/revisions/7183739e3090?raw)
