Query token data for certain NFTs

Fetch data for certain NFTs

Request
Security:
path Parameters
nft-address
required
string

NFT Contract address to query

token-id
required
string

NFT ID to query (in hexadecimal)

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200
400
404
get/v2/contract/nft/{nft-address}/token/{token-id}
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://th-api.klaytnapi.com/v2/contract/nft/{nft-address}/token/{token-id}' \
  -H 'x-chain-id: string'
Response samples
application/json
{
  • "tokenId": "0x2",
  • "owner": "0xe5389503156ee02775ee18552f0c9d9846b66a91",
  • "previousOwner": "0x0000000000000000000000000000000000000000",
  • "transactionHash": "0xc7d07066e4e42a7d896c34420ed43568ba44ae15a8ef771b13ba1f6f2d2820c4",
  • "createdAt": 1597304701,
  • "updatedAt": 1597304701
}