v1

latestOpenAPI 3.0.12026-07-26171200932.8 KB
Users Info

Get user daily performance

Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.


Provides detailed performance analytics including daily gains, cumulative returns, and period-specific metrics within a specified date range. Supports various time-based analyses and performance reporting requirements.

get/api/v1/user-info/people/{username}/daily-gain

Path parameters

usernamestring required

Unique identifier of the user whose performance data is being requested

Query parameters

minDatestring date required

Start date for the analysis period (inclusive) in YYYY-MM-DD format

maxDatestring date required

End date for the analysis period (inclusive) in YYYY-MM-DD format

type'Daily' | 'Period' required

Specifies the granularity of the performance data: 'Daily' for day-by-day metrics or 'Period' for aggregated period statistics

Headers

x-request-idstring uuid required
Example:48dc9db4-04b6-41da-9d97-6aafd482c8ad

A unique request identifier.

x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

API key for authentication.

x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

User-specific authentication key.

Response

OK

OR