GET
/
markets
curl --request GET \
  --url https://api.coincap.io/v2/markets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "exchangeId": "poloniex",
      "rank": 1,
      "baseSymbol": "BTC",
      "baseId": "bitcoin",
      "quoteSymbol": "ETH",
      "quoteId": "ethereum",
      "priceQuote": "0.032",
      "priceUsd": "30.00",
      "volumeUsd24Hr": "1000000.00",
      "percentExchangeVolume": "12.5",
      "tradesCount24Hr": 5000,
      "updated": 1633017600000
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

exchangeId
string

Search by exchange ID.

Example:

"poloniex"

baseSymbol
string

Returns markets containing the base symbol.

Example:

"BTC"

quoteSymbol
string

Returns markets containing the quote symbol.

Example:

"ETH"

baseId
string

Returns markets containing the base ID.

Example:

"bitcoin"

quoteId
string

Returns markets containing the quote ID.

Example:

"ethereum"

assetSymbol
string

Returns all assets containing the symbol (base and quote).

Example:

"BTC"

assetId
string

Returns all assets containing the ID (base and quote).

Example:

"bitcoin"

limit
integer

Maximum number of results to return.

Example:

5

offset
integer

Offset for pagination.

Example:

1

Response

200 - application/json
A list of markets.
data
object[]