GET https://api.cryptohopper.com/v1/device/list

Returns all devices registered on your account with their platform, location, IP address, state and activity times. The calling device must itself be authorized.

The handler checks no OAuth scope. state is 0 (not authorized), 1 (authorizing) or 2 (authorized). Times are Unix timestamps; 0 means not set.

Example request

curl "https://api.cryptohopper.com/v1/device/list" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

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

Response

Example response (illustrative values)

{
    "data": [
        {
            "id": 1237001,
            "name": "Chrome 128 (Windows 10.0.0)",
            "location": "Amsterdam, NL",
            "ipAddress": "203.0.113.10",
            "platform": "WEB",
            "state": 2,
            "deviceId": "3f9c2a7e-51b4-4c1d-9a0e-7b6d2f1c8e44",
            "lastActivity": 1790316000,
            "createdAt": 1786000000,
            "deletedAt": 0,
            "expiration": 1791184000,
            "revokedAt": 0,
            "sessionId": "api://device/authorize"
        }
    ]
}

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