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

Returns the output log of the hopper for a period, newest first by default.

OAuth scope: read About scopes

log_type is info, warning or error and log_time is a Unix timestamp in seconds. offset and count only apply to log lines from before 22 December 2018; for newer lines narrow dateFrom and dateTo instead. The request body in the model is not read; use the query parameters.

Example request

curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/output" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"search_opts":[{"date_from":"string","date_to":"string","entry_type":"error","sort_field":"entry_date","sort_order":"asc","page":0,"perPage":0}]}'

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
id string Required Hopper ID.

Query parameters

NameTypeRequiredDescription
sortOrder string Optional ASC or DESC. Default DESC.
count string Optional Maximum number of log lines, 1 to 500. Default 500.
offset string Optional Number of log lines to skip. Default 0.
dateTo string Optional End of the period as a date and time, e.g. 2026-09-25 10:00:00. Default now.
dateFrom string Optional Start of the period as a date and time, e.g. 2026-09-25 08:00:00. Default two hours ago.
entryType string Optional info returns all lines, error returns only errors. Default info.
sortBy string Optional entry_date or entry_type. Default entry_date.

Request body

JSON, model HopperOutputGET

FieldTypeRequiredDescription
search_optsarray of objectOptional
date_fromstringOptional
date_tostringOptional
entry_typestringOptionalOne of: error, info.
sort_fieldstringOptionalOne of: entry_date, entry_type.
sort_orderstringOptionalOne of: asc, desc.
pageintegerOptional
perPageintegerOptional

Response

Example response (illustrative values)

{
    "data": [
        {
            "log_type": "info",
            "log_output": "Checking open positions.",
            "log_time": 1758794100.512
        },
        {
            "log_type": "warning",
            "log_output": "Not enough balance to buy ETH.",
            "log_time": 1758794040.103
        }
    ]
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.