GET User Statistics
/web/user/stats
Retrieve the authenticated player's overall statistics using a valid JWT. Supports query parameter for localization (lang). Requires an Authorization header with the JWT from login.
Headers:
- Authorization:
Bearer <jwt>(JWT obtained during login).
Query parameters:
- lang: Language code for localized content (default:
en).
The response includes general player statistics:
- wc: Win Count (total matches won).
- tc: Total Count (total matches played).
- as: Average Score (overall performance rating, as/100).
- gt: Game Time (total play time duration in hours).
- mvpc: MVP Count (number of times player earned MVP).
- wsc: Win Streak Count (longest consecutive wins).
Hero-specific highlights:
- mo: Most Often (hero most damage dealt).
- hk: Highest Kills (hero with the most kills).
- ma: Most Assists (hero contributing the most assists).
- ms: Most Score (hero with the highest accumulated score).
- mdt: Most Damage Taken (hero absorbing the most damage).
- mg: Most Gold (hero earning the most gold).
- mtd: Most Total Damage (hero dealing the most damage overall).
Each hero highlight includes metadata such as:
- v: Value or statistic for the highlight. if
msis used, it calculatesv/100. - ts: Timestamp of the highlight.
- hid: Hero ID.
- n: Hero name.
- ix: Hero image URL.
- i2x: Large hero image URL.
- bid: Battle ID reference.
This endpoint is useful for:
- Analyzing overall player performance.
- Identifying favorite heroes.
- Showcasing personal achievements in MLBB.