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:
- Specify the network, address and token ID of the NFT you are interested in
- The URL is simple:
https://api.center.dev/v2/{network}/{address}/nft/{tokenID}/metadata
- The URL is simple:
- Make a GET request to the Center API
- Receive all associated metadata for that NFT in an easy-to-use format
Make batched metadata calls with our Get NFT Metadata (Batched) endpoint:
- Create an array of address-tokenID pairs for the NFTs you are interested in
- Make a POST request to the Center API
- Receive an array of the metadata for every NFT
Retrieve collection-level metadata with our Get NFT Collection Metadata endpoint:
- Specify the network and address of the collection you are interested in
- The URL is simple:
https://api.center.dev/v2/{network}/{address}/nft/metadata
- The URL is simple:
- Make a GET request to the Center API
- Receive all associated metadata for that collection in an easy-to-use format
Updated about 2 years ago