Token API

Hot Tokens#

Returns a list of tokens ranked by token score and social media mentions based on different time ranges. It can be sorted in descending order according to the specified data, and can also be filtered based on the specified data. Up to 100 results are returned.

Request Path#

GET https://web3.okx.com/api/v6/dex/market/token/hot-token

Request Parameters#

ParameterTypeRequiredDescription
rankingTypeStringYesDefault use trending, does not support multiple selection
4: Trending, sorting by token score
5: Xmentioned, sorting by number of mentions on Twitter
Note: Only 4 and 5, no 1, 2, 3.
chainIndexStringNoDefault is all networks, it does not support multiple selection chain. Example: 1, Filter out the tokens of the Ethereum chain
rankByStringNoTrending lists are sorted backwards by "12" by default; The Xmentioned list is sorted by default in reverse order according to "11". Sort in reverse order according to more parameters, single choice
Enter 1: token price | Enter 2: price changes percent | Enter 3: transactions | Enter 4: unique traders | Enter 5: volume(in USD) | Enter 6: marketcap | Enter 7: liquidity value | Enter 8: token creation time | Enter 9: OKX in-app search frequency | Enter 10: number of holder | Enter 11: mentions on social media | Enter 12: social media scores | Enter 14: net inflow | Enter 15: token score
rankingTimeFrameStringNoDefault is 1h, single choice
1: 5 minutes | 2: 1 hour | 3: 4 hours | 4: 24 hours
riskFilterBooleanNoHide risk tokens, default is true. Example: true, false
protocolIdStringNoFilter tokens by protocol ID. No protocol is selected by default, multiple options can be selected, separated by commas (For example, 120596 can filter out tokens Pump.fun protocols)
priceChangePercentMinStringNoMinimum price change percent
priceChangePercentMaxStringNoMaximum price change percent
tradeAmountMinStringNoMinimum volume
tradeAmountMaxStringNoMaximum volume
volumeMinStringNoMinimum turnover
volumeMaxStringNoMaximum turnover
txsMinStringNoMinimum number of transactions
txsMaxStringNoMaximum number of transactions
uniqueTraderMinStringNoMinimum number of unique trader
uniqueTraderMaxStringNoMaximum number of unique trader
marketCapMinStringNoMinimum Marketcap
marketCapMaxStringNoMaximum Marketcap
liquidityMinStringNoMinimum liquidity
liquidityMaxStringNoMaximum liquidity
stableTokenFilterBooleanNoWhether to filter stablecoins, the default is true. Example: true, false
holdersMinStringNoMinimum number of holders
holdersMaxStringNoMaximum number of holders
top10HoldPercentMinStringNoTop 10 minimum holding percent
top10HoldPercentMaxStringNoTop 10 maximum holding percent
devHoldPercentMinStringNoMinimum developer holding percent
devHoldPercentMaxStringNoMaximum developer holding percent
suspiciousHoldPercentMinStringNoMinimum suspicious holding percent
suspiciousHoldPercentMaxStringNoMaximum suspicious holding percent
bundleHoldPercentMinStringNoMinimum binding holding percent
bundleHoldPercentMaxStringNoMaximum binding holding percent
mentionedCountMinStringNoMinimum number of mentions
mentionedCountMaxStringNoMaximum number of mentions
socialScoreMinStringNoMinimum social score
socialScoreMaxStringNoMaximum social score
isLpBurntBooleanNoWhether LP is burned, the default is true. Example: true, false
isMintBooleanNoWhether it can be mint, the default is true. Example: true, false
isFreezeBooleanNoWhether to freeze, default is true. Example: true, false
inflowUsdMinStringNoMinimum inflow
inflowUsdMaxStringNoMaximum inflow
fdvMinStringNoFDV minimum
fdvMaxStringNoMaximum FDV

Response Parameters#

FieldTypeDescription
chainIndexStringUnique identifier of the chain (e.g. 1: Ethereum)
tokenSymbolStringToken symbol
tokenLogoUrlStringToken Icon URL
tokenContractAddressStringToken contract address
marketCapStringMarketcap (token price × circulating supply)
volumeStringToken trading volume (in USD)
firstTradeTimeStringToken first transaction time
changeStringToken price change ratio
liquidityStringLiquidity value (in USD)
priceStringToken price
holdersStringNumber of holder
uniqueTradersStringThe number of unique trader
txsBuyStringThe number of buy transactions within the specified time
txsSellStringNumber of sell transactions within a specified time
txsStringTotal number of transactions within a specified time
inflowUsdStringNet inflow
riskLevelControlStringRisk control level: 0=undefined, 1=low, 2=medium, 3=medium high, 4=high, 5=high (manual configuration)
devHoldPercentStringDeveloper position percent
top10HoldPercentStringPosition ratio of top 10 holding addresses
insiderHoldPercentStringInternal trader position percent
bundleHoldPercentStringBundled trader position percent
vibeScoreStringSocial media score
mentionsCountStringNumber of mentions

Request Example#

Shell
curl --location 'https://web3pre.okex.org/api/v6/dex/market/token/hot-token?rankingType=4&category=' \
--header 'Cookie: locale=en-US'

Response Example#

Json
{
    "code": "0",
    "data": [
        {
            "bundleHoldPercent": "",
            "chainIndex": "42161",
            "change": "1.23",
            "devHoldPercent": "",
            "firstTradeTime": "1677821938000",
            "holders": "",
            "inflowUsd": "27668.75900895417375103",
            "insiderHoldPercent": "",
            "liquidity": "1154916.100399227159548253",
            "marketCap": "8000679.968883597495939944",
            "mentionsCount": "",
            "price": "109.183774625627123045",
            "riskLevelControl": "2",
            "tokenContractAddress": "0xba5ddd1f9d7f570dc94a51479a000e3bce967196",
            "tokenLogoUrl": "https://static.oklink.com/cdn/web3/currency/token/pre/large/501-3vAs4D1WE6Na4tCgt4BApgFfENbm8WY7q4cSPD1yM4Cg-105/type=webp_90_0?v=1773081497496",
            "tokenSymbol": "AAVE",
            "top10HoldPercent": "0",
            "txs": "252",
            "txsBuy": "188",
            "txsSell": "64",
            "uniqueTraders": "54",
            "vibeScore": "",
            "volume": "38875.13700276913986497"
        }
    ],
    "msg": ""
}