Market Price API

Memepump Channel#

Real-time push of newly launched Meme token data. Data is pushed whenever a new token is released.
URL Path
wss://wsdex.okx.com/ws/v6/dex

Request Parameters#

ParameterTypeRequiredDescription
opStringYesOperation: subscribe unsubscribe
argsArrayYesList of channels to subscribe
channelStringYesChannel name: dex-market-memepump-new-token-openapi
chainIndexStringYesUnique identifier for the chain. Pass the chain ID (e.g., 501 for Solana). Single-chain only.

Response Parameters#

ParameterTypeDescription
eventStringEvent type: subscribe unsubscribe error
argObjectSubscribed channel
channelStringChannel name
codeStringError code (only returned when event=error)
msgStringError message (only returned when event=error)
connIdStringWebSocket connection ID

Push Data Parameters#

ParameterTypeDescription
argObjectSuccessfully subscribed channel info
> channelStringChannel name
> chainIndexStringUnique identifier for the chain
dataArrayList of newly launched tokens
> chainIndexStringChain ID (e.g., 501=Solana)
> protocolIdStringProtocol source ID (e.g., 1=PUMP_FUN)
> quoteTokenAddressStringQuote token contract address
> tokenContractAddressStringToken contract address
> symbolStringToken symbol
> nameStringToken name
> logoUrlStringToken logo URL
> createdTimestampStringToken creation time (Unix timestamp in milliseconds)
> marketObjectMarket data
>> marketCapUsdStringMarket cap (USD)
>> volumeUsd1hString1-hour trading volume (USD)
>> txCount1hString1-hour total transaction count
>> buyTxCount1hString1-hour buy transaction count
>> sellTxCount1hString1-hour sell transaction count
> bondingPercentStringBonding curve progress (%)
> tagsObjectTag / audit data
>> top10HoldingsPercentStringTop 10 holders percentage (%)
>> devHoldingsPercentStringDev holdings percentage (%)
>> insidersPercentStringInsiders percentage (%)
>> bundlersPercentStringBundlers percentage (%)
>> snipersPercentStringSnipers percentage (%)
>> freshWalletsPercentStringFresh wallets percentage (%)
>> suspectedPhishingWalletPercentStringSuspected phishing wallet percentage (%)
>> totalHoldersStringTotal number of token holder addresses
> socialObjectSocial media information
>> xStringX (Twitter) link
>> telegramStringTelegram link
>> websiteStringWebsite link
>> dexScreenerPaidBooleanDEX Screener paid
>> communityTakeoverBooleanCommunity takeover (CTO)
>> liveOnPumpFunBooleanLive on Pump.fun
> bagsFeeClaimedBooleanWhether bags fee has been claimed

Request Example#

Json
{
  "op": "subscribe",
  "args": [
    {
      "channel": "dex-market-memepump-new-token-openapi",
      "chainIndex": "501"
    }
  ]
}

Response Example#

Successful response example

Json
{
  "event": "subscribe",
  "arg": {
    "channel": "dex-market-memepump-new-token-openapi",
    "chainIndex": "501"
  },
  "connId": "a4d3ae55"
}

Failure response example

Json
{
  "event": "error",
  "code": "60012",
  "msg": "Invalid request: {\"op\": \"subscribe\", \"argss\":[{ \"channel\": \"dex-market-memepump-new-token-openapi\", \"chainIndex\": \"501\"}]}",
  "connId": "a4d3ae55"
}

Push data example

Json
{
  "arg": {
    "channel": "dex-market-memepump-new-token-openapi",
    "chainIndex": "501"
  },
  "data": [
    {
      "bagsFeeClaimed": false,
      "bondingPercent": "0",
      "chainIndex": "501",
      "createdTimestamp": "1773111278502",
      "creatorAddress": "CfCpn9LFW6HDsUcNUbX65HfxNmouhTNCb6RD9FmF8sy9",
      "logoUrl": "https://static.oklink.com/cdn/web3/currency/token/default-logo/token_custom_logo_default_S/type=default_350_0",
      "market": {},
      "name": "Siberian Husky Scarlett",
      "protocolId": "136460",
      "social": {
        "communityTakeover": false,
        "dexScreenerPaid": false,
        "liveOnPumpFun": false
      },
      "symbol": "Scarlett",
      "tags": {},
      "tokenAddress": "5E2yC3KVFhm2kvUXFMWJCKP7pLtkScBP8CnZ9rtjpump"
    }
  ]
}