Hero Stats
GET
https://marvelrivalsapi.com/api/v1/heroes/hero/:query/stats
This endpoint retrieves detailed statistics for a specific hero based on their name or ID. The stats are fetched from an external API, and the response includes processed hero stats for analysis and display.
Headers
Content-Type
application/json
x-api-key*
YOUR API KEY
Query Parameters
query
*
string
✔️
The name or ID of the hero to retrieve.
Example Requests
Response
Response Field Descriptions
hero_id
Number
Unique identifier for the hero.
hero_name
String
Display name of the hero.
hero_icon
String
Path or URL to the hero's icon image.
matches
Number
Total number of matches the hero has been played in.
wins
Number
Total number of matches won with this hero.
k
Number
Average kills per match.
d
Number
Average deaths per match.
a
Number
Average assists per match.
play_time
String
Total play time with this hero (formatted as hours, minutes, and seconds).
total_hero_damage
Number
Total damage dealt to enemy heroes.
total_hero_heal
Number
Total healing done by this hero.
total_damage_taken
Number
Total damage taken while playing this hero.
session_hit_rate
Number
Hit rate during sessions, usually a value between 0 and 1.
solo_kill
Number
Average number of solo kills per match.
Last updated
Was this helpful?