API ReferenceNFT APIGet NFT metadataVersion: 2.2Get NFT metadataGEThttps://solana-gateway.moralis.io/nft/:network/:address/metadataGet the global NFT metadata for a given network and contract (mint, standard, name, symbol, metaplex).PATH PARAMSnetworkstringrequiredThe network to querymainnetdevnetaddressstringrequiredThe address of the contractResponses200 object400 objectAPI KEYTest Live APINode.jsPythoncURLGoPHPimport 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);}from moralis import sol_apiapi_key = "YOUR_API_KEY"params = { "network": "mainnet", "address": "DDy5QHKEDgg5ZyWmwi1rJKwYHe7ZR5udGQfJkc8EPfLM"}result = sol_api.nft.get_nft_metadata( api_key=api_key, params=params,)print(result)curl --request GET \ --url 'https://solana-gateway.moralis.io/nft/mainnet/DDy5QHKEDgg5ZyWmwi1rJKwYHe7ZR5udGQfJkc8EPfLM/metadata' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://solana-gateway.moralis.io/nft/mainnet/DDy5QHKEDgg5ZyWmwi1rJKwYHe7ZR5udGQfJkc8EPfLM/metadata" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://solana-gateway.moralis.io/nft/mainnet/DDy5QHKEDgg5ZyWmwi1rJKwYHe7ZR5udGQfJkc8EPfLM/metadata', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 400 { "mint": "", "standard": "", "name": "", "symbol": "", "metaplex": { "metadataUri": "", "masterEdition": "", "isMutable": "", "primarySaleHappened": "", "sellerFeeBasisPoints": "", "updateAuthority": "" }}