Match History v2
GET
https://marvelrivalsapi.com/api/v2/player/:query/match-history
This endpoint retrieves the match history of a player based on their unique identifier (UID) or username. It allows filtering by season, game mode, and pagination (with page and limit).
Headers
Content-Type
application/json
x-api-key*
YOUR API KEY
Query Parameters
query
*
string
✔️
The unique identifier of the player (could be uid or username).
season
integer
❌
The season to retrieve match history for. Defaults to current season
page
integer
❌
The page number for pagination. Defaults to 1 if not specified.
limit
integer
❌
The number of matches per page. Defaults to 40 if not specified.
skip
integer
❌
The number of matches to skip (pagination). Defaults to 20.
game_mode
integer
❌
The game mode to filter matches by. Defaults to 0.
timestamp
integer
❌
Filter matches by timestamp. Only includes matches after the given timestamp.
Example Requests
Response
Response Field Descriptions
match_history
Array
List of match history entries.
match_history.match_map_id
Number
ID of the map played in the match (e.g., 1217
).
match_history.map_thumbnail
String
URL or path to the map thumbnail (e.g., "/rivals/maps/map_1217.png"
).
match_history.match_play_duration
String
Duration of the match (e.g., "8m 59s"
).
match_history.match_season
String
Season of the match (e.g., "1.5"
).
match_history.match_uid
String
Unique identifier for the match (e.g., "4890883_1741845325_1565_11001_10"
).
match_history.match_winner_side
Number
Side that won the match (e.g., 0
for team A, 1
for team B).
match_history.mvp_uid
Number
Unique identifier for the MVP player (e.g., 445990150
).
match_history.svp_uid
Number
Unique identifier for the SVP player (e.g., 538661026
).
match_history.score_info
Null
Additional score-related data (e.g., null
).
match_history.match_time_stamp
Number
Timestamp of the match (e.g., 1741845957
).
match_history.play_mode_id
Number
ID of the play mode used in the match (e.g., 0
).
match_history.game_mode_id
Number
ID of the game mode used in the match (e.g., 1
).
match_history.match_player
Object
Information about a specific player in the match.
match_history.match_player.assists
Number
The number of assists by the player in the match (e.g., 5
).
match_history.match_player.kills
Number
The number of kills by the player in the match (e.g., 8
).
match_history.match_player.deaths
Number
The number of deaths by the player in the match (e.g., 9
).
match_history.match_player.is_win
Object
Whether the player won the match and the score details.
match_history.match_player.is_win.score
Number
Score of the player in the match (e.g., 0
).
match_history.match_player.is_win.is_win
Boolean
Whether the player won the match (e.g., false
).
match_history.match_player.disconnected
Boolean
Whether the player disconnected during the match (e.g., false
).
match_history.match_player.player_uid
Number
Unique identifier for the player (e.g., 632183034
).
match_history.match_player.camp
Number
The camp the player was on (e.g., 1
).
match_history.match_player.score_info
Object
Additional score-related info for the player.
match_history.match_player.score_info.add_score
Number
Additional score added to the player (e.g., -35.36539720815472
).
match_history.match_player.score_info.level
Number
Level of the player during the match (e.g., 1
).
match_history.match_player.score_info.new_level
Number
New level of the player after the match (e.g., 1
).
match_history.match_player.score_info.new_score
Number
New score of the player after the match (e.g., 3194.0073244099885
).
match_history.match_player.player_hero
Object
Information about the player's hero in the match.
match_history.match_player.player_hero.hero_id
Number
ID of the hero played by the player (e.g., 1047
).
match_history.match_player.player_hero.hero_name
String
Name of the hero played by the player (e.g., "jeff the land shark"
).
match_history.match_player.player_hero.hero_type
String
Type of the hero (e.g., "/heroes/transformations/jeff-the-land-shark-headbig-0.webp"
).
match_history.match_player.player_hero.kills
Number
The number of kills by the hero in the match (e.g., 8
).
match_history.match_player.player_hero.deaths
Number
The number of deaths by the hero in the match (e.g., 9
).
match_history.match_player.player_hero.assists
Number
The number of assists by the hero in the match (e.g., 5
).
match_history.match_player.player_hero.play_time.raw
Number
Raw play time spent on the hero (e.g., 539.3805547300726
).
match_history.match_player.player_hero.play_time.formatted
String
Formatted play time spent on the hero (e.g., "8m 59s"
).
match_history.match_player.player_hero.total_hero_damage
Number
Total hero damage dealt by the hero (e.g., 6852.4064083099365
).
match_history.match_player.player_hero.total_damage_taken
Number
Total damage taken by the hero (e.g., 6883.935603141785
).
match_history.match_player.player_hero.total_hero_heal
Number
Total healing done by the hero (e.g., 8338.68634223938
).
pagination
Object
Pagination details for the match history.
pagination.page
Number
Current page number (e.g., 1
).
pagination.limit
Number
Number of matches per page (e.g., 40
).
pagination.total_matches
Number
Total number of matches (e.g., 185
).
pagination.total_pages
Number
Total number of pages (e.g., 5
).
pagination.has_more
Boolean
Whether there are more pages of matches (e.g., true
).
Last updated
Was this helpful?