Get live Premier team by player Riot ID (v2)
curl --request GET \
--url https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag} \
--header 'Authorization: <api-key>'import requests
url = "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "<string>",
"current_season": {
"crest": "<string>",
"enrolled": true,
"has_earned_prestige": true,
"has_earned_promotion_for_next_season": true,
"id": "<string>",
"placement": {
"conference": "<string>",
"division": 1,
"is_provisional": true,
"points": 1
},
"promotion_applied": true,
"stats": {
"losses": 1,
"matches": 1,
"rounds": {
"lost": 1,
"won": 1
},
"wins": 1
},
"name": "<string>"
},
"customization": {
"icon": "<string>",
"image": "<string>",
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"id": "<string>",
"member": [
{
"joined_at": "<string>",
"puuid": "<string>",
"role": {
"id": 1,
"name": "<string>"
}
}
],
"name": "<string>",
"seasons": [
{
"crest": "<string>",
"enrolled": true,
"has_earned_prestige": true,
"has_earned_promotion_for_next_season": true,
"id": "<string>",
"placement": {
"conference": "<string>",
"division": 1,
"is_provisional": true,
"points": 1
},
"promotion_applied": true,
"stats": {
"losses": 1,
"matches": 1,
"rounds": {
"lost": 1,
"won": 1
},
"wins": 1
},
"name": "<string>"
}
],
"tag": "<string>"
},
"status": 1
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}valorant
Get live Premier team by player Riot ID (v2)
Resolves the player’s Riot ID to a PUUID using a live alias lookup, then fetches their current Premier roster without caching. Returns the same response as team lookup by ID.
GET
/
valorant
/
v2
/
premier
/
players
/
{affinity}
/
{name}
/
{tag}
Get live Premier team by player Riot ID (v2)
curl --request GET \
--url https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag} \
--header 'Authorization: <api-key>'import requests
url = "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.henrikdev.xyz/valorant/v2/premier/players/{affinity}/{name}/{tag}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"created_at": "<string>",
"current_season": {
"crest": "<string>",
"enrolled": true,
"has_earned_prestige": true,
"has_earned_promotion_for_next_season": true,
"id": "<string>",
"placement": {
"conference": "<string>",
"division": 1,
"is_provisional": true,
"points": 1
},
"promotion_applied": true,
"stats": {
"losses": 1,
"matches": 1,
"rounds": {
"lost": 1,
"won": 1
},
"wins": 1
},
"name": "<string>"
},
"customization": {
"icon": "<string>",
"image": "<string>",
"primary": "<string>",
"secondary": "<string>",
"tertiary": "<string>"
},
"id": "<string>",
"member": [
{
"joined_at": "<string>",
"puuid": "<string>",
"role": {
"id": 1,
"name": "<string>"
}
}
],
"name": "<string>",
"seasons": [
{
"crest": "<string>",
"enrolled": true,
"has_earned_prestige": true,
"has_earned_promotion_for_next_season": true,
"id": "<string>",
"placement": {
"conference": "<string>",
"division": 1,
"is_provisional": true,
"points": 1
},
"promotion_applied": true,
"stats": {
"losses": 1,
"matches": 1,
"rounds": {
"lost": 1,
"won": 1
},
"wins": 1
},
"name": "<string>"
}
],
"tag": "<string>"
},
"status": 1
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}