---
title: "Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721"
method: GET
path: "/cosmos/nft/v1beta1/owner/{classId}/{id}"
tags: ["Query"]
---

# Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721

`GET /cosmos/nft/v1beta1/owner/{classId}/{id}`

## 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/owner/:classId/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `classId` string, required
- `id` string, required

## Response `200`

A successful response.

- CosmosNftV1beta1QueryOwnerResponse
  - `owner` string

## 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)
