How to retrieve NFT metadata

You can easily start adding NFT metadata to your app with Center.

Retrieve metadata for a specific NFT with our Get NFT Metadata endpoint:

  1. Specify the network, address and token ID of the NFT you are interested in
    1. The URL is simple: https://api.center.dev/v2/{network}/{address}/nft/{tokenID}/metadata
  2. Make a GET request to the Center API
  3. Receive all associated metadata for that NFT in an easy-to-use format

Make batched metadata calls with our Get NFT Metadata (Batched) endpoint:

  1. Create an array of address-tokenID pairs for the NFTs you are interested in
  2. Make a POST request to the Center API
  3. Receive an array of the metadata for every NFT

Retrieve collection-level metadata with our Get NFT Collection Metadata endpoint:

  1. Specify the network and address of the collection you are interested in
    1. The URL is simple: https://api.center.dev/v2/{network}/{address}/nft/metadata
  2. Make a GET request to the Center API
  3. Receive all associated metadata for that collection in an easy-to-use format