GET
https://api.cryptohopper.com/v1/template/{template_id}
Returns one of the user's own templates.
OAuth scope:
read About scopes
id is null for own templates. allowed_coins comes from the template's bot config.
Example request
curl "https://api.cryptohopper.com/v1/template/TEMPLATE_ID" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/template/TEMPLATE_ID', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/template/TEMPLATE_ID",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/template/TEMPLATE_ID');
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 |
|---|---|---|---|
template_id |
string | Required | ID of the template. |
Response
{
"data": {
"template_id": "138000",
"type": "template",
"id": null,
"hidden_configuration": "0",
"name": "My BTC bot",
"description": "Trend following on USDT pairs",
"logo": "https://cdn.cryptohopper.com/images/hoppers/templates/138000_2026-09-01-10-15-00.jpg",
"exchange": "binance",
"base_currency": "usdt",
"currencies": "BTC,ETH",
"created": "2026-09-01 10:15:00",
"hasTriggers": 1,
"hasConfigPool": 1,
"hasSignals": 1,
"allowed_coins": [
"BTC",
"ETH"
],
"created_date": "2026-09-01 10:15:00"
}
}