---
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/{class_id}/{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/{class_id}/{id}`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/nft/v1beta1/owner/{class_id}/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/nft/v1beta1/owner/:class_id/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `class_id` string, required
- `id` string, required

## Response `200`

A successful response.

- object
  - `owner` string

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
