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

Get ERC20 token metadata by contract

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

Get the metadata for a given token contract address (name, symbol, decimals, logo).

QUERY PARAMS
chainstring
The chain to query
addressesarrayrequired
The addresses to get metadata for
No items in the array
Responses
200Get the metadata for a given ERC20 token contract address (name, symbol, decimals, logo).
400Bad Request
404Not Found
429Too Many Requests
500Internal Server Error
API KEY
curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/erc20/metadata?chain=eth' \
--header 'accept: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Response Example
[
{
"address": "0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09",
"address_label": "Binance 1",
"name": "Kylin Network",
"symbol": "KYL",
"decimals": "18",
"logo": "https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png",
"logo_hash": "ee7aa2cdf100649a3521a082116258e862e6971261a39b5cd4e4354fcccbc54d",
"thumbnail": "https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c_thumb.png",
"total_supply": "420689899999994793099999999997400",
"total_supply_formatted": "420689899999994.7930999999999974",
"fully_diluted_valuation": "3407271444.05",
"block_number": "12526958",
"validated": "true",
"created_at": "",
"possible_spam": "",
"verified_contract": "",
"categories": [
""
],
"links": {
"discord": "https://discord.com/invite/0xPolygon",
"medium": "https://polygontech.medium.com",
"reddit": "https://www.reddit.com/r/polygonnetwork",
"telegram": "https://t.me/channelholo",
"twitter": "https://twitter.com/0xPolygon",
"website": "https://polygon.technology",
"github": "https://github.com/maticnetwork/contracts",
"bitbucket": "https://bitbucket.org",
"facebook": "https://www.facebook.com/holohost",
"instagram": "https://www.instagram.com/0xpolygon",
"linkedin": "https://linkedin.com/company/polygonlabs",
"tiktok": "https://tiktok.com",
"youtube": "https://www.youtube.com/channel/UCvjEq17wWLHFVYwU3OOXPtQ"
}
}
]