Strategy API

Get Token List#

Retrieve the list of tokens matching specified filter criteria.

Request URL#

GET https://web3.okx.com/api/v6/dex/market/memepump/tokenList

Request Parameters#

ParameterTypeRequiredDescription
chainIndexStringYesChain unique identifier (e.g., 501 = Solana). Only single-chain queries are supported.
protocolIdStringNoProtocol ID filter. If omitted, returns all supported protocols.
sortStringNoSort field. Enum: marketCapUsd, volumeUsd1h, txCount1h, createdTimestamp. Default: createdTimestamp.
orderStringNoSort order. Enum: asc, desc. Default: desc.
minAgeIntegerNoMinimum token age in minutes.
maxAgeIntegerNoMaximum token age in minutes.
minMarketCapUsdStringNoMinimum market cap (USD).
maxMarketCapUsdStringNoMaximum market cap (USD).
minVolumeUsd1hStringNoMinimum 1h trading volume (USD).
stageStringNoToken stage filter. Enum: new, migrating_soon, migrated.
limitIntegerNoNumber of results to return. Max: 30. Default: 30.
cursorStringNoPagination cursor from the previous response.

Response Parameters#

ParameterTypeDescription
cursorStringPagination cursor for the next page. Empty if no more data.
itemsArrayToken list.
>chainIndexStringChain ID (e.g., 501 = Solana).
>protocolIdStringProtocol ID (e.g., 1 = PUMP_FUN).
>quoteTokenAddressStringQuote token contract address.
>tokenContractAddressStringToken contract address.
>symbolStringToken symbol.
>nameStringToken name.
>logoUrlStringToken logo URL.
>createdTimestampStringToken creation time (millisecond timestamp).
>marketObjectMarket data.
>>marketCapUsdStringMarket cap (USD).
>>volumeUsd1hString1h trading volume (USD).
>>txCount1hString1h total transaction count.
>>buyTxCount1hString1h buy transaction count.
>>sellTxCount1hString1h sell transaction count.
>bondingPercentStringBonding curve progress (%).
>mayhemModeTimeRemainingStringPump.fun Mayhem Mode remaining time. Empty if not applicable.
>tagsObjectAudit / tag data.
>>top10HoldingsPercentStringTop 10 holders' combined holdings (%).
>>devHoldingsPercentStringDeveloper holdings (%).
>>insidersPercentStringInsiders holdings (%).
>>bundlersPercentStringBundlers holdings (%).
>>snipersPercentStringSnipers holdings (%).
>>freshWalletsPercentStringFresh wallets holdings (%).
>>suspectedPhishingWalletPercentStringSuspected phishing wallets (%).
>>totalHoldersStringTotal number of holder addresses.
>socialObjectSocial media info.
>>xStringX (Twitter) link.
>>telegramStringTelegram link.
>>websiteStringWebsite link.
>>websiteTypeStringWebsite type identifier.
>>dexScreenerPaidBooleanWhether DEX Screener ads are active.
>>communityTakeoverBooleanCommunity takeover (CTO) flag.
>>liveOnPumpFunBooleanLive on Pump.fun flag.
>bagsFeeClaimedBooleanWhether bags fee has been claimed.
>apedStringNumber of co-invested (aped) wallets.
>migratedBeginTimestampStringMigration start time (ISO 8601).
>migratedEndTimestampStringMigration end time (ISO 8601).
>creatorAddressStringToken creator wallet address.

Request Example#

Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/memepump/tokenList?chainIndex=501&protocolId=1&sort=createdTimestamp&order=desc&limit=30' \
--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'

Response Example#

Json
{
  "code": "0",
  "msg": "",
  "data": {
    "cursor": "eyJsYXN0SWQiOiI3R2Y5Li4ucHVtcCJ9",
    "items": [
      {
        "chainIndex": "501",
        "protocolId": "1",
        "quoteTokenAddress": "11111111111111111111111111111111",
        "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": "",
        "migratedEndTimestamp": "",
        "creatorAddress": "3kXoZt...q1Re"
      }
    ]
  }
}