Skip to content

OpenDota API

16 endpointsSports & GamingGlobalsocial:read10 real examples

Returns Dota 2 heroes, hero pick and win statistics, player profiles, professional matches, match details and player match history.

View as Markdown
GET/opendota/heroesAll Dota 2 heroes with their primary attribute, attack type and roles.
GET/opendota/heroStatsPick, win and ban counts of every hero in public and professional matches.
GET/opendota/playerA Dota 2 player's profile by account id: name, avatar, rank and MMR estimate.
GET/opendota/proMatchesThe most recent professional matches, newest first.
GET/opendota/matchOne Dota 2 match by id: result, duration, score and the ten players with their stats.
GET/opendota/playerMatchesA player's most recent matches, newest first, up to 100.
GET/opendota/playerWinLossA player's total wins and losses in ranked and unranked Dota 2 matches.
GET/opendota/playerHeroesThe heroes a player has played, most played first, with wins and the games played with and against.
GET/opendota/searchDota 2 players whose name matches the query, with their account id and last match time.
GET/opendota/rankDistributionHow many players of the ranked ladder sit in each rank bin, with the running total.
GET/opendota/teamsProfessional Dota 2 teams ranked by OpenDota rating, best first, 1000 per page.
GET/opendota/liveMatchesDota 2 matches being played right now that spectators can watch, with their score and average MMR.
GET/opendota/publicMatchesThe 100 most recent public Dota 2 matches with their lobby, rank and the heroes of both teams.
GET/opendota/playerTotalsA player's career totals and per-game averages for each stat, such as kills, deaths and gold per minute.
GET/opendota/playerPeersThe players a player has most often played with or against, most games first, up to 200.
GET/opendota/heroMatchupsHow often one hero won against each other hero in public matches: games played and wins per opposing hero.

heroes

GET/v1/opendota/heroes

All Dota 2 heroes with their primary attribute, attack type and roles.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
attackTypestring
idstring
namestring
primaryAttrstring
rolesstring[]
curl "https://api.hoshime.com/v1/opendota/heroes" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "attackType": "Melee",
      "id": "1",
      "name": "Anti-Mage",
      "primaryAttr": "agi",
      "roles": [
        "Carry",
        "Escape"
      ]
    },
    {
      "attackType": "Melee",
      "id": "2",
      "name": "Axe",
      "primaryAttr": "str",
      "roles": [
        "Initiator",
        "Durable"
      ]
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "heroes",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

heroStats

GET/v1/opendota/heroStats

Pick, win and ban counts of every hero in public and professional matches.

scope social:read1 unitcached 1 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
idstring
namestring
proBaninteger (int64)
proPickinteger (int64)
proWininteger (int64)
pubPickinteger (int64)
pubWininteger (int64)
curl "https://api.hoshime.com/v1/opendota/heroStats" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "1",
      "name": "Anti-Mage",
      "proBan": 17,
      "proPick": 8,
      "proWin": 5,
      "pubPick": 672433,
      "pubWin": 344375
    },
    {
      "id": "2",
      "name": "Axe",
      "proBan": 7,
      "proPick": 5,
      "proWin": 4,
      "pubPick": 675349,
      "pubWin": 340069
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "heroStats",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

player

GET/v1/opendota/player

A Dota 2 player's profile by account id: name, avatar, rank and MMR estimate.

scope social:read1 unitcached 30 min

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 105248644
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
avatarUrlstring
biostring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
idstring
leaderboardRankinteger (int64)
mmrEstimateinteger (int64)
namestring
postCountinteger (int64)
proNamestring
rankTierinteger (int64)
urlstring
usernamestring
verifiedboolean
curl "https://api.hoshime.com/v1/opendota/player?accountId=105248644" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "avatarUrl": "https://avatars.steamstatic.com/4004d1ccdbf3145e8d93a081a9eb05378a676fde_full.jpg",
    "bio": "",
    "createdAt": "",
    "followerCount": 0,
    "followingCount": 0,
    "id": "105248644",
    "leaderboardRank": 16,
    "mmrEstimate": 0,
    "name": "SawagedBlind",
    "postCount": 0,
    "proName": "Miracle-",
    "rankTier": 80,
    "url": "",
    "username": "",
    "verified": false
  },
  "meta": {
    "cached": false,
    "endpoint": "player",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

proMatches

GET/v1/opendota/proMatches

The most recent professional matches, newest first.

scope social:read1 unitcached 5 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
direNamestring
direScoreinteger (int64)
durationinteger (int64)
leagueNamestring
matchIdstring
radiantNamestring
radiantScoreinteger (int64)
radiantWinboolean
startedAtstring
curl "https://api.hoshime.com/v1/opendota/proMatches" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "direName": "",
      "direScore": 24,
      "duration": 2195,
      "leagueName": "护鼠宝",
      "matchId": "9078644458",
      "radiantName": "",
      "radiantScore": 67,
      "radiantWin": true,
      "startedAt": "2026-11-06T15:02:30Z"
    },
    {
      "direName": "",
      "direScore": 24,
      "duration": 2175,
      "leagueName": "护鼠宝",
      "matchId": "9078565510",
      "radiantName": "",
      "radiantScore": 74,
      "radiantWin": true,
      "startedAt": "2026-11-06T14:11:44Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "proMatches",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

match

GET/v1/opendota/match

One Dota 2 match by id: result, duration, score and the ten players with their stats.

scope social:read1 unitcached 24 h

Parameters

matchId
integer
required
Dota 2 match id, such as 7000000000.
e.g. 7000000000
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

24 fields
clusterinteger (int64)
direScoreinteger (int64)
durationSecinteger (int64)
firstBloodSecinteger (int64)
gameModeinteger (int64)
lobbyTypeinteger (int64)
matchIdstring
playersMatchPlayer[]
accountIdstring
assistsinteger (int64)
deathsinteger (int64)
deniesinteger (int64)
goldPerMininteger (int64)
heroDamageinteger (int64)
heroIdstring
killsinteger (int64)
lastHitsinteger (int64)
levelinteger (int64)
slotinteger (int64)
towerDamageinteger (int64)
xpPerMininteger (int64)
radiantScoreinteger (int64)
radiantWinboolean
startedAtstring
curl "https://api.hoshime.com/v1/opendota/match?matchId=7000000000" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "cluster": 181,
    "direScore": 53,
    "durationSec": 1604,
    "firstBloodSec": 0,
    "gameMode": 23,
    "lobbyType": 0,
    "matchId": "7000000000",
    "players": [
      {
        "accountId": "157879374",
        "assists": 9,
        "deaths": 8,
        "denies": 13,
        "goldPerMin": 1329,
        "heroDamage": 30272,
        "heroId": "11",
        "kills": 8,
        "lastHits": 129,
        "level": 30,
        "slot": 0,
        "towerDamage": 1091,
        "xpPerMin": 1682
      },
      {
        "accountId": "351030372",
        "assists": 13,
        "deaths": 10,
        "denies": 2,
        "goldPerMin": 943,
        "heroDamage": 37924,
        "heroId": "119",
        "kills": 5,
        "lastHits": 44,
        "level": 29,
        "slot": 1,
        "towerDamage": 0,
        "xpPerMin": 1672
      }
    ],
    "radiantScore": 33,
    "radiantWin": false,
    "startedAt": "2023-02-03T14:45:35Z"
  },
  "meta": {
    "cached": false,
    "endpoint": "match",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

playerMatches

GET/v1/opendota/playerMatches

A player's most recent matches, newest first, up to 100.

scope social:read1 unitcached 10 minpaginated

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 105248644
limit
integer
Items per page, 1 to 100.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
assistsinteger (int64)
averageRankinteger (int64)
deathsinteger (int64)
durationSecinteger (int64)
gameModeinteger (int64)
heroIdstring
killsinteger (int64)
lobbyTypeinteger (int64)
matchIdstring
radiantWinboolean
slotinteger (int64)
startedAtstring
curl "https://api.hoshime.com/v1/opendota/playerMatches?accountId=105248644" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "assists": 12,
      "averageRank": 81,
      "deaths": 4,
      "durationSec": 2976,
      "gameMode": 2,
      "heroId": "4",
      "kills": 13,
      "lobbyType": 1,
      "matchId": "8138048280",
      "radiantWin": true,
      "slot": 2,
      "startedAt": "2025-01-20T16:12:12Z"
    },
    {
      "assists": 7,
      "averageRank": 81,
      "deaths": 6,
      "durationSec": 3193,
      "gameMode": 2,
      "heroId": "60",
      "kills": 13,
      "lobbyType": 1,
      "matchId": "8137928896",
      "radiantWin": true,
      "slot": 130,
      "startedAt": "2025-01-20T14:54:09Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "playerMatches",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

playerWinLoss

GET/v1/opendota/playerWinLoss

A player's total wins and losses in ranked and unranked Dota 2 matches.

scope social:read1 unitcached 30 min

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 105248644
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
lossesinteger (int64)
winsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/playerWinLoss?accountId=105248644" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "losses": 1678,
    "wins": 2391
  },
  "meta": {
    "cached": false,
    "endpoint": "playerWinLoss",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

playerHeroes

GET/v1/opendota/playerHeroes

The heroes a player has played, most played first, with wins and the games played with and against.

scope social:read1 unitcached 30 minpaginated

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 105248644
limit
integer
Items per page, 1 to 200.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
againstGamesinteger (int64)
againstWinsinteger (int64)
gamesinteger (int64)
heroIdstring
lastPlayedAtstring
winsinteger (int64)
withGamesinteger (int64)
withWinsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/playerHeroes?accountId=105248644" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "againstGames": 2,
      "againstWins": 1,
      "games": 6,
      "heroId": "99",
      "lastPlayedAt": "2025-01-20T13:57:01Z",
      "wins": 5,
      "withGames": 0,
      "withWins": 0
    },
    {
      "againstGames": 2,
      "againstWins": 1,
      "games": 5,
      "heroId": "46",
      "lastPlayedAt": "2025-01-20T09:55:05Z",
      "wins": 3,
      "withGames": 0,
      "withWins": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "playerHeroes",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

rankDistribution

GET/v1/opendota/rankDistribution

How many players of the ranked ladder sit in each rank bin, with the running total.

scope social:read1 unitcached 6 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
bininteger (int64)
countinteger (int64)
cumulativeSuminteger (int64)
curl "https://api.hoshime.com/v1/opendota/rankDistribution" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "bin": 11,
      "count": 9049,
      "cumulativeSum": 9049
    },
    {
      "bin": 12,
      "count": 144619,
      "cumulativeSum": 153668
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "rankDistribution",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

teams

GET/v1/opendota/teams

Professional Dota 2 teams ranked by OpenDota rating, best first, 1000 per page.

scope social:read1 unitcached 6 hpaginated

Parameters

cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
idstring
lastMatchAtstring
logoUrlstring
lossesinteger (int64)
namestring
ratingnumber (double)
tagstring
winsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/teams" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "id": "abc123",
      "lastMatchAt": "2026-11-06T09:41:00Z",
      "logoUrl": "https://…",
      "losses": 0,
      "name": "…",
      "rating": 0,
      "tag": "…",
      "wins": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "teams",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

liveMatches

GET/v1/opendota/liveMatches

Dota 2 matches being played right now that spectators can watch, with their score and average MMR.

scope social:read1 unitcached 1 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
averageMmrinteger (int64)
direScoreinteger (int64)
direTeamstring
gameModeinteger (int64)
gameTimeSecinteger (int64)
leagueIdstring
matchIdstring
radiantLeadinteger (int64)
radiantScoreinteger (int64)
radiantTeamstring
spectatorsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/liveMatches" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "averageMmr": 0,
      "direScore": 0,
      "direTeam": "…",
      "gameMode": 0,
      "gameTimeSec": 0,
      "leagueId": "abc123",
      "matchId": "abc123",
      "radiantLead": 0,
      "radiantScore": 0,
      "radiantTeam": "…",
      "spectators": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "liveMatches",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

publicMatches

GET/v1/opendota/publicMatches

The 100 most recent public Dota 2 matches with their lobby, rank and the heroes of both teams.

scope social:read1 unitcached 5 minpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
averageRankinteger (int64)
direHeroIdsstring[]
durationSecinteger (int64)
gameModeinteger (int64)
matchIdstring
radiantHeroIdsstring[]
radiantWinboolean
startedAtstring
curl "https://api.hoshime.com/v1/opendota/publicMatches" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "averageRank": 0,
      "direHeroIds": [
        "…"
      ],
      "durationSec": 0,
      "gameMode": 0,
      "matchId": "abc123",
      "radiantHeroIds": [
        "…"
      ],
      "radiantWin": false,
      "startedAt": "2026-11-06T09:41:00Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "publicMatches",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

playerTotals

GET/v1/opendota/playerTotals

A player's career totals and per-game averages for each stat, such as kills, deaths and gold per minute.

scope social:read1 unitcached 30 minpaginated

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 70388657
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
averagenumber (double)
gamesinteger (int64)
statstring
totalinteger (int64)
curl "https://api.hoshime.com/v1/opendota/playerTotals?accountId=70388657" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "average": 0,
      "games": 0,
      "stat": "…",
      "total": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "playerTotals",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

playerPeers

GET/v1/opendota/playerPeers

The players a player has most often played with or against, most games first, up to 200.

scope social:read1 unitcached 30 minpaginated

Parameters

accountId
integer
required
Dota 2 account id, the 32-bit id in the player's profile URL.
e.g. 70388657
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

18 fields
againstGamesinteger (int64)
againstWinsinteger (int64)
avatarUrlstring
biostring
createdAtstring
followerCountinteger (int64)
followingCountinteger (int64)
gamesinteger (int64)
idstring
lastPlayedAtstring
namestring
postCountinteger (int64)
urlstring
usernamestring
verifiedboolean
winsinteger (int64)
withGamesinteger (int64)
withWinsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/playerPeers?accountId=70388657" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "againstGames": 0,
      "againstWins": 0,
      "avatarUrl": "https://…",
      "bio": "…",
      "createdAt": "2026-11-06T09:41:00Z",
      "followerCount": 1280,
      "followingCount": 1280,
      "games": 0,
      "id": "abc123",
      "lastPlayedAt": "2026-11-06T09:41:00Z",
      "name": "…",
      "postCount": 1280,
      "url": "https://…",
      "username": "…",
      "verified": false,
      "wins": 0,
      "withGames": 0,
      "withWins": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "playerPeers",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

heroMatchups

GET/v1/opendota/heroMatchups

How often one hero won against each other hero in public matches: games played and wins per opposing hero.

scope social:read1 unitcached 6 hpaginated

Parameters

heroId
integer
required
Dota 2 hero id, such as 1 for Anti-Mage. The heroes endpoint lists them.
e.g. 1
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
gamesinteger (int64)
opponentHeroIdstring
winsinteger (int64)
curl "https://api.hoshime.com/v1/opendota/heroMatchups?heroId=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "games": 0,
      "opponentHeroId": "abc123",
      "wins": 0
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "heroMatchups",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "opendota",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open