API ReferenceMarket Data APIGet the top ERC20 tokens by price changeVersion: 2.0Get the top ERC20 tokens by price changeGEThttps://deep-index.moralis.io/api/v2/market-data/erc20s/top-moversGet the top ERC20 tokens by price change💡PREMIUM ENDPOINTTo 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.Responses200 Returns an a list of ERC20 tokens with their price changeobjectAPI KEYTry ItNode.jsPythoncURLGoPHPimport Moralis from 'moralis';try { await Moralis.start({ apiKey: "YOUR_API_KEY" }); const response = await Moralis.EvmApi.marketData.getTopERC20TokensByPriceMovers({}); console.log(response.raw);} catch (e) { console.error(e);}from moralis import evm_apiapi_key = "YOUR_API_KEY"result = evm_api.market_data.get_top_erc20_tokens_by_price_movers( api_key=api_key,)print(result)curl --request GET \ --url 'https://deep-index.moralis.io/api/v2/market-data/erc20s/top-movers' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://deep-index.moralis.io/api/v2/market-data/erc20s/top-movers" req, _ := http.NewRequest("GET", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('GET', 'https://deep-index.moralis.io/api/v2/market-data/erc20s/top-movers', [ 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', ],]);echo $response->getBody();Response Example200 Returns an a list of ERC20 tokens with their price change{ "gainers": [ { "rank": "1", "token_name": "Wrapped Ether", "token_symbol": "WETH", "token_logo": "https://assets.coingecko.com/coins/images/2518/large/weth.png?1595348880", "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" } ], "losers": [ { "rank": "1", "token_name": "Wrapped Ether", "token_symbol": "WETH", "token_logo": "https://assets.coingecko.com/coins/images/2518/large/weth.png?1595348880", "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" } ]}