Get the current promotion streak

GET /v1/client/promotions/streak

Get Current Streak returns the current streak of the user.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
      • streak integer Required
      • earnings_today string Required
      • deadline string(date-time) Required
      • claimable_rewards array[object] Required
        Hide claimable_rewards attributes Show claimable_rewards attributes object
        • id integer(int64) Required

          The id of the claimable reward.

        • reward_type string

          The type of the claimable reward.

          Values are DAILY or WEEKLY.

        • date string(date-time) Required

          The timestamp when the reward was created at

        • reward_amount number(float) Required

          The amount of currency the user is rewarded upon reward claim.

GET /v1/client/promotions/streak
curl \
 --request GET 'https://api.bitlabs.ai/v1/client/promotions/streak' \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "streak": 42,
    "earnings_today": "12.34",
    "deadline": "2024-11-02T23:59:59+01:00",
    "claimable_rewards": [
      {
        "id": 65,
        "reward_type": "DAILY",
        "date": "2025-07-21T00:00:00.000Z",
        "reward_amount": 33.3
      }
    ]
  }
}