DOTA 2 Steam Web

FREE
By community
Updated 10 months ago
Entertainment
8/10
Popularity
431ms
Latency
100%
Success Rate

DOTA 2 Steam Web API Documentation

A WebAPI for match history is now available on Dota 2. Web developers can now retrieve the match history and match details in JSON or XML format for use in their own applications.

View API Details
GETMatch Details
GETMatch History
GETMatch Details

To retrieve the specific details of a match, use this API:

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
match_idSTRING
REQUIRED
matches_requestedSTRING
REQUIREDDefaults is 25 matches, this can limit to less
keyQUERY
REQUIREDFirst off get a dev key from here, http://steamcommunity.com/dev/apikey and login with your Steam account and you will get unique key. Please do not share this key as it identifies you when you make WebAPI requests.
Optional Parameters
league_idSTRING
OPTIONALmatches for a particular league
player_nameSTRING
OPTIONALSearch matches with a player name, exact match only
date_maxSTRING
OPTIONALdate in UTC seconds since Jan 1, 1970 (unix time format)
account_idSTRING
OPTIONALSteam account id (this is not SteamID, its only the account number portion)
hero_idSTRING
OPTIONALSearch for matches with a specific hero being played, hero id's are in dota/scripts/npc/npc_heroes.txt in your Dota install directory
skillSTRING
OPTIONAL0 for any, 1 for normal, 2 for high, 3 for very high skill
start_at_match_idSTRING
OPTIONALStart the search at the indicated match id, descending
date_minSTRING
OPTIONALdate in UTC seconds since Jan 1, 1970 (unix time format)
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication