获取单一代币扫链信息#
获取指定代币扫链数据。
请求 URL#
GET https://web3.okx.com/api/v6/dex/market/memepump/tokenDetails
请求参数#
| 参数名 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| chainIndex | String | 是 | 链唯一标识(如 501 = Solana),仅支持单链查询。 |
| tokenContractAddress | String | 是 | Token 合约地址。 |
返回参数#
返回字段同 获取代币列表 中单条 item 的全部字段,以单对象形式返回。
| 参数名 | 类型 | 描述 |
|---|---|---|
| chainIndex | String | 链 ID(如 501 = Solana)。 |
| protocolId | String | 协议来源编号(如 1 = PUMP_FUN)。 |
| quoteTokenAddress | String | 计价代币合约地址。 |
| tokenContractAddress | String | Token 合约地址。 |
| symbol | String | Token 符号。 |
| name | String | Token 名称。 |
| logoUrl | String | Token 图标 URL。 |
| createdTimestamp | String | Token 创建时间(毫秒时间戳)。 |
| market | Object | 市场数据。 |
| >marketCapUsd | String | 市值(USD)。 |
| >volumeUsd1h | String | 1 小时成交额(USD)。 |
| >txCount1h | String | 1 小时总交易数。 |
| >buyTxCount1h | String | 1 小时买入交易数。 |
| >sellTxCount1h | String | 1 小时卖出交易数。 |
| bondingPercent | String | 进度数据(%)。 |
| mayhemModeTimeRemaining | String | Pump.fun 的 Mayhem Mode 剩余时间,非此模式代币则返回空。 |
| tags | Object | 标签 / 审计类数据。 |
| >top10HoldingsPercent | String | Top10 持仓占比(%)。 |
| >devHoldingsPercent | String | Dev 持仓占比(%)。 |
| >insidersPercent | String | Insiders 占比(%)。 |
| >bundlersPercent | String | Bundlers 占比(%)。 |
| >snipersPercent | String | Snipers 占比(%)。 |
| >freshWalletsPercent | String | Fresh wallets 占比(%)。 |
| >suspectedPhishingWalletPercent | String | 疑似钓鱼钱包(%)。 |
| >totalHolders | String | 持币地址数量。 |
| social | Object | 社交媒体信息。 |
| >x | String | X(Twitter)链接。 |
| >telegram | String | Telegram 链接。 |
| >website | String | 网站链接。 |
| >websiteType | String | 官网类型。 |
| >dexScreenerPaid | Boolean | DEX Screener paid。 |
| >communityTakeover | Boolean | CTO(社区接管)。 |
| >liveOnPumpFun | Boolean | Live on Pump.fun。 |
| bagsFeeClaimed | Boolean | 是否 claim bag fee。 |
| aped | String | 同车钱包数量。 |
| migratedBeginTimestamp | String | 迁移开始时间(ISO 8601)。 |
| migratedEndTimestamp | String | 迁移结束时间(ISO 8601)。 |
| creatorAddress | String | 代币创建者钱包地址。 |
请求示例#
Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/memepump/tokenDetails?chainIndex=501&tokenContractAddress=7Gf9...pump' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'
返回示例#
Json
{
"code": "0",
"msg": "",
"data": {
"chainIndex": "501",
"protocolId": "1",
"quoteTokenAddress": "1111...1111",
"tokenContractAddress": "7Gf9...pump",
"symbol": "TETANUS",
"name": "tetanus",
"logoUrl": "https://static.okx.com/cdn/assets/imgs/xxx.png",
"createdTimestamp": "1730000000000",
"market": {
"marketCapUsd": "154880.12",
"volumeUsd1h": "50231.11",
"txCount1h": "225",
"buyTxCount1h": "128",
"sellTxCount1h": "97"
},
"bondingPercent": "63.5",
"mayhemModeTimeRemaining": "",
"tags": {
"top10HoldingsPercent": "0.12",
"devHoldingsPercent": "0.10",
"insidersPercent": "0.23",
"bundlersPercent": "0.48",
"snipersPercent": "0.35",
"freshWalletsPercent": "0.50",
"suspectedPhishingWalletPercent": "0.00",
"totalHolders": "2080"
},
"social": {
"x": "https://x.com/xxxx",
"telegram": "https://t.me/xxxx",
"website": "https://xxxx.com",
"websiteType": "1",
"dexScreenerPaid": false,
"communityTakeover": false,
"liveOnPumpFun": true
},
"bagsFeeClaimed": false,
"aped": "12",
"migratedBeginTimestamp": "2025-06-01T08:00:00Z",
"migratedEndTimestamp": "2025-06-01T08:20:00Z",
"creatorAddress": "3kXoZt...q1Re"
}
}