Get NFT by Token Id

NFT ownership verification

With this API , you can verify the ownership of a specific NFT by its unique Token_id.

API Doc

Swagger Doc | ReDoc

Curl call example

curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/flow/chain/{chain}/account/{account_id}/{contractAddress}/{collectionPublicPath}/{token_id}/getNFTById"
-H  "Content-Type: application/json" 

Path parameters:

  • chain:[string] chain to work with. Either testnet or mainnet .

  • contractAddress:[string] smart contract account .

  • token_id:[string] Flow token_id of the NFT.

  • collectionPublicPath:[string] path of the collection.

Example:

curl -X POST "http://0.0.0.0:7000/v2/nftkit/nft/flow/chain/testnet/account/0xe8e83eb775b67bc2/0xa9ccb9756a0ee7eb/%2Fpublic%2FexampleNFTCollection/1/getNFTById" 
-H  "accept: application/json" -d ""

Last updated