Skip to main content

Get ERC20 token metadata by symbols

GEThttps://deep-index.moralis.io/api/v2/erc20/metadata/symbols

Get the metadata for a list of token symbols (name, symbol, decimals, logo).

QUERY PARAMS
chainstring
The chain to query
symbolsarrayrequired
The symbols to get metadata for
Responses
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.token.getTokenMetadataBySymbol({
"chain": "0x1"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
Empty