getMetadata
Pulls all relevant metadata in JSON format for a given NFT. Compatible with ERC-721 and ERC-1155 contract types. Also provides block number for context.
Request
Endpoint
Headers
Key
Value
Authorization
Token { YOUR-API-KEY }
Parameters
Parameter
Description
contractAddress
Hexadecimal address that defines the NFT collection.
tokenId
Unique identifier that specifies the NFT within the contract address.
Example
Response
Request Status Code
Response
Interpretation
200
Success! Metadata is provided in JSON format.
401
User authentication details failed.
Body
Interpretation
Note that some NFTs do not provide additional data within a URI path. In these cases, extended details may not be available.
This endpoint serves validation for both ERC721 and ERC1155 ABI contract types. For more information on what distinguishes these types, please refer to Ethereum's documentation.
Last updated