Get live Premier team by team name (v2)
curl --request GET \
--url https://api.henrikdev.xyz/valorant/v2/premier/teams/{affinity}/{name}/{tag} \
--header 'Authorization: <api-key>'import requests
url = "https://api.henrikdev.xyz/valorant/v2/premier/teams/{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/teams/{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/teams/{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/teams/{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/teams/{affinity}/{name}/{tag}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.henrikdev.xyz/valorant/v2/premier/teams/{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>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}valorant
Get live Premier team by team name (v2)
Resolves distinct candidate team IDs from the existing team index, then verifies their current name, tag and affinity against Riot without roster caching. Teams absent from the index cannot be discovered by name. At most 25 candidates are checked, with at most four concurrent roster fetches and a ten-second deadline covering index lookup and Riot verification. More than 25 candidates, an expired deadline or a non-404 upstream failure returns 500 rather than a partial result. Stale Riot 404 candidates are skipped. A unique result or 404 requires complete candidate exhaustion; two verified live matches return 409. Returns the same response as team lookup by ID; the seasons list may include the current season.
GET
/
valorant
/
v2
/
premier
/
teams
/
{affinity}
/
{name}
/
{tag}
Get live Premier team by team name (v2)
curl --request GET \
--url https://api.henrikdev.xyz/valorant/v2/premier/teams/{affinity}/{name}/{tag} \
--header 'Authorization: <api-key>'import requests
url = "https://api.henrikdev.xyz/valorant/v2/premier/teams/{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/teams/{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/teams/{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/teams/{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/teams/{affinity}/{name}/{tag}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.henrikdev.xyz/valorant/v2/premier/teams/{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>"
}
]
}{
"errors": [
{
"code": 1,
"message": "<string>",
"status": 1,
"details": "<unknown>"
}
]
}