get https://deep-index.moralis.io/api/v2/nft/search
Get NFTs that match a given metadata search query.
Log in to see full request history
Response
Get NFTs that match a given metadata search query.
xxxxxxxxxx
26import Moralis from 'moralis';
import { EvmChain } from '@moralisweb3/evm-utils';
​
try {
const chain = EvmChain.ETHEREUM;
​
const q = 'Pancake';
​
const filter = 'name';
​
await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});
​
const response = await Moralis.EvmApi.nft.searchNFTs({
q,
filter,
chain,
});
​
console.log(response?.result);
} catch (e) {
console.error(e);
}
Try It!
to start a request and see the response here! Or choose an example: