GET
https://api.cryptohopper.com/v1/exchange
Lists the exchanges that are live on Cryptohopper, with the API key fields each exchange needs when you connect it. Beta, coming-soon and internal test exchanges are left out.
No access token needed.
Example request
curl "https://api.cryptohopper.com/v1/exchange" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/exchange', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/exchange",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/exchange');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'access-token: YOUR_ACCESS_TOKEN',
],
]);
$data = json_decode(curl_exec($ch), true);
Response
{
"data": [
{
"exchange_key": "kucoin",
"name": "KuCoin",
"api_config_fields": [
"api_key",
"api_secret",
"api_passphrase"
],
"optional_config_fields": null,
"fast_api_hook": null,
"ip_whitelist_available": "1"
}
]
}