[CustomAPI] CS:GO stats by csgo.tracker.network


In cooperation with csgo.tracker.network I developed a Custom API to display your CS:GO stats + rank in the world in your Twitch chat.

!commands add !csgo -cd=5 -ul=everyone $(urlfetch https://2g.be/twitch/CSGO/command/bot=nightbot&provider=$(provider)&user=$(user)&channel=$(channel)&query=$(querystring))
Please dont change any variables in the command, just copy paste this command in your chat.

!csgo <action> <Steam ID / Custom URL>

!csgo kd 76561198083898715
[Dev] xgerhard: TomPLZ’s K/D ratio: 1,20 (#2.493.459, Top 29%).
!csgo time ZaWhiteRabbit
[Dev] xgerhard: ZWR’s hours played: 1.183.212 (No rank, Top 24%).

Use the last part of your Steam URL, just the ID or custom URL part. Links will probably result in timeouts.

Tip: Use !csgo setplayer <Steam ID/Custom URL> to link your Account:


  • time (Total playtime in hours)
  • kills (Total kills)
  • deaths (Total deaths)
  • kd (Kills/deaths ratio)
  • mvp (MVP count)
  • winp (Win %)
  • games (Total games played)
  • wins (Total games won)
  • headshots (Total headshots)
  • money (Total money earned)
  • score (Total score)
  • dmg (Total damage dealt)
  • bombsset (Total bombs set)
  • bombsdef (Total bombs defused)
  • hostages (Total hostages rescued)
  • rounds (Total rounds played)
  • roundswon (Total rounds won)
  • sniper (Total snipers killed)
  • shots (Total shots fired)
  • shotshit (Total shots hit)
  • dominations (Total dominations)

Full up to date action list here: https://2g.be/twitch/CSGO/

Alias commands
When you installed the !csgo command, you can easy setup alias commands for example:
!commands add !kd -a=!csgo kd xgerhard
Now when someone uses !kd the following command will be executed: !csgo kd xgerhard

Questions or feedback?
Twitch: Xgerhard
Twitter: @Gerhardoh
Discord: Xgerhard#2439


dont work, i am added, but dont work, write me : No valid channel given
Iam added this cod is chat, iam not custom this is cod

How does your command look like? In the logs I do see requests of you but with no channel in the url, dont change any of the variables in the url given in the start post, just copy paste it.

1 Like

I have not changed anything, I copied and pasted into the chat.
$(urlfetch https://2g.be/twitch/CSGO/command/bot=nightbot&provider=$(provider)&user=$(user)&channel=$(channel)&query=$(querystring))

I’ll take a look at this later this week, I can’t seem to reproduce this at the moment. I installed the command on 2 different accounts with no problem on discord & twitch.

1 Like

Any APIs about World of Tanks stats? cant find anything

Not that I know of, sorry.

1 Like