Get NFT

Returns the an NFT (Non-Fungible Token). The contract must follow the ERC-721 or KIP-17 standard. To retrieve correct information, the tokenUri() function must be implemented.

Request
Security:
path Parameters
address
required
string

NFT Contract Address.

id
required
string

The ID of the NFT.

header Parameters
x-chain-id
required
string

Kaia Network Chain ID (1001 or 8217)

Responses
200

The request is successful.

400

The request is not valid.

401

The credential you provided is invalid.

get/v1/metadata/nft/{address}/{id}
Request samples
curl -i -X GET \
  -u <username>:<password> \
  'https://node-api.klaytnapi.com/v1/metadata/nft/{address}/{id}' \
  -H 'x-chain-id: string'
Response samples
application/json
{}