Skip to main content
POST
/
api
/
coinmarketcap
/
coins
/
pairs
/coinmarketcap/coins/pairs
curl --request POST \
  --url https://api.anysite.io/api/coinmarketcap/coins/pairs \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "coin": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "exchange": {
      "@type": "@coinmarketcap_pair_exchange",
      "id": 123,
      "name": "<string>",
      "alias": "<string>"
    },
    "market_pair": {
      "name": "<string>",
      "@type": "@coinmarketcap_pair_market",
      "base_symbol": "<string>",
      "quote_symbol": "<string>"
    },
    "@type": "@coinmarketcap_market_pair",
    "category": "<string>",
    "type": "<string>",
    "center_type": "<string>",
    "fee_type": "<string>",
    "market_url": "<string>",
    "price": 123,
    "volume_usd": 123,
    "volume_base": 123,
    "volume_quote": 123,
    "liquidity": 123,
    "depth_negative_usd": 123,
    "depth_positive_usd": 123,
    "market_score": 123,
    "market_reputation": 123,
    "is_verified": false,
    "last_updated": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
coin
string
required

Coin slug (e.g. 'bitcoin') or numeric id (e.g. '1')

Minimum string length: 1
Examples:

"bitcoin"

"1"

count
integer
required

Number of trading pairs to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

exchange
CoinmarketcapPairExchange · object
required
market_pair
CoinmarketcapPairMarket · object
required
@type
string
default:@coinmarketcap_market_pair
category
string | null
type
string | null
center_type
string | null
fee_type
string | null
market_url
string | null
price
number | null
volume_usd
number | null
volume_base
number | null
volume_quote
number | null
liquidity
number | null
depth_negative_usd
number | null
depth_positive_usd
number | null
market_score
number | null
market_reputation
number | null
is_verified
boolean
default:false
last_updated
string | null