# Get trigger

`GET https://api.cryptohopper.com/v1/hopper/{id}/trigger/{trigger_id}`

Part of [Triggers](https://www.cryptohopper.com/api-documentation/api-reference/triggers.md) in the Cryptohopper API reference.

Returns one trigger of the hopper with its indicators, actions and their configs.

The handler checks no OAuth scope: any valid access token can call it. cooldown is the Unix timestamp until which the trigger is in cooldown after it last fired.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `trigger_id` | string | yes | Trigger ID. |
| `id` | string | yes | Hopper ID. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/trigger/TRIGGER_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "name": "Stop buying above 70k",
        "exchange": "binance",
        "market": "BTCUSDT",
        "candle_size": "1800",
        "actions": [
            "setbuyingstatus"
        ],
        "indicators": [
            "price"
        ],
        "indicator_configs": {
            "price": {
                "trig_when": ">",
                "trig_when_value": "70000"
            }
        },
        "action_configs": {
            "setbuyingstatus": {
                "config": "0"
            }
        },
        "cooldown": "0",
        "cooldown_count": "30",
        "cooldown_val": "minutes",
        "updated": "2026-09-25 09:00:00",
        "status": "1",
        "total_times_triggered": "0",
        "last_trigger_time": "",
        "trigger_id": "12845001"
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
