# Get triggers

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

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

Returns the triggers of the hopper, with how many triggers the hopper's subscription still allows.

The handler checks no OAuth scope: any valid access token can call it.

## Headers

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

## Path parameters

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

## Example request

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

## Response

Example response (illustrative values):

```json
{
    "data": {
        "triggers": [
            {
                "id": "12845001",
                "name": "Stop buying above 70k",
                "exchange": "binance",
                "market": "BTCUSDT",
                "status": "1"
            }
        ],
        "triggers_total": 1,
        "triggers_left": {
            "left": 4,
            "total": 5
        }
    }
}
```

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.
