Skip to main content
Version: 2.2

Get Top Tokens by Market Cap

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
GEThttps://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens

Get the top ERC20 tokens by market cap

Responses
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"
}
]