users

Get the user's historical portfolio balance data

get/users/{id}/balance/history

Path parameters

idstring required

A User ID

Query parameters

start_timestring date-time

Start time for the balance history query (ISO 8601 format). Defaults to 7 days ago.

end_timestring date-time

End time for the balance history query (ISO 8601 format). Defaults to now.

granularity'hourly' | 'daily'

Data granularity. 'hourly' returns hourly data points, 'daily' returns daily aggregated data. Defaults to 'hourly'.

user_idstring

The user ID of the user making the request

Headers

Encoded-Data-Messagestring

The data that was signed by the user for signature recovery

Encoded-Data-Signaturestring

The signature of data, used for signature recovery

Response

Success

Example response

{
  "data": [
    {
      "timestamp": 1704067200,
      "balance_usd": 1234.56
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.