Hero Leaderboard
GET
https://marvelrivalsapi.com/api/v1/heroes/leaderboard/:query
This endpoint retrieves the leaderboard for a specific hero based on their name or ID, and allows filtering the leaderboard by platform (PC, PS, Xbox). The leaderboard data is fetched from an external API and processed for easy consumption.
Headers
Content-Type
application/json
x-api-key*
YOUR API KEY
Query Parameters
query
*
string
✔️
The name or ID of the hero to retrieve.
platform
string
❌
The platform for the leaderboard. Options are pc
, ps
, xbox
. If not provided, defaults to pc
.
Example Requests
Response
Response Field Descriptions
players
Array
List of player objects.
players[].info
Object
Basic information about the player.
players[].info.name
String
Player's in-game name.
players[].info.cur_head_icon_id
String
ID of the current avatar or head icon.
players[].info.rank_season
Object
Ranking information for the current season.
players[].info.rank_season.rank_game_id
Number
ID of the ranked game mode.
players[].info.rank_season.level
Number
Current rank level.
players[].info.rank_season.rank_score
String
Current rank score.
players[].info.rank_season.max_level
Number
Highest rank level achieved during the season.
players[].info.rank_season.max_rank_score
String
Highest rank score achieved during the season.
players[].info.rank_season.update_time
Number
Last update timestamp (Unix time).
players[].info.rank_season.win_count
Number
Number of ranked wins.
players[].info.rank_season.protect_score
Number
Score protected due to rank protection mechanics.
players[].info.rank_season.diff_score
String
Score change since the last update.
players[].info.login_os
String
Operating system used at last login (e.g., "1" = Android, "2" = iOS).
players[].player_uid
Number
Unique identifier for the player.
players[].matches
Number
Total matches played.
players[].wins
Number
Total matches won.
players[].kills
Number
Total kills achieved.
players[].deaths
Number
Total number of deaths.
players[].assists
Number
Total number of assists.
players[].play_time
String
Total play time in minutes, as a string with decimal value.
players[].total_hero_damage
String
Total damage dealt to enemy heroes.
players[].total_damage_taken
String
Total damage taken from enemies.
players[].total_hero_heal
String
Total healing done to heroes.
players[].mvps
Number
Number of times the player was MVP (Most Valuable Player).
players[].svps
Number
Number of times the player was SVP (Second Valuable Player).
Last updated
Was this helpful?