The Dex Data API has been upgraded to deliver comprehensive multi-market dex trading and on-chain data, including token information, transaction data, security metrics, K-line (candlestick) data, related pool information, and featured ranking data.
It covers data from hundreds of DEXs across multiple blockchain ecosystems such as Ethereum, Solana, and BNB Chain (BSC), with standardized data parsing and processing.
Developers can leverage this unified API to access both real-time and historical data for use cases including strategy backtesting, market monitoring, and analytics.
This category currently includes 20 endpoint:
-
/v4/dex/spot-pairs/latest
- Cache / Update frequency: Every 30 seconds.
Plan credit use: 1 API call credit per request no matter query size.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 30 seconds.
-
/v4/dex/pairs/quotes/latest
- Cache / Update frequency: Every 30 seconds.
Plan credit use: 1 API call credit per request no matter query size.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 30 seconds.
-
/v1/k-line/points
- Cache / Update frequency: Every 15 seconds.
Plan credit use: 1 call credit per 100 k-line data points returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 15 seconds.
-
/v1/k-line/candles
- Cache / Update frequency: Every 15 seconds.
Plan credit use: 1 call credit per 100 k-line candles returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 15 seconds.
-
/v1/dex/tokens/trending/list
- Cache / Update frequency: Every 30 seconds.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: https://dex.coinmarketcap.com/token/all/?tableRankBy=trending_24h
- Cache / Update frequency: Every 30 seconds.
-
/v1/dex/tokens/batch-query
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 call credit per 100 tokens returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/token/price/batch
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 call credit per 100 tokens returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/new/list
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: https://dex.coinmarketcap.com/token/all/?tableRankBy=new_24h
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/meme/list
- Cache / Update frequency: Every 1 minute
Plan credit use: 1 API call credit per request.
CMC equivalent pages: https://dex.coinmarketcap.com/meme/four.meme
- Cache / Update frequency: Every 1 minute
-
/v1/dex/gainer-loser/list
- Cache / Update frequency: Every 1 minute.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: https://dex.coinmarketcap.com/token/all/?tableRankBy=gainers_24h
- Cache / Update frequency: Every 1 minute.
-
/v1/dex/token
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/token/price
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/token/pools
- Cache / Update frequency: Every 10 minutes.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 minutes.
-
/v1/dex/token-liquidity/query
- Cache / Update frequency: Every 1 minute.
Plan credit use: 1 call credit per 100 tokens returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 1 minute.
-
/v1/dex/tokens/transactions
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 call credit per 100 tokens returned (rounded up)
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 10 seconds.
-
/v1/dex/security/detail
- Cache / Update frequency: Every 90 seconds.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: Security section on token detail page like https://dex.coinmarketcap.com/token/solana/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/
- Cache / Update frequency: Every 90 seconds.
-
/v1/dex/search
- Cache / Update frequency: Every 2 minutes.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 2 minutes.
-
/v1/dex/platform/list
- Cache / Update frequency: Every 1 minute.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 1 minute.
-
/v1/dex/platform/detail
- Cache / Update frequency: Every 1 minute.
Plan credit use: 1 API call credit per request.
CMC equivalent pages: No equivalent, this data is only available via API.
- Cache / Update frequency: Every 1 minute.
-
/v1/dex/liquidity-change/list
- Cache / Update frequency: Every 10 seconds.
Plan credit use: 1 call credit per 100 tokens returned (rounded up)
CMC equivalent pages: Liquidity changes tab underneath liquidity tab on page like https://dex.coinmarketcap.com/token/solana/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/
- Cache / Update frequency: Every 10 seconds.
Get trending tokens
Get list of trending tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get trending tokens › Request Body
internalUseconvertRestrictionvisibleFieldConfigplatformIdsPlatform IDs, comma separated
intervalTime interval
nextPageIndexNext page cursor
pageSizePage size
The request parameters for querying the token leaderboard
sortBySort field
sortTypeSort type: asc or desc
Get trending tokens › Responses
OK
Batch query tokens
Query multiple tokens in one request
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Batch query tokens › Request Body
internalUseconvertRestrictionvisibleFieldConfigplatformPlatform name
addressesList of token addresses
Batch query tokens › Responses
OK
Batch get token prices
Get prices for multiple tokens in one request
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Batch get token prices › Request Body
internalUseconvertRestrictionvisibleFieldConfigList of platform-address pairs
Batch get token prices › Responses
OK
Get new tokens
Get list of newly launched tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get new tokens › Request Body
internalUseconvertRestrictionvisibleFieldConfigplatformIdsPlatform IDs, comma separated
intervalTime interval
nextPageIndexNext page cursor
pageSizePage size
The request parameters for querying the token leaderboard
sortBySort field
sortTypeSort type: asc or desc
Get new tokens › Responses
OK
Get meme tokens
Get list of meme tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get meme tokens › Request Body
internalUseconvertRestrictionvisibleFieldConfigprotocolProtocol code
exclusiveBinance exclusive flag
limitResult limit
Filter criteria for meme coins
Filter criteria for meme coins
Filter criteria for meme coins
Get meme tokens › Responses
OK
Get top gainers and losers
Get list of top gainer and loser tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get top gainers and losers › Request Body
internalUseconvertRestrictionvisibleFieldConfigplatformIdsPlatform IDs, comma separated
intervalTime interval
nextPageIndexNext page cursor
pageSizePage size
The request parameters for querying the token leaderboard
sortBySort field
sortTypeSort type: asc or desc
Get top gainers and losers › Responses
OK
Pairs Listings Latest
Returns a paginated list of all active dex spot pairs with latest market data. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.
query Parameters
network_idOne or more comma-separated CoinMarketCap cryptocurrency network ids.
network_slugAlternatively, one or more comma-separated network names in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens). At least one id or slug is required.
dex_idOne or more comma-separated CoinMarketCap dex exchange ids
dex_slugAlternatively, one or more comma-separated dex exchange names in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens). At least one id or slug is required.
base_asset_idOne or more comma-separated CoinMarketCap cryptocurrency ids.
base_asset_symbolAlternatively, one or more comma-separated network symbol in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens).At least one id or slug is required.
base_asset_contract_addressAlternatively, one base asset contract address in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens).At least one id or slug is required.
base_asset_ucidOne or more comma-separated CoinMarketCap cryptocurrency IDs.
quote_asset_idOne or more comma-separated CoinMarketCap cryptocurrency ids.
quote_asset_symbolAlternatively, one or more comma-separated network symbol in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens). At least one id or slug is required.
quote_asset_contract_addressAlternatively, one quote asset contract address in URL friendly shorthand slug format (all lowercase, spaces replaced with hyphens). At least one id or slug is required.
quote_asset_ucidOne or more comma-separated CoinMarketCap cryptocurrency IDs.
scroll_idAfter your initial query, the API responds with the initial set of results and a scroll_ids. To retrieve the next set of results, provide this scroll_id of the last JSON with your follow-up request. scroll_id is an alternative to traditional pagination techniques.
limitOptionally specify the number of results to return. Use this parameter and the start parameter to determine your own pagination size.
liquidity_minOptionally specify a threshold of minimum liquidity to filter results by.
liquidity_maxOptionally specify a threshold of maximum liquidity to filter results by.
volume_24h_minOptionally specify a threshold of minimum 24 hour USD volume to filter results by.
volume_24h_maxOptionally specify a threshold of maximum 24 hour USD volume to filter results by.
no_of_transactions_24h_minOptionally specify a threshold of minimum 24h no. of transactions to filter results by.
no_of_transactions_24h_maxOptionally specify a threshold of maximum 24h no. of transactions to filter results by.
percent_change_24h_minOptionally specify a threshold of minimum 24 hour percent change to filter results by.
percent_change_24h_maxOptionally specify a threshold of maximum 24 hour percent change to filter results by.
sortDefault:"volume_24h"
Valid values: "volume_24h" "liquidity" "no_of_transactions_24h" "percent_change_24h" // todo
Sort the list of dex spot pairs by.
sort_dirDefault:"desc"
Valid values: "desc" "asc"
The direction in which to order dex spot pairs against the specified sort.
auxDefault:""
Valid values: "pool_created" "percent_pooled_base_asset" "num_transactions_24h" "pool_base_asset" "pool_quote_asset" "24h_volume_quote_asset" "total_supply_quote_asset" "total_supply_base_asset" "holders" "buy_tax" "sell_tax" "security_scan" "24h_no_of_buys" "24h_no_of_sells" "24h_buy_volume" "24h_sell_volume"
Optionally specify a comma-separated list of supplemental data fields to return.
reverse_orderPass true to invert the order of a spot pair. For example, a trading pair is set up as Token B/Token A in the contract and is commonly referred to as Token A/Token B. Using reverse_order would change the order to reflect the true Token B/Token A pairing as it exists in the pool.
convert_idOptionally calculate market quotes by CoinMarketCap ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Pairs Listings Latest › Responses
OK
Quotes Latest
Returns the latest market quote for 1 or more spot pairs. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.
query Parameters
contract_addressOne or more comma-separated contract addresses.
network_idOne or more CoinMarketCap cryptocurrency network ids
network_slugAlternatively, one network names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens).
auxDefault:""
Valid values: "pool_created" "percent_pooled_base_asset" "num_transactions_24h" "pool_base_asset" "pool_quote_asset" "24h_volume_quote_asset" "total_supply_quote_asset" "total_supply_base_asset" "holders" "buy_tax" "sell_tax" "security_scan" "24h_no_of_buys" "24h_no_of_sells" "24h_buy_volume" "24h_sell_volume"
Optionally specify a comma-separated list of supplemental data fields to return.
convert_idOptionally calculate market quotes by CoinMarketCap ID instead of symbol. This option is identical to convert outside of ID format. Ex: convert_id=1,2781 would replace convert=BTC,USD in your query. This parameter cannot be used when convert is used.
skip_invalidPass true to relax request validation rules. When requesting records on multiple spot pairs an error is returned if no match is found for 1 or more requested spot pairs. If set to true, invalid lookups will be skipped allowing valid spot pairs to still be returned.
reverse_orderPass true to invert the order of a spot pair. For example, a trading pair is set up as Token B/Token A in the contract and is commonly referred to as Token A/Token B. Using reverse_order would change the order to reflect the true Token B/Token A pairing as it exists in the pool.
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Quotes Latest › Responses
OK
DEX Listings Latest
Returns a paginated list of all decentralised cryptocurrency exchanges including the latest aggregate market data for each exchange. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.
query Parameters
startOptionally offset the start (1-based index) of the paginated list of items to return.
limitOptionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.
sortDefault:"volume_24h"
Valid values: "name" "volume_24h" "market_share" "num_markets"
What field to sort the list of exchanges by.
sort_dirDefault:"desc"
Valid values: "desc" "asc"
The direction in which to order exchanges against the specified sort.
typeDefault:"all"
Valid values: "all" "orderbook" "swap" "aggregator"
The category for this exchange.
auxDefault:""
Valid values: "date_launched"
Optionally specify a comma-separated list of supplemental data fields to return.
convert_idOptionally calculate market quotes in up to 30 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency IDs. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found in our API document. Each conversion is returned in its own "quote" object.
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
DEX Listings Latest › Responses
OK
DEX Metadata
Returns all static metadata for one or more decentralised exchanges. This information includes details like launch date, logo, official website URL, social links, and market fee documentation URL.
query Parameters
idOne or more comma-separated CoinMarketCap cryptocurrency exchange ids.
auxDefault:""
Valid values: "urls" "logo" "description" "date_launched" "notice"
Optionally specify a comma-separated list of supplemental data fields to return.
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
DEX Metadata › Responses
OK
Query token liquidity
Get liquidity information for a specific token
query Parameters
platformPlatform name
addressToken address
intervalTime interval
limitResult limit
toEnd timestamp
needLatestWhether to include latest value
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Query token liquidity › Responses
OK
Get swap list
Get swap/trade history for a token
query Parameters
platformBlockchain platform name (bsc/sol/etc)
addressToken contract address
typeTransaction type (0 for buy, 1 for sell)
typesTransaction types filter, supports: buy, sell, open, close, add, reduce
makerMaker address, support comma separated list
sortByField to sort by (currently only supports 'time')
sortTypeSort direction ('asc' or 'desc', default is 'desc')
startTimeStart timestamp (inclusive)
endTimeEnd timestamp (inclusive)
minVolumeMinimum volume (inclusive)
maxVolumeMaximum volume (inclusive)
lastIdCursor for pagination, format: ts_txHash_logId
limitResult limit
versionVersion
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get swap list › Responses
OK
Search tokens
Search for tokens by keyword
query Parameters
qSearch keyword
platformPlatform filter
sortSort field
limitResult limit
codeCode filter
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Search tokens › Responses
OK
Get liquidity change list
Get liquidity change history for a token
query Parameters
platformBlockchain platform name (bsc/sol/etc)
addressToken contract address
typeLiquidity change type
makerMaker address, support comma separated list
sortByField to sort by (currently only supports 'ts')
sortTypeSort direction ('asc' or 'desc', default is 'desc')
startTimeStart timestamp (inclusive)
endTimeEnd timestamp (inclusive)
minVolumeMinimum USD volume (inclusive)
maxVolumeMaximum USD volume (inclusive)
lastIdCursor for pagination, format: ts_txHash_logId
limitResult limit
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get liquidity change list › Responses
OK