Get NFT Data

/v2/nft/metadata

📘

This API is throttled

Note that this is a public API and is subject to throttling. This API is used by public NFT marketplaces to index MetaKeep NFTs.
We recommend using List NFTs API instead which will return all tokens along with their metadata.

This API returns the latest metadata stored inside an NFT. Compliant with OpenSea metadata standard for adding rich metadata to ERC721 NFTs.

This endpoint is returned to the caller, when the tokenURI(uint256 _tokenId) method is called on the smart contracts deployed by the /app/nft/mint API.

{
  "name": "Coachella VIP Pass #5",
  "description": "Welcome to Coachella. This is the limited edition VIP pass #5",
  "image": "https://i.guim.co.uk/img/media/936e0b075973f4ea9b4ab63ea3a359ec916349c1/0_46_3000_1801/master/3000.jpg?width=1200&height=1200&quality=85&auto=format&fit=crop&s=f1f752ba288006061398f89592daa271",
  "external_url": "https://www.coachella.com/",
  "attributes": [
    {
      "trait_type": "Included Drinks",
      "value": 5
    },
    {
      "trait_type": "Access Level",
      "value": "VIP All Access"
    },
    {
      "trait_type": "Store Credits",
      "display_type": "currency",
      "value": 500
    }
  ]
}

📘

Notice the casing of the JSON keys in the response.

JSON response above uses snake_case for key names to be compatible with public NFT marketplaces like OpenSea. This is different from all other MetaKeep APIs that use camelCase for key names.

Chain Identifier

This API expects the chain identifier to be passed in the chain field. The chain identifier can be one of the following:

  • 80002: Polygon Amoy
  • 137: Polygon Mainnet
  • 97: Binance Testnet
  • 56: Binance Mainnet

🚧

Api Error Status

You can find error status returned by the api here.

© Copyright 2024, Passbird Research Inc.

Language
Click Try It! to start a request and see the response here!