GET
https://api.cryptohopper.com/v1/hopper/{id}/triggerconfigs
Returns the indicator keys and action keys you can use in a trigger, each with its display name.
The handler checks no OAuth scope: any valid access token can call it.
Example request
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerconfigs" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerconfigs', {
method: 'GET',
headers: {
"access-token": "YOUR_ACCESS_TOKEN"
}
});
const data = await response.json();
import requests
response = requests.get(
"https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerconfigs",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerconfigs');
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 |
|---|---|---|---|
id |
string | Required | Hopper ID. |
Response
{
"data": {
"indicators": {
"price": "Price",
"datetime": "Date/time",
"percentchange": "Percent change",
"rsi": "RSI",
"stoch": "Stochastic",
"stochrsi": "StochRSI",
"bbands": "Bollinger Bands",
"macd": "MACD",
"ema": "EMA",
"sma": "SMA",
"kama": "KAMA",
"tradingview": "TradingView",
"ai": "AI score",
"aicorrected": "AI corrected score",
"aitrend": "AI trend"
},
"actions": {
"loadconfig": "Load template",
"setbuyingstatus": "Set buying status",
"setsellingstatus": "Set selling status",
"hold": "Hold positions",
"unhold": "Unhold positions",
"setpercentage": "Set take profit",
"buy": "Buy",
"sell": "Sell",
"openshort": "Open short",
"closeshort": "Close short",
"panicsell": "Sell everything / Panic mode",
"email": "Send email"
}
}
}