Get your progress in a streak
Returns your current streak count, streak rewards, and streak pool processing state.
GET
/
users
/
{id}
/
streak-details
/
{streak_id}
Get your progress in a streak
curl --request GET \
--url https://api.trepa.app/users/{id}/streak-details/{streak_id}const options = {method: 'GET'};
fetch('https://api.trepa.app/users/{id}/streak-details/{streak_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET'};
fetch('https://api.trepa.app/users/{id}/streak-details/{streak_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trepa.app/users/{id}/streak-details/{streak_id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.trepa.app/users/{id}/streak-details/{streak_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"streak": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_processed_pool_id": {},
"streak_accumulator_account": "<string>",
"title": "<string>",
"fee_percentage": 5,
"payout_percentage": 20,
"bump": 123,
"streak_count_required": 123,
"min_precision_score_required": 123,
"total_accumulated": 123,
"available_balance": 123,
"onchain_balance": 123,
"last_sync_at": "2023-11-07T05:31:56Z"
},
"current_streak_count": 123,
"last_streak_event": "NONE",
"last_pool_participated_at": {},
"streak_rewards": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"streak_id": "<string>",
"user_wallet_address": "<string>",
"amount": 123,
"is_claimed": true,
"streak": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_processed_pool_id": {},
"streak_accumulator_account": "<string>",
"title": "<string>",
"fee_percentage": 5,
"payout_percentage": 20,
"bump": 123,
"streak_count_required": 123,
"min_precision_score_required": 123,
"total_accumulated": 123,
"available_balance": 123,
"onchain_balance": 123,
"last_sync_at": "2023-11-07T05:31:56Z"
}
}
],
"current_streak_scores": [
123
],
"last_processed_pool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Response
The streak details have been retrieved.
Show child attributes
Show child attributes
Available options:
NONE, QUALIFIED, RESET, REWARDED Show child attributes
Show child attributes
Last modified on August 12, 2026
⌘I
Get your progress in a streak
curl --request GET \
--url https://api.trepa.app/users/{id}/streak-details/{streak_id}const options = {method: 'GET'};
fetch('https://api.trepa.app/users/{id}/streak-details/{streak_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET'};
fetch('https://api.trepa.app/users/{id}/streak-details/{streak_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trepa.app/users/{id}/streak-details/{streak_id}"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.trepa.app/users/{id}/streak-details/{streak_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"streak": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_processed_pool_id": {},
"streak_accumulator_account": "<string>",
"title": "<string>",
"fee_percentage": 5,
"payout_percentage": 20,
"bump": 123,
"streak_count_required": 123,
"min_precision_score_required": 123,
"total_accumulated": 123,
"available_balance": 123,
"onchain_balance": 123,
"last_sync_at": "2023-11-07T05:31:56Z"
},
"current_streak_count": 123,
"last_streak_event": "NONE",
"last_pool_participated_at": {},
"streak_rewards": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"streak_id": "<string>",
"user_wallet_address": "<string>",
"amount": 123,
"is_claimed": true,
"streak": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_processed_pool_id": {},
"streak_accumulator_account": "<string>",
"title": "<string>",
"fee_percentage": 5,
"payout_percentage": 20,
"bump": 123,
"streak_count_required": 123,
"min_precision_score_required": 123,
"total_accumulated": 123,
"available_balance": 123,
"onchain_balance": 123,
"last_sync_at": "2023-11-07T05:31:56Z"
}
}
],
"current_streak_scores": [
123
],
"last_processed_pool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}