Skip to main content
Version: 2.0

Get NFT metadata

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

Get the global NFT metadata for a given network and contract (mint, standard, name, symbol, metaplex).

PATH PARAMS
networkstringrequired
The network to query
addressstringrequired
The address of the contract
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.SolApi.nft.getNFTMetadata({
"network": "mainnet",
"address": "DDy5QHKEDgg5ZyWmwi1rJKwYHe7ZR5udGQfJkc8EPfLM"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"mint": "",
"standard": "",
"name": "",
"symbol": "",
"metaplex": {
"metadataUri": "",
"masterEdition": "",
"isMutable": "",
"primarySaleHappened": "",
"sellerFeeBasisPoints": "",
"updateAuthority": ""
}
}