Rebalance a portfolio bot

PATCH https://api.cryptohopper.com/v1/hopper/{id}/rebalance

Sends a portfolio bot the command to rebalance right away instead of at its next scheduled check.

Only for portfolio bots (bot type 6).

Example request

curl -X PATCH "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/rebalance" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

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

Path parameters

NameTypeRequiredDescription
id string Required Hopper ID.

Response

Example response (illustrative values)

{
    "data": "Rebalance command sent."
}

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