For streamers! API Rank command for Valorant in StreamElements

Posted by Steve

Monday, September 26, 2022 5:05 PM

I was looking around for a way to have my !rank command in chat automatically update in real-time with my Valorant rank. There are a couple of threads existing right now that are outdated (APIs are broken/403 errors)

Simple guide here, easy for anyone to understand! I know APIs can be a bit daunting for some <3

How to add custom commands in SE

  1. In StreamElements, Chatbot > Custom Commands in the sidebar
  2. When you've opened this page, Custom Commands > Add New Command
  3. Set the Command Name to something you want (i.e. !rank, !valorank, etc)
  4. Following section explains what you should put in "Response" to call your Valorant rank/elo - "$(urlfetch link)"

How to get Valorant API's output

This is the Valorant API link: https://api.kyroskoh.xyz/valorant/v1/mmr/REGION/NAME/TAG

Replace REGION, NAME, and TAG with your information

  • REGION - EU, AP, NA, KR
  • NAME/TAG = Your ingame name, e.g. Blue#Strim will be Blue/Strim

With your modified link, there are a few outputs you can have. Some common ones would be;

  1. Rank only ("Diamond 1.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=rankonly&display=0)
  2. Rank and RR ("Diamond 1 - 78 RR.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=combo&display=0)
  3. Name and Rank + RR ("Name#Tag (EU Region): Diamond 1 - 78 RR.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=combo&display=1)

Copy and paste the code into the Response box. Much more explained in this link (credit goes to u/Passage-Special) https://community.nightdev.com/t/custom-api-valorant-mmr-rank-api-v1/30536

Hope this helps! 💙

References

  • https://www.reddit.com/r/VALORANT/comments/xnyxsl/for_streamers_api_rank_command_for_valorant_in/
  • https://reddit.com/xnyxsl

More Like This