Performance
Returns summary statistics about the user’s prediction success rate and earnings over time.
Endpoint
Section titled “Endpoint”POST
/prediction/v1/performanceRequest Body
Section titled “Request Body”curl -X POST https://api.juspredict.com/prediction/v1/performance \-H 'Authorization: Bearer YOUR_TOKEN' \-H 'Content-Type: application/json' \-d '{"time_in_force": 6}'{"time_in_force": 6}Response Body
Section titled “Response Body”{"status": { "type": "SUCCESS" },"performances": [{ "day": 18, "earnings": "150.00" }]}{"status": {"type": "ERROR","details": [ { "code": "401", "message": "Unauthorized access token." }]}}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
status | Status | Operation status. |