GET
https://api.cryptohopper.com/v1/hopper/{id}/triggerhistory
Returns the last 50 times a trigger of the hopper fired, newest first, with the indicator values and actions of each run.
The handler checks no OAuth scope: any valid access token can call it. indicator_values and action_values are JSON-encoded strings.
Example request
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerhistory" \
-H "access-token: YOUR_ACCESS_TOKEN"
const response = await fetch('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerhistory', {
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/triggerhistory",
headers={
"access-token": "YOUR_ACCESS_TOKEN"
},
)
data = response.json()
$ch = curl_init('https://api.cryptohopper.com/v1/hopper/HOPPER_ID/triggerhistory');
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": [
{
"trigger_id": "12845001",
"trigger_date": "2026-09-25 11:30:00",
"indicator_values": "{\"price\":70010.5}",
"action_values": "{\"setbuyingstatus\":{\"config\":\"0\"}}",
"cooldown": "1758801000",
"cooldown_count": "30",
"cooldown_val": "minutes",
"name": "Stop buying above 70k",
"trigger_history_id": "88065001"
}
]
}