Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key

Get NFT metadata

GEThttps://solana-gateway.moralis.io/nft/:network/:address/metadata

Gets the contract level metadata (mint, standard, name, symbol, metaplex) for the given contract

PATH PARAMS
networkstringrequired
The network to query
addressstringrequired
The address to query
QUERY PARAMS
mediaItemsboolean
Should return media items
Responses
200
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://solana-gateway.moralis.io/nft/mainnet/So11111111111111111111111111111111111111112/metadata?mediaItems=false' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
{
"mint": "",
"address": "",
"standard": "",
"name": "",
"symbol": "",
"tokenStandard": "",
"description": "",
"imageOriginalUrl": "",
"externalUrl": "",
"metadataOriginalUrl": "",
"totalSupply": "",
"attributes": {
"traitType": ""
},
"creators": {
"address": "",
"share": "",
"verified": ""
},
"media": "",
"possibleSpam": ""
}