To get started now, try this to make a Show NFT Metadata call for Doodle #1 using just the contract address and token ID:
curl https://api.center.dev/v2/ethereum-mainnet/0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e/nft/1/metadata
This endpoint returns key data for this NFT, including the collection name, attributes, a description, and details to render the media.
Response:
{
"network": "ethereum-mainnet",
"address": "0x8a90cab2b38dba80c64b7734e58ee1db38b8992e",
"tokenID": "1",
"collection": {
"network": "ethereum-mainnet",
"name": "Doodles",
"address": "0x8a90cab2b38dba80c64b7734e58ee1db38b8992e",
"symbol": "DOODLE",
"totalSupply": 10000,
"discordURL": "https://discord.gg/doodles",
"twitterUsername": "doodles",
"openSeaInfo": {
"description": "A community-driven collectibles project featuring art by Burnt Toast. Doodles come in a joyful range of colors, traits and sizes with a collection size of 10,000. Each Doodle allows its owner to vote for experiences and activations paid for by the Doodles Community Treasury.",
"verified": true,
"url": "https://opensea.io/collection/doodles-official"
},
"bannerImageURL": "https://i.seadn.io/gae/svc_rQkHVGf3aMI14v3pN-ZTI7uDRwN-QayvixX-nHSMZBgb1L1LReSg1-rXj4gNLJgAB0-yD8ERoT-Q2Gu4cy5AuSg-RdHF9bOxFDw?w=500&auto=format",
"featuredImageURL": "https://i.seadn.io/gcs/files/ad1e55ac8d380714566a3ecfe2a7dbcb.png?w=500&auto=format"
},
"contractType": "EVM_ERC721",
"owner": "0xbe9936fcfc50666f5425fde4a9decc59cef73b24",
"metadata": {
"name": "Doodle #1",
"image": "ipfs://QmTDxnzcvj2p3xBrKcGv1wxoyhAn2yzCQnZZ9LmFjReuH9",
"attributes": [
{
"value": "holographic beard",
"trait_type": "face"
},
{
"value": "white bucket cap",
"trait_type": "hair"
},
{
"value": "purple sweater with satchel",
"trait_type": "body"
},
{
"value": "grey",
"trait_type": "background"
},
{
"value": "gradient 2",
"trait_type": "head"
}
],
"description": "A community-driven collectibles project featuring art by Burnt Toast. Doodles come in a joyful range of colors, traits and sizes with a collection size of 10,000. Each Doodle allows its owner to vote for experiences and activations paid for by the Doodles Community Treasury. Burnt Toast is the working alias for Scott Martin, a Canadian–based illustrator, designer, animator and muralist."
},
"media": {
"small": {
"renderURL": "/v2/ethereum-mainnet/0x8a90cab2b38dba80c64b7734e58ee1db38b8992e/nft/1/render/small"
},
"medium": {
"renderURL": "/v2/ethereum-mainnet/0x8a90cab2b38dba80c64b7734e58ee1db38b8992e/nft/1/render/medium"
},
"allMediaPaths": {
"image": [
{
"key": "image",
"value": "ipfs://QmTDxnzcvj2p3xBrKcGv1wxoyhAn2yzCQnZZ9LmFjReuH9",
"path": "$.image",
"mimetype": "image/png"
}
],
"audio": [],
"video": [],
"other": []
}
}
}