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 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
{
    "overall_stats": {
        "attack": 100,
        "defense": 80,
        "speed": 60,
        "health": 1500,
        "critical_hit": 10,
        "armor": 50
    },
    "damage_per_second": 350,
    "win_rate": "58%",
    "pick_rate": "22%",
    "ban_rate": "14%"
}

Request

Path Params
query
string 
required
The name or ID of the hero to fetch stats for.
Example:
ironman
Header Params
x-api-key
string 
required
The API key for authorization. It is necessary to provide a valid API key to access the data.
Example:
your-api-key-here

Responses

🟢200OK
application/json
Successful response with hero stats data
Body
overall_stats
object 
optional
A collection of the hero's overall stats.
Example:
{"attack":100,"defense":80,"speed":60,"health":1500,"critical_hit":10,"armor":50}
damage_per_second
integer 
optional
Calculated damage per second for the hero.
Example:
350
win_rate
string 
optional
The win rate for the hero.
Example:
58%
pick_rate
string 
optional
The pick rate for the hero.
Example:
22%
ban_rate
string 
optional
The ban rate for the hero.
Example:
14%
🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🔴500Server Error
Modified at 2025-07-23 14:35:31
Previous
Search hero
Next
Hero leaderboard
Built with