# Get market template

`GET https://api.cryptohopper.com/v1/template/market/{template_id}`

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

Returns one template the user bought on the Marketplace. id is its Marketplace item ID.

OAuth scope: `read`

## Headers

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

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `template_id` | string | yes | ID of the market template (template_id from Get market templates). |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/template/market/TEMPLATE_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "template_id": "298000",
        "type": "template",
        "id": "45678",
        "hidden_configuration": "1",
        "name": "BTC trend template",
        "description": "Trend following on USDT pairs",
        "logo": "https://cdn.cryptohopper.com/images/hoppers/templates/298000_2026-08-01-09-00-00.jpg",
        "exchange": "binance",
        "base_currency": "usdt",
        "currencies": "BTC,ETH",
        "created": "2026-08-01 09:00:00",
        "hasTriggers": 1,
        "hasConfigPool": 1,
        "hasSignals": 1,
        "allowed_coins": [
            "BTC",
            "ETH"
        ],
        "created_date": "2026-08-01 09:00:00",
        "link": "https://www.cryptohopper.com/marketplace/item?item_id=45678"
    }
}
```

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.
