How To Locate An NFT Contract Address and Token ID

How To Locate An NFT Contract Address and Token ID

A token ID is an NFT’s unique identifier, and the smart contract address uniquely identifies an NFT collection’s smart contract on a blockchain such as Ethereum.

Retrieving an NFT collection’s token ID and contract address can be incredibly useful in programmatically retrieving the associated contract’s metadata. The metadata contains exclusive features and information of an NFT, from the owner’s wallet details to transaction history.

For the non-tech savvy, this information can be accessed by copying the contract address into blockchain explorers like Etherscan or NFT explorers like DappRader, which allow users to access digital assets and their related information on the associated network. On any token non-fungible token explorer, the contract address and token ID of an NFT are often given as a figure legend beneath the NFT or as part of the description section.

One of the simplest ways of retrieving an NFT’s token ID and contract address is to visit the webpage of popular NFT-affiliated trading platforms like Coinbase and opensea and look at the URL format: website-domain/…/contract address/ or website-domain/…/contract address/tokenID.

For example, BoredApeYachtClub #3555 has an associated Coinbase NFT URL of

with 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d and 3555 representing the BAYC smart contract address and token ID respectively.

You can also view the same information on the Opensea platform, which supports blockchains like Ethereum, Polygon, and Solana, as shown below: