Get By Question
Fetches all predictions made by the authenticated user and their clan members for a specific prediction question.
Endpoint
Section titled “Endpoint”POST
/prediction/v1/getbyquestionRequest Body
Section titled “Request Body”curl -X POST https://api.juspredict.com/prediction/v1/getbyquestion \-H 'Authorization: Bearer YOUR_TOKEN' \-H 'Content-Type: application/json' \-d '{"question_id": "q-uuid","time_in_force": 1}'{"question_id": "q-uuid","time_in_force": 1}Response Body
Section titled “Response Body”{"status": { "type": "SUCCESS" },"my_predictions": [...],"member_predictions": [...]}{"status": {"type": "ERROR","details": [ { "code": "401", "message": "Unauthorized access token." }]}}Response Fields
Section titled “Response Fields”| Field | Type | Description |
|---|---|---|
status | Status | Operation status. |