opendota_hero_stats
Retrieve and filter Dota 2 hero stats, including base stats and pick/win/ban counts with win rates for pro, public, turbo, and rank brackets; sort by attribute, attack type, or role.
Instructions
OpenDota Dota 2 hero pick and win statistics. Returns every Dota 2 hero with base stats (health, mana, armor, attack range, move speed) and OpenDota's aggregate pick/win counts and win rates for professional games (with bans), public games, turbo, and each of the eight rank brackets (Herald, Guardian, Crusader, Archon, Legend, Ancient, Divine, Immortal). Filter by primary_attr (agi, all, int, str), attack_type (Melee, Ranged) and role, sort with sort and desc, and cap with limit. Win rates are percentages and are omitted when there are no picks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | Sort descending (the default for every key except id and name) | |
| role | No | Role filter; one of Carry, Disabler, Durable, Escape, Initiator, Nuker, Pusher, Support | |
| sort | No | Sort key; one of id, name, pro_pick, pro_win, pro_ban, pro_win_rate, pub_pick, pub_win, pub_win_rate, turbo_pick, turbo_win_rate; defaults to id | |
| limit | No | Number of heroes to return, 1 to 200; defaults to all | |
| attack_type | No | Attack type filter; one of Melee, Ranged | |
| primary_attr | No | Primary attribute filter; one of agi, all, int, str |