logo
theme
Dota2
FREE
By stefan.skliarov
Updated a year ago
Dota2 Overview
Connect to the Dota 2 Game API to get league, team, match, tournament, item and player data. Test an API call in your browser and export the code snippet.
provider
rating
Followers on API
Follow this API
resourcesProvider WebsiteTerms of Service
More Details

Dota2

Dota2 Package

Dota2

  • Domain: Dota2
  • Credentials: apiKey

How to get credentials:

  1. Go to Steam Website
  2. Register or log in
  3. Go to Dev page to get your apiKey

Custom datatypes:

Datatype Description Example
Datepicker String which includes date and time 2016-05-28 00:00:00
Map String which includes latitude and longitude coma separated 50.37, 26.56
List Simple array ["123", "sample"]
Select String with predefined values sample
Array Array of objects [{"Second name":"123","Age":"12","Photo":"sdf","Draft":"sdfsdf"},{"name":"adi","Second name":"bla","Age":"4","Photo":"asfserwe","Draft":"sdfsdf"}]

Dota2.getLeagueListing

Information about DotaTV-supported leagues.

Field Type Description
apiKey credentials apiKey from Steam
language String The ISO639-1 language code for the language all tokenized strings should be returned in. Not all strings have been translated to every language. If a language does not have a string, the English string will be returned instead. If this parameter is omitted the string token will be returned for the strings.

Dota2.getLiveLeagueGames

A list of in-progress league matches, as well as details of that match as it unfolds.

Field Type Description
apiKey credentials apiKey from Steam

Dota2.getMatchDetails

Information about a particular match.

Field Type Description
apiKey credentials apiKey from Steam
matchId Number Id of the match

Dota2.getMatchHistory

A list of matches, filterable by various parameters.

Field Type Description
apiKey credentials apiKey from Steam
heroId Number A list of hero IDs can be found via the GetHeroes method.
gameMode Select 0 - None 1 - All Pick 2 - Captain's Mode 3 - Random Draft 4 - Single Draft 5 - All Random 6 - Intro 7 - Diretide 8 - Reverse Captain's Mode 9 - The Greeviling 10 - Tutorial 11 - Mid Only 12 - Least Played 13 - New Player Pool 14 - Compendium Matchmaking 16 - Captain's Draft
skill Select Skill bracket for the matches (Ignored if an account ID is specified). 0 - Any 1 - Normal 2 - High 3 - Very High
minPlayers Number Minimum amount of players in a match for the match to be returned.
accountId Number 32-bit account ID.
leagueId String Only return matches from this league. A list of league IDs can be found via the GetLeagueListing method.
startAtMatchId Number Start searching for matches equal to or older than this match ID.
matchesRequested Number Amount of matches to include in results (default: 25).
tournamentGamesOnly Select Whether to limit results to tournament matches. (0 = false, 1 = true)

Dota2.getMatchHistoryBySequenceNum

A list of matches ordered by their sequence num.

Field Type Description
apiKey credentials apiKey from Steam
startAtMatchSeqNum Number The match sequence number to start returning results from.
matchesRequested Number Amount of matches to include in results (default: 25).

Dota2.getScheduledLeagueGames

A list of scheduled league games coming up.

Field Type Description
apiKey credentials apiKey from Steam
dateMin DatePicker Minimal date
dateMax DatePicker Maximal date

Dota2.getTeamInfoByTeamID

A list of all the teams set up in-game.

Field Type Description
apiKey credentials apiKey from Steam
startAtTeamId Number The team id to start returning results from.
teamsRequested Number The amount of teams to return.

Dota2.getTournamentPlayerStats

Stats about a particular player within a tournament.

Field Type Description
apiKey credentials apiKey from Steam
accountId Number Id of the account
heroId Number A list of hero IDs can be found via the GetHeroes method.

Dota2.getGameItems

Dota 2 In-game items

Field Type Description
apiKey credentials apiKey from Steam
language String The language code to provide item names in.

Dota2.getHeroes

A list of heroes within Dota 2.

Field Type Description
apiKey credentials apiKey from Steam
language String The language code to provide item names in.

Dota2.getRarities

Dota 2 item rarity list.

Field Type Description
apiKey credentials apiKey from Steam
language String The language code to provide item names in.

Dota2.getTournamentPrizePool

The current prizepool for specific tournaments.

Field Type Description
apiKey credentials apiKey from Steam
leagueId Number The ID of the league to get the prize pool of.
Have a question about this API?Ask the API Provider.
More by stefan.skliarov
0.7
58899ms
-
0.1
58638ms
-
0.4
58646ms
-
Developers who viewed Dota2 also viewed

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication