MarvelRivalsAPI.com
  1. Heroes
MarvelRivalsAPI.com
  • Introduction
  • Get Started
    • Authentication
    • Rate Limits
    • Errors
      • Status Codes
    • SDKs & Extentions
      • Community Libraries
  • Endpoints
    • Achievements
      • List achievements
      • Search achievement
    • Patch Notes
      • List balances
      • Search balance
      • List dev diaries
      • Search dev diary
      • List patch notes
      • Search patch note
      • List game versions
    • Battle Pass
      • Battlepass
    • Heroes
      • List Heroes
        GET
      • Search hero
        GET
      • Hero stats
        GET
      • Hero leaderboard
        GET
      • List costumes
        GET
      • Search hero costume
        GET
    • Items
      • List items
      • Search item
    • Maps
      • List maps
      • Search map
    • Player Match History
      • Search match
      • Player match history
      • Player match history v2
    • Player Stats
      • Search player
      • Player stats
      • Player stats v2
      • Update player
      • Player Leaderboard
  1. Heroes

Hero stats

GET
/api/v1/heroes/hero/{query}/stats
Heroes
Maintainer:Alastor
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.

Request

Path Params

Header Params

Responses

🟢200OK
application/json
Successful response with hero stats data
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://marvelrivalsapi.com/api/v1/heroes/hero//stats' \
--header 'x-api-key;'
Response Response Example
{
    "hero_id": 1032,
    "hero_name": "squirrel girl",
    "hero_icon": "/heroes/transformations/squirrel-girl-headbig-0.webp",
    "matches": 1952,
    "wins": 829,
    "k": 14.922131147540984,
    "d": 5.543032786885246,
    "a": 5.136782786885246,
    "play_time": "266h 52m 18s",
    "total_hero_damage": 34114415.0734396,
    "total_hero_heal": 9.024993896484375,
    "total_damage_taken": 13013868.561632827,
    "session_hit_rate": 0.373334447668276,
    "solo_kill": 1.8790983606557377
}
Modified at 2025-07-23 14:35:31
Previous
Search hero
Next
Hero leaderboard
Built with