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
Version: 2.0

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
No items in the array
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