Comprehensive multi-market DEX trading and on-chain data covering hundreds of DEXs across Ethereum, Solana, BNB Chain, and more.
This category includes 16 endpoints:
- /v4/dex/spot-pairs/latest - Pairs Listings Latest
- /v4/dex/pairs/quotes/latest - Quotes Latest
- /v1/dex/token - Get Token Detail
- /v1/dex/token/price - Get Token Price
- /v1/dex/token/price/batch - Batch Get Token Prices
- /v1/dex/tokens/batch-query - Batch Query Tokens
- /v1/dex/token/pools - Get Token Pools
- /v1/dex/token-liquidity/query - Query Token Liquidity
- /v1/dex/tokens/transactions - Get Swap List
- /v1/dex/tokens/trending/list - Get Trending Tokens
- /v1/dex/new/list - Get New Tokens
- /v1/dex/meme/list - Get Meme Tokens
- /v1/dex/gainer-loser/list - Get Top Gainers and Losers
- /v1/dex/security/detail - Get Security Detail
- /v1/dex/search - Search Tokens
- /v1/dex/liquidity-change/list - Get Liquidity Change List
Get trending tokens
Get list of trending tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get trending tokens › Request Body
platformIdsPlatform 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
Standardized status object for API calls.
Batch query tokens
Query multiple tokens in one request
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Batch query tokens › Request Body
platformPlatform name
addressesList of token addresses
Batch query tokens › Responses
OK
Standardized status object for API calls.
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 › Responses
OK
Standardized status object for API calls.
Get new tokens
Get list of newly launched tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get new tokens › Request Body
platformIdsPlatform 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
NewTokenLeaderboard response object
Standardized status object for API calls.
Get meme tokens
Get list of meme tokens
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get meme tokens › Request Body
protocolProtocol 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
Response object containing categorized meme coin results
Standardized status object for API calls.
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
platformIdsPlatform 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
Response object for the Gainer Leaderboard API
Standardized status object for API calls.
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.
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v4/dex/spot-pairs/latest. See the Keyless Public API for the full list, rate limits, and examples.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
Standardized status object for API calls.
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.
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v4/dex/pairs/quotes/latest. See the Keyless Public API for the full list, rate limits, and examples.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
Standardized status object for API calls.
Get token detail
Get detailed information for a specific token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/token. See the Keyless Public API for the full list, rate limits, and examples.query Parameters
platformPlatform name
addressToken address
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get token detail › Responses
OK
Detailed token information
Standardized status object for API calls.
Get token price
Get current price for a specific token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/token/price. See the Keyless Public API for the full list, rate limits, and examples.query Parameters
platformPlatform name
addressToken address
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get token price › Responses
OK
Token price information
Standardized status object for API calls.
Get token pools
Get all pools for a specific token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/token/pools. See the Keyless Public API for the full list, rate limits, and examples.query Parameters
platformPlatform name
addressToken address
sizeHeaders
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get token pools › Responses
OK
Standardized status object for API calls.
Query token liquidity
Get liquidity information for a specific token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/token-liquidity/query. See the Keyless Public API for the full list, rate limits, and examples.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
Standardized status object for API calls.
Get swap list
Get swap/trade history for a token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/tokens/transactions. See the Keyless Public API for the full list, rate limits, and examples.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
Swap list response data
Standardized status object for API calls.
Get security detail
Get security audit information for a token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/security/detail. See the Keyless Public API for the full list, rate limits, and examples.query Parameters
platformNamePlatform name
addressToken address
Headers
X-CMC_PRO_API_KEYYour CoinMarketCap Pro API key
Get security detail › Responses
OK
Standardized status object for API calls.
Search tokens
Search for tokens by keyword
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/search. See the Keyless Public API for the full list, rate limits, and examples.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
Standardized status object for API calls.
Get liquidity change list
Get liquidity change history for a token
Available with no API key
/public-api: https://pro-api.coinmarketcap.com/public-api/v1/dex/liquidity-change/list. See the Keyless Public API for the full list, rate limits, and examples.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
Swap list response data
Standardized status object for API calls.