---
title: "Class queries an NFT class based on its id"
method: GET
path: "/cosmos/nft/v1beta1/classes/{class_id}"
tags: ["Query"]
---

# Class queries an NFT class based on its id

`GET /cosmos/nft/v1beta1/classes/{class_id}`

## Path parameters

- `class_id` string, required

## Response `200`

A successful response.

- CosmosNftV1beta1QueryClassResponse
  - `class` CosmosNftV1beta1Class — Class defines the class of the nft type.
    - `data` GoogleProtobufAny
      - `@type` string
    - `description` string
    - `id` string
    - `name` string
    - `symbol` string
    - `uri` string
    - `uri_hash` string

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-05-21** `3874a03b0e7b` — 1 info
  - api operation id `UpgradeQuery_Class` removed and replaced with `EvidenceQuery_Class`
- **2025-05-09** `8dbfaa2bebb2` — 1 info
  - api operation id `CircuitQuery_Class` removed and replaced with `UpgradeQuery_Class`
- **2025-04-08** `21a675703a05` — 1 info
  - api operation id `AuthQuery_Class` removed and replaced with `CircuitQuery_Class`
- **2025-03-27** `4f349536c8f3` — 1 info
  - api operation id `FeegrantQuery_Class` removed and replaced with `AuthQuery_Class`
- **2025-02-24** `2ab9d24288c2` — 1 info
  - api operation id `CircuitQuery_Class` removed and replaced with `FeegrantQuery_Class`

[Full history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/cosmos/nft/v1beta1/classes/:class_id/get.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc.dev/pokt-network/apis/http-api-console/revisions/671fab54b729?raw)
