GET
https://api.cryptohopper.com/v1/template/basic/{exchange}
Returns the Cryptohopper base templates of one exchange, in the same format as Get basic templates.
Needs a valid access token, but no specific scope. The example config shows only a few of the config keys.
Example request
curl "https://api.cryptohopper.com/v1/template/basic/EXCHANGE" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/template/basic/EXCHANGE', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/template/basic/EXCHANGE",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/template/basic/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);
Parameters
Headers
| Name | Type | Required | Description |
|---|---|---|---|
access-token |
string | Required | The OAuth access token of the user. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
exchange |
string | Required | Exchange key, for example binance. An unknown key returns the templates of all exchanges. |
Response
{
"data": [
{
"id": "1500",
"name": "Binance USDT starter",
"base_currency": "USDT",
"image": "https://cdn.cryptohopper.com/images/hoppers/templates/1500_2026-01-10-12-00-00.jpg",
"coins": "BTC,ETH",
"bot_type": "0",
"config": {
"exchange": "binance",
"collect_currency": "usdt",
"strategy": "no_strategy",
"allowed_coins": [
"BTC",
"ETH"
]
},
"config_pools": [],
"signals": [],
"triggers": []
}
]
}