Contract Metadata By Address
getContractMetadata - Retrieves high-level collection or contract-level information for an NFT. This endpoint is supported on Ethereum and many L2s, including Polygon, Arbitrum, Optimism, Base, World Chain and more. See the full list of supported networks here.
Path parameters
Query parameters
String - Contract address for the NFT contract (ERC721 and ERC1155 supported).
Response
Returns the contract metadata for the specified address.
String - Contract address for the queried NFT collection
String - NFT contract name.
String - NFT contract symbol abbreviation.
String - Total number of NFTs in a given NFT collection.
String - For valid NFTs, ‘ERC721’ or ‘ERC1155.’ For invalid NFTs, a descriptive reason such as ‘NO_SUPPORTED_NFT_STANDARD’ if the input contract address doesn’t support a known NFT standard, or ‘NOT_A_CONTRACT’ if there is no contract deployed at the input address.
String - Address that deployed the smart contract
Number - The Block Number when the deployment transaction is successfully mined
Note that the OpenSea metadata object is currently only available on ETH and Polygon Mainnet. Please reach out to us at [email protected] if you would like to access this data on other networks.