Skip to main content
Version: 2.2

Get the top ERC20 tokens by market cap

GEThttps://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens

Get the top ERC20 tokens by market cap

💡PREMIUM ENDPOINT

To use this API, you will need an API key under a Moralis account with the Pro or above plan. To upgrade your API plan, go to the billing page in the Moralis Dashboard.

This API has no parameter and you can simply use the Try It button to test it out.

Responses
200 Returns the top ERC20 tokens by market caparray
rankstringrequired
The rank
token_namestringrequired
The token name
token_symbolstringrequired
The token symbol
token_logostringrequired
The token logo
token_decimalsstringrequired
The token decimals
contract_addressstringrequired
The contract address
price_usdstringrequired
he price in USD
price_24h_percent_changestringrequired
The price change in the last 24h
price_7d_percent_changestringrequired
The price change in the last 7d
market_cap_usdstringrequired
The market cap in USD
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.marketData.getTopERC20TokensByMarketCap({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
[
{
"rank": "1",
"token_name": "Wrapped Ether",
"token_symbol": "WETH",
"token_logo": "https://cdn.moralis.io/eth/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png",
"token_decimals": "18",
"contract_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"price_usd": "0.0285",
"price_24h_percent_change": "0.0285",
"price_7d_percent_change": "0.0285",
"market_cap_usd": "0.0285"
}
]