title: CSGO get users match stats
body: <p>I'm trying to find a way to get match data from a csgo share code like leetify &amp; csgostats.gg.</p>
  <p>There was a post <a href="https://stackoverflow.com/questions/64293914/steam-get-user-matches-for-csgo">here</a> about how you need to obtain a share code &amp; last match code from the user first.</p>
  <p>You can send a request with the share code &amp; last match code via</p>
  <p><a href="https://api.steampowered.com/ICSGOPlayers_730/GetNextMatchSharingCode/v1?key=XXX&amp;steamid=765XXX&amp;steamidkey=AAAA-AAAAA-AAAA&amp;knowncode=CSGO-ZT42K-Jxxxx-Kxxxx-5xxxx-Oixxx" rel="nofollow noreferrer">https://api.steampowered.com/ICSGOPlayers_730/GetNextMatchSharingCode/v1?key=XXX&amp;steamid=765XXX&amp;steamidkey=AAAA-AAAAA-AAAA&amp;knowncode=CSGO-ZT42K-Jxxxx-Kxxxx-5xxxx-Oixxx</a></p>
  <p>source: <a href="https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Access_Match_History" rel="nofollow noreferrer">https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Access_Match_History</a></p>
  <p>But when you send a request with the parameters it only returns the next share code. I'm trying to find a way to get details from the share code such as match results, match players, kills, etc.</p>