Get level info

GET /v1/client/level-info

Returns Level/XP information and list Claims

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • data object
      Hide data attributes Show data attributes object
  • 406 application/json

    VPN detected

    Hide response attribute Show response attribute object
GET /v1/client/level-info
curl \
 --request GET 'https://api.bitlabs.ai/v1/client/level-info' \
 --header "X-Api-Token: $API_KEY" \
 --header "X-User-Id: $API_KEY"
Response examples (200)
{
  "data": {
    "current_level": 42,
    "current_xp": 42,
    "xp_required_for_current_level": 42,
    "xp_required_for_next_level": 42,
    "rewards": [
      {
        "id": "string",
        "type": "string",
        "data": {}
      }
    ]
  }
}
Response examples (406)
{
  "error": {
    "details": {
      "msg": "vpn detected",
      "http": "406 Not Acceptable"
    }
  }
}