All services

Service

CoinMarketCap

crypto_data4 endpoints
Docs

CoinMarketCap cryptocurrency and DEX market data via x402. Get latest quotes, listings, DEX pair quotes, and search DEX data. No API keys, subscriptions, or accounts required — pay per request with USDC on Base.

x402

base

Methods

4 methods available

OpenAPI
GET/x402/v1/dex/search
10000 USDC

Search DEX data by token name, symbol, or contract address across supported networks.

GET with query param. Search for DEX tokens and pairs by name, symbol, or contract address. Optionally filter by network.

{
  "query": {
    "query": "string (required, search term: token name, symbol, or contract address)",
    "network_slug": "string (optional, filter by network e.g. 'ethereum', 'solana', 'bsc')"
  }
}
GET/x402/v3/cryptocurrency/listing/latest
10000 USDC

Get a paginated list of all active cryptocurrencies with latest market data including price, market cap, and volume.

GET with optional query params. Returns a paginated list of cryptocurrencies sorted by market cap by default. Use sort, sort_dir, and filter params to customize results.

{
  "query": {
    "start": "number (optional, pagination offset, default 1)",
    "limit": "number (optional, results per page, 1-5000, default 100)",
    "sort": "string (optional: 'market_cap', 'name', 'symbol', 'date_added', 'price', 'circulating_supply', 'total_supply', 'max_supply', 'num_market_pairs', 'volume_24h', 'percent_change_1h', 'percent_change_24h', 'percent_change_7d')",
    "sort_dir": "string (optional: 'asc' or 'desc')",
    "cryptocurrency_type": "string (optional: 'all', 'coins', 'tokens')",
    "tag": "string (optional, filter by tag e.g. 'defi', 'filesharing')",
    "convert": "string (optional, currency to convert to, e.g. 'USD')",
    "convert_id": "string (optional, CoinMarketCap currency IDs for conversion)",
    "aux": "string (optional, comma-separated auxiliary fields)",
    "price_min": "number (optional)",
    "price_max": "number (optional)",
    "market_cap_min": "number (optional)",
    "market_cap_max": "number (optional)",
    "volume_24h_min": "number (optional)",
    "volume_24h_max": "number (optional)"
  }
}
GET/x402/v3/cryptocurrency/quotes/latest
10000 USDC

Get latest market quote data for one or more cryptocurrencies including price, volume, market cap, and percent changes.

GET with at least one of id, slug, or symbol. Returns latest market quotes for the specified cryptocurrencies. Use convert to get prices in different currencies.

{
  "query": {
    "id": "string (optional, comma-separated CoinMarketCap cryptocurrency IDs, e.g. '1,2')",
    "slug": "string (optional, comma-separated slugs, e.g. 'bitcoin,ethereum')",
    "symbol": "string (optional, comma-separated symbols, e.g. 'BTC,ETH')",
    "convert": "string (optional, currency to convert to, e.g. 'USD,BTC')",
    "convert_id": "string (optional, CoinMarketCap currency IDs for conversion)",
    "aux": "string (optional, comma-separated auxiliary fields)",
    "skip_invalid": "boolean (optional, skip invalid IDs/symbols)"
  }
}
GET/x402/v4/dex/pairs/quotes/latest
10000 USDC

Get latest market quotes for DEX spot pairs. Query by contract address and network to get real-time pricing data for decentralized exchange trading pairs.

GET with contract_address and network_slug. Returns latest market quotes including price, volume, and liquidity for the specified DEX trading pair.

{
  "query": {
    "contract_address": "string (required, token contract address)",
    "network_slug": "string (required, network identifier e.g. 'ethereum', 'solana', 'bsc', 'base')",
    "convert": "string (optional, currency to convert to)",
    "convert_id": "string (optional, CoinMarketCap currency IDs for conversion)"
  }
}