APIs / CoinMarketCap / Search

CoinMarketCap: Search

Search from CoinMarketCap as JSON. 1 credit per successful call.

GET /v1/coinmarketcap/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
pageintegerOptionalAny
per_pageintegerOptionalAny
qstringRequiredUp to 100 characters

Example request

CoinMarketCap
GET/v1/coinmarketcap/search?q=bitcoin
{
  "success": true,
  "data": {
    "query": "bitcoin",
    "search": [
      {
        "id": 1,
        "name": "Bitcoin",
        "symbol": "BTC",
        "slug": "bitcoin",
        "rank": 1,
        "type": 1
      },
      {
        "id": 3717,
        "name": "Wrapped Bitcoin",
        "symbol": "WBTC",
        "slug": "wrapped-bitcoin",
        "rank": 7764,
        "type": 1,
        "contract_address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
      },
      {
        "id": 1831,
        "name": "Bitcoin Cash",
        "symbol": "BCH",
        "slug": "bitcoin-cash",
        "rank": 20,
        "type": 1,
        "contract_address": "0x8fF795a6F4D97E7887C79beA79aba5cc76444aDf"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 100,
      "total": 259,
      "total_pages": 3,
      "has_more": true
    }
  },
  "meta": {
    "endpoint_family": "search",
    "source": "coinmarketcap",
    "request_id": "req_e681b75b2c484e73adcdf6d32f62d194",
    "credits_charged": 1,
    "credits_remaining": 998
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.search has these 7 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
namestring
symbolstring
slugstring
rankinteger
typeinteger
contract_addressstring