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

Returns the IP addresses to whitelist on the exchange for this hopper's API key: space separated, in the format the exchange expects, and comma separated for display.

OAuth scope: read About scopes

Example request

curl "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/ipwhitelist" \
  -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.

Query parameters

NameTypeRequiredDescription
exchange string Optional Exchange to return the addresses for, e.g. kucoin. Defaults to the exchange of the hopper; an unknown exchange is ignored.

Response

Example response (illustrative values)

{
    "data": {
        "ip_addresses": "203.0.113.10 203.0.113.11",
        "total": 2,
        "copy_ip_addresses": "203.0.113.10,203.0.113.11",
        "show_ip_addresses": "203.0.113.10, 203.0.113.11"
    }
}

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