---
title: "Supply queries the number of NFTs from the given class, same as totalSupply of ERC721."
method: GET
path: "/cosmos/nft/v1beta1/supply/{classId}"
tags: ["Query"]
---

# Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.

`GET /cosmos/nft/v1beta1/supply/{classId}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/docs/cosmos/nft/v1beta1/supply/:classId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `classId` string, required

## Response `200`

A successful response.

- CosmosNftV1beta1QuerySupplyResponse
  - `amount` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api.md) - [All operations](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/revisions/2d0419923f40?raw)
