GET https://api.cryptohopper.com/v1/exchange/{exchange}/portal/pairs

Returns the map between Cryptohopper market pairs and market data portal pairs for one exchange.

No access token needed.

Example request

curl "https://api.cryptohopper.com/v1/exchange/EXCHANGE/portal/pairs" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Path parameters

NameTypeRequiredDescription
exchange string Required Exchange key as returned by Get available exchanges, for example binance or kucoin. Case insensitive.

Query parameters

NameTypeRequiredDescription
key string Optional Set to portal to key the map by the portal pair. Any other value, or none, keys it by the Cryptohopper pair.

Response

Example response (illustrative values)

{
    "data": {
        "BTC/USDT": {
            "ch_pair": "BTC/USDT",
            "portal_pair": "BTC/USDT",
            "base": "BTC",
            "quote": "USDT"
        }
    }
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.