eline sağlık reisimValorant API Referansı
İÇİNDEKİLER
- RSO OAuth2 Login Akışı
- Ortak Header'lar
- PD API (Player Data)
- GLZ API (Game Logic)
- Store / Ekonomi
- Shared Endpoints
- Yerel İstemci API (127.0.0.1)
- Statik Veri Kaynakları
- Referans Tabloları
1. RSO OAuth2 Login Akışı
Valorant'ın kimlik doğrulaması Riot Sign-On (RSO) OAuth2 sistemi üzerine kuruludur. Tüm token'lar bu zincirden geçer.
Adım 1 — Oturum Başlat
POSTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:POST https://authenticate.riotgames.com/api/v1/login Content-Type: application/json { "clientId": "riot-client", "type": "auth", "language": "en_US", "platform": "windows", "remember": true, "riot_identity": { "language": "en_US", "state": "auth" } }
Yanıt (Captcha gerekli):
Kod:{ "type": "auth", "country": "tur", "captcha": { "type": "hcaptcha", "hcaptcha": { "key": "<sitekey>", "data": "<rqdata_string>" } } }
Not: key = sitekey, data = rqdata (Enterprise). Bu adımda ssid set-cookie döner.
Adım 2 — Credentials + Captcha Token Gönder
PUTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:PUT https://authenticate.riotgames.com/api/v1/login Content-Type: application/json Cookie: ssid=<adım1_ssid> { "type": "auth", "username": "kullanici_adi", "password": "sifre", "captcha": "P1_eyJ...", "remember": true }
Başarılı Yanıt:
Kod:{ "type": "success", "success": { "login_token": "<login_token>" } }
MFA Gerekli Yanıt:
Kod:{ "type": "multifactor", "multifactor": { "email": "u***@***.com", "method": "email", "methods": ["email"], "multiFactorCodeLength": 6 } }
Hata Kodları:
- auth_failure — Yanlış kullanıcı/şifre
- rate_limited — Çok fazla deneme
- captcha_not_allowed — Captcha token reddedildi (low score)
Adım 3 — Login Token → Access Token
POSTKod:https://auth.riotgames.com/api/v1/login-token
İstek:
Kod:POST https://auth.riotgames.com/api/v1/login-token Content-Type: application/json { "login_token": "<adım2_login_token>", "redirect_uri": "https://playvalorant.com/opt_in" }
Yanıt:
Kod:{ "type": "response", "response": { "parameters": { "uri": "https://playvalorant.com/opt_in#access_token=eyJ...&id_token=eyJ...&token_type=Bearer&expires_in=3600" } } }
URI'deki fragment'ten access_token ve id_token parse edilir.
Adım 4 — Entitlements Token
POSTKod:https://entitlements.auth.riotgames.com/api/token/v1
İstek:
Kod:POST https://entitlements.auth.riotgames.com/api/token/v1 Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "entitlements_token": "eyJ..." }
Adım 5 — Kullanıcı Bilgisi
GETKod:https://auth.riotgames.com/userinfo
İstek:
Kod:GET https://auth.riotgames.com/userinfo Authorization: Bearer <access_token>
Yanıt:
Kod:{ "sub": "<puuid>", "jti": "...", "acct": { "game_name": "PlayerName", "tag_line": "TR1" }, "dat": { "r": "TR", "c": "tur" }, "email_verified": true, "country": "tur", "player_locale": "tr" }
sub = PUUID. Tüm PD/GLZ isteklerinde kullanılır.
Adım 6 — PAS Token (Bölge Affinite)
PUTKod:https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant
İstek:
Kod:PUT https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "token": "eyJ...", "affinities": { "pbe": "na", "live": "eu" } }
affinities.live = oyuncunun shard'ı (na/eu/ap/kr). PD/GLZ URL'lerinde kullanılır.
2. Ortak Header'lar
PD ve GLZ API'lerine yapılan tüm istekler şu header'ları gerektirir:
Kod:Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: eyJwbGF0Zm9ybVR5cGUiOiJQQyIsInBsYXRmb3JtT1MiOiJXaW5kb3dzIiwicGxhdGZvcm1PU1ZlcnNpb24iOiIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwicGxhdGZvcm1DaGlwc2V0IjoiVW5rbm93biJ9 X-Riot-ClientVersion: release-XX.XX-shipping-XX-XXXXXX
X-Riot-ClientPlatform (Base64 Decoded):
Kod:{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
Shard → Host Eşleme:
Kod:TR / EU / RU → shard: eu → pd.eu.a.pvp.net / glz-eu-1.eu.a.pvp.net NA / BR / LATAM → shard: na → pd.na.a.pvp.net / glz-na-1.na.a.pvp.net KR → shard: kr → pd.kr.a.pvp.net / glz-kr-1.kr.a.pvp.net AP / JP → shard: ap → pd.ap.a.pvp.net / glz-ap-1.ap.a.pvp.net
3. PD API (Player Data)
Base:Tüm istekler ortak header'ları gerektirir.Kod:https://pd.{shard}.a.pvp.net
GETHesap XP bilgisi, seviye, ilerleme.Kod:/account-xp/v1/players/{puuid}
GETMMR, rank, competitive tier, rank rating (RR), leaderboard pozisyonu.Kod:/mmr/v1/players/{puuid}
Örnek istek:
Kod:GET https://pd.eu.a.pvp.net/mmr/v1/players/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: <base64> X-Riot-ClientVersion: <version>
GETSon 20 competitive maç sonucu, RR değişimleri.Kod:/mmr/v1/players/{puuid}/competitiveupdates?startIndex=0&endIndex=20
GETLeaderboard. Bölge: eu, na, ap, kr.Kod:/mmr/v1/leaderboards/affinity/{region}/queue/competitive/season/{seasonId}
GETMaç geçmişi. queue parametresi ile filtreleme (competitive, unrated, spikerush vs.).Kod:/match-history/v1/history/{puuid}?startIndex=0&endIndex=20
GETTekil maç detayı: oyuncular, skorlar, roundlar, silah istatistikleri.Kod:/match-details/v1/matches/{matchId}
GETPUUID listesinden oyuncu isimlerini çözer.Kod:/name-service/v2/players
Not: Metod PUT olarak da çalışıyor (body ile):
Kod:PUT https://pd.{shard}.a.pvp.net/name-service/v2/players Content-Type: application/json ["puuid-1", "puuid-2", ...]
GETOyuncunun aktif spray, kart, başlık, silah skin seçimleri.Kod:/personalization/v2/players/{puuid}/playerloadout
GETBattle pass, ajan kontratları, ilerleme durumu.Kod:/contracts/v1/contracts/{puuid}
POSTKontrat aktif et.Kod:/contracts/v1/contracts/{puuid}/special/{contractId}
GETAktif cezalar (ban, chat ban, ranked ban).Kod:/restrictions/v3/penalties
GETFavori skin'ler / koleksiyon.Kod:/favorites/v1/players/{puuid}/favorites
Premier (Takım):
GETPremier takım bilgisi.Kod:/premier/v1/players/{puuid}
GETTakım detayları.Kod:/premier/v1/teams/{teamId}
4. GLZ API (Game Logic)
Base:Aktif oyun durumu, parti, matchmaking.Kod:https://glz-{region}-1.{shard}.a.pvp.net
Party (Parti)
GETOyuncunun aktif parti bilgisi, parti ID'si.Kod:/parties/v1/players/{puuid}
GETParti detayları: üyeler, kuyruk seçimi, hazırlık durumu.Kod:/parties/v1/parties/{partyId}
POSTKuyruk başlat.Kod:/parties/v1/parties/{partyId}/matchmaking/join
POSTKuyruktan çık.Kod:/parties/v1/parties/{partyId}/matchmaking/leave
POSTKod:/parties/v1/parties/{partyId}/queueKuyruk tipleri: competitive, unrated, spikerush, deathmatch, escalation, replication, swiftplay, premier.Kod:{"queueID": "competitive"}
Pre-Game (Ajan Seçimi)
GETAktif pregame maç ID.Kod:/pregame/v1/players/{puuid}
GETAjan seçim ekranı: takımlar, seçilen ajanlar, harita.Kod:/pregame/v1/matches/{matchId}
POSTAjan seç (henüz kilitlenmemiş).Kod:/pregame/v1/matches/{matchId}/select/{agentId}
POSTAjanı kilitle (geri alınamaz).Kod:/pregame/v1/matches/{matchId}/lock/{agentId}
Core-Game (Aktif Maç)
GETAktif maç ID.Kod:/core-game/v1/players/{puuid}
GETMaç durumu: oyuncular, skor, harita, mod.Kod:/core-game/v1/matches/{matchId}
GETOyuncuların skin/loadout bilgisi.Kod:/core-game/v1/matches/{matchId}/loadouts
POSTMaçtan ayrıl (custom game).Kod:/core-game/v1/players/{puuid}/disassociate/{matchId}
5. Store / Ekonomi
Base:Kod:https://pd.{shard}.a.pvp.net
GETVP bakiyesi, Radianite bakiyesi, Kingdom Credits.Kod:/store/v1/wallet/{puuid}
Örnek:
Kod:GET https://pd.eu.a.pvp.net/store/v1/wallet/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token>
GETGünlük mağaza: 4 skin teklifi, gece pazarı, featured bundle, bonus mağaza. Sıfırlanma zamanını içerir.Kod:/store/v2/storefront/{puuid}
GETTüm satılık item'lar ve fiyatları.Kod:/store/v1/offers/
GETSahip olunan item'lar. itemTypeId için Referans Tabloları'na bak.Kod:/store/v1/entitlements/{puuid}/{itemTypeId}
GETSipariş durumu.Kod:/store/v1/order/{orderId}
6. Shared Endpoints
Base:Kod:https://shared.{shard}.a.pvp.net
GETAktif sezon, haritalar, modlar, olaylar. Token gerekli.Kod:/content-service/v3/content
GETBölge yapılandırması.Kod:/v1/config/{region}
ClientConfig (Token'sız):
GETHerkese açık. rso_client_id, platform bilgileri, CDN URL'leri döndürür. TOKEN GEREKMİYOR.Kod:https://clientconfig.rpg.riotgames.com/api/v1/config/public?namespace=keystone.products.valorant.patchlines.live
7. Yerel İstemci API (127.0.0.1)
Riot Client açıkken erişilebilir. Port: lockfile'dan okunur.
Yol:Format:Kod:%LocalAppData%\Riot Games\Riot Client\Config\lockfileAuth: BasicKod:RiotClient:pid:port:password:httpsKod:riot:<lockfile_password>
GETTüm mevcut endpoint'lerin listesi.Kod:https://127.0.0.1:{port}/help
GETOpenAPI spec (otomatik oluşturulmuş).Kod:https://127.0.0.1:{port}/swagger/v3/openapi.json
GETMevcut access_token'ı al. Captchasız — yerel API'den.Kod:/rso-auth/v1/authorization/access-token
GETLCU v2 — belirli client_id için authorization. Not: v1→v2 geçişi aktif.Kod:/rso-auth/v2/authorizations/{clientId}
GETArkadaş listesi çevrimiçi durumu.Kod:/chat/v4/presences
GETSohbet geçmişi.Kod:/chat/v5/conversations
GETBölge ve dil ayarı.Kod:/riotclient/region-locale
GETÇalışan oyun oturumları.Kod:/product-session/v1/external-sessions
8. Statik Veri Kaynakları
Token gerektirmez. Herkese açık. (valorant-api.com — topluluk tarafından sürdürülür)
— Güncel oyun sürümü, build tarihiKod:valorant-api.com/v1/version — Tüm silahlar, istatistikleri, skin'leriKod:valorant-api.com/v1/weapons — Tüm ajanlar, yetenekleri, görselleriKod:valorant-api.com/v1/agents — Silah aksesuarlarıKod:valorant-api.com/v1/buddies — Spray'lerKod:valorant-api.com/v1/sprays — Oyuncu kartlarıKod:valorant-api.com/v1/playercards — Oyuncu başlıklarıKod:valorant-api.com/v1/playertitles — Sezonlar ve Act'lerKod:valorant-api.com/v1/seasons — Rank ikonları ve isimleriKod:valorant-api.com/v1/competitivetiers — Haritalar ve minimap'lerKod:valorant-api.com/v1/maps
9. Referans Tabloları
Item Type ID'leri
Kod:Agent → 01bb38e1-731c-4f44-9e76-1f2f20c9bae4 Contract → f85cb6f7-33e5-4dc8-b609-ec7212301948 Spray → d5f120f8-ff8c-4571-a618-c3a7a9e9a58c Gun Buddy → dd3bf334-87f3-40bd-b043-682a57a8dc3a Player Card → 3f296c07-64c3-494c-923b-fe692a4fa1bd Skin Level → e7c63390-eda7-46e0-bb7a-a6abdacd2433 Skin Chroma → 3ad1b2b2-acdb-4524-852f-954a76ddae0a Player Title → de7caa6b-adf7-4588-bbd1-143831e786c6
RSO Client ID'leri
Kod:riot-client → Genel (Riot Client) → AKTİF valorant-client → Valorant oyun istemcisi → AKTİF play-valorant-web-prod → Valorant web → AKTİF lol → League of Legends → AKTİF bacon → TFT (eski) → invalid_client
Erişilebilirlik Durumu
Kod:authenticate.riotgames.com → ERİŞİLEBİLİR (Login + sitekey) auth.riotgames.com → ERİŞİLEBİLİR (OAuth2 authorize + userinfo) entitlements.auth.riotgames.com → ERİŞİLEBİLİR (Entitlements token) riot-geo.pas.si.riotgames.com → ERİŞİLEBİLİR (PAS + cached-affinity) pd.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) glz-{region}.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) clientconfig.rpg.riotgames.com → ERİŞİLEBİLİR (/config/public token'sız) player-account.riotgames.com → ERİŞİLEMİYOR (İç ağ) skye-production.sgp.riotgames.com → ERİŞİLEMİYOR (İç ağ) xsso.riotgames.com → ERİŞİLEMİYOR (Riot Client iç ağı)
Bilinen 2026 Değişiklikleri
- MFA zorunlu: Yeni hesaplarda MFA aktifleştirme zorunda
- LCU v1→v2 geçişi: /rso-auth/v1/authorization → /rso-auth/v2/authorizations/{clientId}
- cached-affinity: Yeni PAS endpoint — /pas/v1/service/valorant/cached-affinity
vape v4 alzımValorant API Referansı
İÇİNDEKİLER
- RSO OAuth2 Login Akışı
- Ortak Header'lar
- PD API (Player Data)
- GLZ API (Game Logic)
- Store / Ekonomi
- Shared Endpoints
- Yerel İstemci API (127.0.0.1)
- Statik Veri Kaynakları
- Referans Tabloları
1. RSO OAuth2 Login Akışı
Valorant'ın kimlik doğrulaması Riot Sign-On (RSO) OAuth2 sistemi üzerine kuruludur. Tüm token'lar bu zincirden geçer.
Adım 1 — Oturum Başlat
POSTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:POST https://authenticate.riotgames.com/api/v1/login Content-Type: application/json { "clientId": "riot-client", "type": "auth", "language": "en_US", "platform": "windows", "remember": true, "riot_identity": { "language": "en_US", "state": "auth" } }
Yanıt (Captcha gerekli):
Kod:{ "type": "auth", "country": "tur", "captcha": { "type": "hcaptcha", "hcaptcha": { "key": "<sitekey>", "data": "<rqdata_string>" } } }
Not: key = sitekey, data = rqdata (Enterprise). Bu adımda ssid set-cookie döner.
Adım 2 — Credentials + Captcha Token Gönder
PUTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:PUT https://authenticate.riotgames.com/api/v1/login Content-Type: application/json Cookie: ssid=<adım1_ssid> { "type": "auth", "username": "kullanici_adi", "password": "sifre", "captcha": "P1_eyJ...", "remember": true }
Başarılı Yanıt:
Kod:{ "type": "success", "success": { "login_token": "<login_token>" } }
MFA Gerekli Yanıt:
Kod:{ "type": "multifactor", "multifactor": { "email": "u***@***.com", "method": "email", "methods": ["email"], "multiFactorCodeLength": 6 } }
Hata Kodları:
- auth_failure — Yanlış kullanıcı/şifre
- rate_limited — Çok fazla deneme
- captcha_not_allowed — Captcha token reddedildi (low score)
Adım 3 — Login Token → Access Token
POSTKod:https://auth.riotgames.com/api/v1/login-token
İstek:
Kod:POST https://auth.riotgames.com/api/v1/login-token Content-Type: application/json { "login_token": "<adım2_login_token>", "redirect_uri": "https://playvalorant.com/opt_in" }
Yanıt:
Kod:{ "type": "response", "response": { "parameters": { "uri": "https://playvalorant.com/opt_in#access_token=eyJ...&id_token=eyJ...&token_type=Bearer&expires_in=3600" } } }
URI'deki fragment'ten access_token ve id_token parse edilir.
Adım 4 — Entitlements Token
POSTKod:https://entitlements.auth.riotgames.com/api/token/v1
İstek:
Kod:POST https://entitlements.auth.riotgames.com/api/token/v1 Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "entitlements_token": "eyJ..." }
Adım 5 — Kullanıcı Bilgisi
GETKod:https://auth.riotgames.com/userinfo
İstek:
Kod:GET https://auth.riotgames.com/userinfo Authorization: Bearer <access_token>
Yanıt:
Kod:{ "sub": "<puuid>", "jti": "...", "acct": { "game_name": "PlayerName", "tag_line": "TR1" }, "dat": { "r": "TR", "c": "tur" }, "email_verified": true, "country": "tur", "player_locale": "tr" }
sub = PUUID. Tüm PD/GLZ isteklerinde kullanılır.
Adım 6 — PAS Token (Bölge Affinite)
PUTKod:https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant
İstek:
Kod:PUT https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "token": "eyJ...", "affinities": { "pbe": "na", "live": "eu" } }
affinities.live = oyuncunun shard'ı (na/eu/ap/kr). PD/GLZ URL'lerinde kullanılır.
2. Ortak Header'lar
PD ve GLZ API'lerine yapılan tüm istekler şu header'ları gerektirir:
Kod:Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: eyJwbGF0Zm9ybVR5cGUiOiJQQyIsInBsYXRmb3JtT1MiOiJXaW5kb3dzIiwicGxhdGZvcm1PU1ZlcnNpb24iOiIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwicGxhdGZvcm1DaGlwc2V0IjoiVW5rbm93biJ9 X-Riot-ClientVersion: release-XX.XX-shipping-XX-XXXXXX
X-Riot-ClientPlatform (Base64 Decoded):
Kod:{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
Shard → Host Eşleme:
Kod:TR / EU / RU → shard: eu → pd.eu.a.pvp.net / glz-eu-1.eu.a.pvp.net NA / BR / LATAM → shard: na → pd.na.a.pvp.net / glz-na-1.na.a.pvp.net KR → shard: kr → pd.kr.a.pvp.net / glz-kr-1.kr.a.pvp.net AP / JP → shard: ap → pd.ap.a.pvp.net / glz-ap-1.ap.a.pvp.net
3. PD API (Player Data)
Base:Tüm istekler ortak header'ları gerektirir.Kod:https://pd.{shard}.a.pvp.net
GETHesap XP bilgisi, seviye, ilerleme.Kod:/account-xp/v1/players/{puuid}
GETMMR, rank, competitive tier, rank rating (RR), leaderboard pozisyonu.Kod:/mmr/v1/players/{puuid}
Örnek istek:
Kod:GET https://pd.eu.a.pvp.net/mmr/v1/players/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: <base64> X-Riot-ClientVersion: <version>
GETSon 20 competitive maç sonucu, RR değişimleri.Kod:/mmr/v1/players/{puuid}/competitiveupdates?startIndex=0&endIndex=20
GETLeaderboard. Bölge: eu, na, ap, kr.Kod:/mmr/v1/leaderboards/affinity/{region}/queue/competitive/season/{seasonId}
GETMaç geçmişi. queue parametresi ile filtreleme (competitive, unrated, spikerush vs.).Kod:/match-history/v1/history/{puuid}?startIndex=0&endIndex=20
GETTekil maç detayı: oyuncular, skorlar, roundlar, silah istatistikleri.Kod:/match-details/v1/matches/{matchId}
GETPUUID listesinden oyuncu isimlerini çözer.Kod:/name-service/v2/players
Not: Metod PUT olarak da çalışıyor (body ile):
Kod:PUT https://pd.{shard}.a.pvp.net/name-service/v2/players Content-Type: application/json ["puuid-1", "puuid-2", ...]
GETOyuncunun aktif spray, kart, başlık, silah skin seçimleri.Kod:/personalization/v2/players/{puuid}/playerloadout
GETBattle pass, ajan kontratları, ilerleme durumu.Kod:/contracts/v1/contracts/{puuid}
POSTKontrat aktif et.Kod:/contracts/v1/contracts/{puuid}/special/{contractId}
GETAktif cezalar (ban, chat ban, ranked ban).Kod:/restrictions/v3/penalties
GETFavori skin'ler / koleksiyon.Kod:/favorites/v1/players/{puuid}/favorites
Premier (Takım):
GETPremier takım bilgisi.Kod:/premier/v1/players/{puuid}
GETTakım detayları.Kod:/premier/v1/teams/{teamId}
4. GLZ API (Game Logic)
Base:Aktif oyun durumu, parti, matchmaking.Kod:https://glz-{region}-1.{shard}.a.pvp.net
Party (Parti)
GETOyuncunun aktif parti bilgisi, parti ID'si.Kod:/parties/v1/players/{puuid}
GETParti detayları: üyeler, kuyruk seçimi, hazırlık durumu.Kod:/parties/v1/parties/{partyId}
POSTKuyruk başlat.Kod:/parties/v1/parties/{partyId}/matchmaking/join
POSTKuyruktan çık.Kod:/parties/v1/parties/{partyId}/matchmaking/leave
POSTKod:/parties/v1/parties/{partyId}/queueKuyruk tipleri: competitive, unrated, spikerush, deathmatch, escalation, replication, swiftplay, premier.Kod:{"queueID": "competitive"}
Pre-Game (Ajan Seçimi)
GETAktif pregame maç ID.Kod:/pregame/v1/players/{puuid}
GETAjan seçim ekranı: takımlar, seçilen ajanlar, harita.Kod:/pregame/v1/matches/{matchId}
POSTAjan seç (henüz kilitlenmemiş).Kod:/pregame/v1/matches/{matchId}/select/{agentId}
POSTAjanı kilitle (geri alınamaz).Kod:/pregame/v1/matches/{matchId}/lock/{agentId}
Core-Game (Aktif Maç)
GETAktif maç ID.Kod:/core-game/v1/players/{puuid}
GETMaç durumu: oyuncular, skor, harita, mod.Kod:/core-game/v1/matches/{matchId}
GETOyuncuların skin/loadout bilgisi.Kod:/core-game/v1/matches/{matchId}/loadouts
POSTMaçtan ayrıl (custom game).Kod:/core-game/v1/players/{puuid}/disassociate/{matchId}
5. Store / Ekonomi
Base:Kod:https://pd.{shard}.a.pvp.net
GETVP bakiyesi, Radianite bakiyesi, Kingdom Credits.Kod:/store/v1/wallet/{puuid}
Örnek:
Kod:GET https://pd.eu.a.pvp.net/store/v1/wallet/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token>
GETGünlük mağaza: 4 skin teklifi, gece pazarı, featured bundle, bonus mağaza. Sıfırlanma zamanını içerir.Kod:/store/v2/storefront/{puuid}
GETTüm satılık item'lar ve fiyatları.Kod:/store/v1/offers/
GETSahip olunan item'lar. itemTypeId için Referans Tabloları'na bak.Kod:/store/v1/entitlements/{puuid}/{itemTypeId}
GETSipariş durumu.Kod:/store/v1/order/{orderId}
6. Shared Endpoints
Base:Kod:https://shared.{shard}.a.pvp.net
GETAktif sezon, haritalar, modlar, olaylar. Token gerekli.Kod:/content-service/v3/content
GETBölge yapılandırması.Kod:/v1/config/{region}
ClientConfig (Token'sız):
GETHerkese açık. rso_client_id, platform bilgileri, CDN URL'leri döndürür. TOKEN GEREKMİYOR.Kod:https://clientconfig.rpg.riotgames.com/api/v1/config/public?namespace=keystone.products.valorant.patchlines.live
7. Yerel İstemci API (127.0.0.1)
Riot Client açıkken erişilebilir. Port: lockfile'dan okunur.
Yol:Format:Kod:%LocalAppData%\Riot Games\Riot Client\Config\lockfileAuth: BasicKod:RiotClient:pid:port:password:httpsKod:riot:<lockfile_password>
GETTüm mevcut endpoint'lerin listesi.Kod:https://127.0.0.1:{port}/help
GETOpenAPI spec (otomatik oluşturulmuş).Kod:https://127.0.0.1:{port}/swagger/v3/openapi.json
GETMevcut access_token'ı al. Captchasız — yerel API'den.Kod:/rso-auth/v1/authorization/access-token
GETLCU v2 — belirli client_id için authorization. Not: v1→v2 geçişi aktif.Kod:/rso-auth/v2/authorizations/{clientId}
GETArkadaş listesi çevrimiçi durumu.Kod:/chat/v4/presences
GETSohbet geçmişi.Kod:/chat/v5/conversations
GETBölge ve dil ayarı.Kod:/riotclient/region-locale
GETÇalışan oyun oturumları.Kod:/product-session/v1/external-sessions
8. Statik Veri Kaynakları
Token gerektirmez. Herkese açık. (valorant-api.com — topluluk tarafından sürdürülür)
— Güncel oyun sürümü, build tarihiKod:valorant-api.com/v1/version — Tüm silahlar, istatistikleri, skin'leriKod:valorant-api.com/v1/weapons — Tüm ajanlar, yetenekleri, görselleriKod:valorant-api.com/v1/agents — Silah aksesuarlarıKod:valorant-api.com/v1/buddies — Spray'lerKod:valorant-api.com/v1/sprays — Oyuncu kartlarıKod:valorant-api.com/v1/playercards — Oyuncu başlıklarıKod:valorant-api.com/v1/playertitles — Sezonlar ve Act'lerKod:valorant-api.com/v1/seasons — Rank ikonları ve isimleriKod:valorant-api.com/v1/competitivetiers — Haritalar ve minimap'lerKod:valorant-api.com/v1/maps
9. Referans Tabloları
Item Type ID'leri
Kod:Agent → 01bb38e1-731c-4f44-9e76-1f2f20c9bae4 Contract → f85cb6f7-33e5-4dc8-b609-ec7212301948 Spray → d5f120f8-ff8c-4571-a618-c3a7a9e9a58c Gun Buddy → dd3bf334-87f3-40bd-b043-682a57a8dc3a Player Card → 3f296c07-64c3-494c-923b-fe692a4fa1bd Skin Level → e7c63390-eda7-46e0-bb7a-a6abdacd2433 Skin Chroma → 3ad1b2b2-acdb-4524-852f-954a76ddae0a Player Title → de7caa6b-adf7-4588-bbd1-143831e786c6
RSO Client ID'leri
Kod:riot-client → Genel (Riot Client) → AKTİF valorant-client → Valorant oyun istemcisi → AKTİF play-valorant-web-prod → Valorant web → AKTİF lol → League of Legends → AKTİF bacon → TFT (eski) → invalid_client
Erişilebilirlik Durumu
Kod:authenticate.riotgames.com → ERİŞİLEBİLİR (Login + sitekey) auth.riotgames.com → ERİŞİLEBİLİR (OAuth2 authorize + userinfo) entitlements.auth.riotgames.com → ERİŞİLEBİLİR (Entitlements token) riot-geo.pas.si.riotgames.com → ERİŞİLEBİLİR (PAS + cached-affinity) pd.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) glz-{region}.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) clientconfig.rpg.riotgames.com → ERİŞİLEBİLİR (/config/public token'sız) player-account.riotgames.com → ERİŞİLEMİYOR (İç ağ) skye-production.sgp.riotgames.com → ERİŞİLEMİYOR (İç ağ) xsso.riotgames.com → ERİŞİLEMİYOR (Riot Client iç ağı)
Bilinen 2026 Değişiklikleri
- MFA zorunlu: Yeni hesaplarda MFA aktifleştirme zorunda
- LCU v1→v2 geçişi: /rso-auth/v1/authorization → /rso-auth/v2/authorizations/{clientId}
- cached-affinity: Yeni PAS endpoint — /pas/v1/service/valorant/cached-affinity
Eline sağlık yararlı konu.Valorant API Referansı
İÇİNDEKİLER
- RSO OAuth2 Login Akışı
- Ortak Header'lar
- PD API (Player Data)
- GLZ API (Game Logic)
- Store / Ekonomi
- Shared Endpoints
- Yerel İstemci API (127.0.0.1)
- Statik Veri Kaynakları
- Referans Tabloları
1. RSO OAuth2 Login Akışı
Valorant'ın kimlik doğrulaması Riot Sign-On (RSO) OAuth2 sistemi üzerine kuruludur. Tüm token'lar bu zincirden geçer.
Adım 1 — Oturum Başlat
POSTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:POST https://authenticate.riotgames.com/api/v1/login Content-Type: application/json { "clientId": "riot-client", "type": "auth", "language": "en_US", "platform": "windows", "remember": true, "riot_identity": { "language": "en_US", "state": "auth" } }
Yanıt (Captcha gerekli):
Kod:{ "type": "auth", "country": "tur", "captcha": { "type": "hcaptcha", "hcaptcha": { "key": "<sitekey>", "data": "<rqdata_string>" } } }
Not: key = sitekey, data = rqdata (Enterprise). Bu adımda ssid set-cookie döner.
Adım 2 — Credentials + Captcha Token Gönder
PUTKod:https://authenticate.riotgames.com/api/v1/login
İstek:
Kod:PUT https://authenticate.riotgames.com/api/v1/login Content-Type: application/json Cookie: ssid=<adım1_ssid> { "type": "auth", "username": "kullanici_adi", "password": "sifre", "captcha": "P1_eyJ...", "remember": true }
Başarılı Yanıt:
Kod:{ "type": "success", "success": { "login_token": "<login_token>" } }
MFA Gerekli Yanıt:
Kod:{ "type": "multifactor", "multifactor": { "email": "u***@***.com", "method": "email", "methods": ["email"], "multiFactorCodeLength": 6 } }
Hata Kodları:
- auth_failure — Yanlış kullanıcı/şifre
- rate_limited — Çok fazla deneme
- captcha_not_allowed — Captcha token reddedildi (low score)
Adım 3 — Login Token → Access Token
POSTKod:https://auth.riotgames.com/api/v1/login-token
İstek:
Kod:POST https://auth.riotgames.com/api/v1/login-token Content-Type: application/json { "login_token": "<adım2_login_token>", "redirect_uri": "https://playvalorant.com/opt_in" }
Yanıt:
Kod:{ "type": "response", "response": { "parameters": { "uri": "https://playvalorant.com/opt_in#access_token=eyJ...&id_token=eyJ...&token_type=Bearer&expires_in=3600" } } }
URI'deki fragment'ten access_token ve id_token parse edilir.
Adım 4 — Entitlements Token
POSTKod:https://entitlements.auth.riotgames.com/api/token/v1
İstek:
Kod:POST https://entitlements.auth.riotgames.com/api/token/v1 Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "entitlements_token": "eyJ..." }
Adım 5 — Kullanıcı Bilgisi
GETKod:https://auth.riotgames.com/userinfo
İstek:
Kod:GET https://auth.riotgames.com/userinfo Authorization: Bearer <access_token>
Yanıt:
Kod:{ "sub": "<puuid>", "jti": "...", "acct": { "game_name": "PlayerName", "tag_line": "TR1" }, "dat": { "r": "TR", "c": "tur" }, "email_verified": true, "country": "tur", "player_locale": "tr" }
sub = PUUID. Tüm PD/GLZ isteklerinde kullanılır.
Adım 6 — PAS Token (Bölge Affinite)
PUTKod:https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant
İstek:
Kod:PUT https://riot-geo.pas.si.riotgames.com/pas/v1/product/valorant Authorization: Bearer <access_token> Content-Type: application/json {}
Yanıt:
Kod:{ "token": "eyJ...", "affinities": { "pbe": "na", "live": "eu" } }
affinities.live = oyuncunun shard'ı (na/eu/ap/kr). PD/GLZ URL'lerinde kullanılır.
2. Ortak Header'lar
PD ve GLZ API'lerine yapılan tüm istekler şu header'ları gerektirir:
Kod:Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: eyJwbGF0Zm9ybVR5cGUiOiJQQyIsInBsYXRmb3JtT1MiOiJXaW5kb3dzIiwicGxhdGZvcm1PU1ZlcnNpb24iOiIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwicGxhdGZvcm1DaGlwc2V0IjoiVW5rbm93biJ9 X-Riot-ClientVersion: release-XX.XX-shipping-XX-XXXXXX
X-Riot-ClientPlatform (Base64 Decoded):
Kod:{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
Shard → Host Eşleme:
Kod:TR / EU / RU → shard: eu → pd.eu.a.pvp.net / glz-eu-1.eu.a.pvp.net NA / BR / LATAM → shard: na → pd.na.a.pvp.net / glz-na-1.na.a.pvp.net KR → shard: kr → pd.kr.a.pvp.net / glz-kr-1.kr.a.pvp.net AP / JP → shard: ap → pd.ap.a.pvp.net / glz-ap-1.ap.a.pvp.net
3. PD API (Player Data)
Base:Tüm istekler ortak header'ları gerektirir.Kod:https://pd.{shard}.a.pvp.net
GETHesap XP bilgisi, seviye, ilerleme.Kod:/account-xp/v1/players/{puuid}
GETMMR, rank, competitive tier, rank rating (RR), leaderboard pozisyonu.Kod:/mmr/v1/players/{puuid}
Örnek istek:
Kod:GET https://pd.eu.a.pvp.net/mmr/v1/players/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token> X-Riot-ClientPlatform: <base64> X-Riot-ClientVersion: <version>
GETSon 20 competitive maç sonucu, RR değişimleri.Kod:/mmr/v1/players/{puuid}/competitiveupdates?startIndex=0&endIndex=20
GETLeaderboard. Bölge: eu, na, ap, kr.Kod:/mmr/v1/leaderboards/affinity/{region}/queue/competitive/season/{seasonId}
GETMaç geçmişi. queue parametresi ile filtreleme (competitive, unrated, spikerush vs.).Kod:/match-history/v1/history/{puuid}?startIndex=0&endIndex=20
GETTekil maç detayı: oyuncular, skorlar, roundlar, silah istatistikleri.Kod:/match-details/v1/matches/{matchId}
GETPUUID listesinden oyuncu isimlerini çözer.Kod:/name-service/v2/players
Not: Metod PUT olarak da çalışıyor (body ile):
Kod:PUT https://pd.{shard}.a.pvp.net/name-service/v2/players Content-Type: application/json ["puuid-1", "puuid-2", ...]
GETOyuncunun aktif spray, kart, başlık, silah skin seçimleri.Kod:/personalization/v2/players/{puuid}/playerloadout
GETBattle pass, ajan kontratları, ilerleme durumu.Kod:/contracts/v1/contracts/{puuid}
POSTKontrat aktif et.Kod:/contracts/v1/contracts/{puuid}/special/{contractId}
GETAktif cezalar (ban, chat ban, ranked ban).Kod:/restrictions/v3/penalties
GETFavori skin'ler / koleksiyon.Kod:/favorites/v1/players/{puuid}/favorites
Premier (Takım):
GETPremier takım bilgisi.Kod:/premier/v1/players/{puuid}
GETTakım detayları.Kod:/premier/v1/teams/{teamId}
4. GLZ API (Game Logic)
Base:Aktif oyun durumu, parti, matchmaking.Kod:https://glz-{region}-1.{shard}.a.pvp.net
Party (Parti)
GETOyuncunun aktif parti bilgisi, parti ID'si.Kod:/parties/v1/players/{puuid}
GETParti detayları: üyeler, kuyruk seçimi, hazırlık durumu.Kod:/parties/v1/parties/{partyId}
POSTKuyruk başlat.Kod:/parties/v1/parties/{partyId}/matchmaking/join
POSTKuyruktan çık.Kod:/parties/v1/parties/{partyId}/matchmaking/leave
POSTKod:/parties/v1/parties/{partyId}/queueKuyruk tipleri: competitive, unrated, spikerush, deathmatch, escalation, replication, swiftplay, premier.Kod:{"queueID": "competitive"}
Pre-Game (Ajan Seçimi)
GETAktif pregame maç ID.Kod:/pregame/v1/players/{puuid}
GETAjan seçim ekranı: takımlar, seçilen ajanlar, harita.Kod:/pregame/v1/matches/{matchId}
POSTAjan seç (henüz kilitlenmemiş).Kod:/pregame/v1/matches/{matchId}/select/{agentId}
POSTAjanı kilitle (geri alınamaz).Kod:/pregame/v1/matches/{matchId}/lock/{agentId}
Core-Game (Aktif Maç)
GETAktif maç ID.Kod:/core-game/v1/players/{puuid}
GETMaç durumu: oyuncular, skor, harita, mod.Kod:/core-game/v1/matches/{matchId}
GETOyuncuların skin/loadout bilgisi.Kod:/core-game/v1/matches/{matchId}/loadouts
POSTMaçtan ayrıl (custom game).Kod:/core-game/v1/players/{puuid}/disassociate/{matchId}
5. Store / Ekonomi
Base:Kod:https://pd.{shard}.a.pvp.net
GETVP bakiyesi, Radianite bakiyesi, Kingdom Credits.Kod:/store/v1/wallet/{puuid}
Örnek:
Kod:GET https://pd.eu.a.pvp.net/store/v1/wallet/{puuid} Authorization: Bearer <access_token> X-Riot-Entitlements-JWT: <entitlements_token>
GETGünlük mağaza: 4 skin teklifi, gece pazarı, featured bundle, bonus mağaza. Sıfırlanma zamanını içerir.Kod:/store/v2/storefront/{puuid}
GETTüm satılık item'lar ve fiyatları.Kod:/store/v1/offers/
GETSahip olunan item'lar. itemTypeId için Referans Tabloları'na bak.Kod:/store/v1/entitlements/{puuid}/{itemTypeId}
GETSipariş durumu.Kod:/store/v1/order/{orderId}
6. Shared Endpoints
Base:Kod:https://shared.{shard}.a.pvp.net
GETAktif sezon, haritalar, modlar, olaylar. Token gerekli.Kod:/content-service/v3/content
GETBölge yapılandırması.Kod:/v1/config/{region}
ClientConfig (Token'sız):
GETHerkese açık. rso_client_id, platform bilgileri, CDN URL'leri döndürür. TOKEN GEREKMİYOR.Kod:https://clientconfig.rpg.riotgames.com/api/v1/config/public?namespace=keystone.products.valorant.patchlines.live
7. Yerel İstemci API (127.0.0.1)
Riot Client açıkken erişilebilir. Port: lockfile'dan okunur.
Yol:Format:Kod:%LocalAppData%\Riot Games\Riot Client\Config\lockfileAuth: BasicKod:RiotClient:pid:port:password:httpsKod:riot:<lockfile_password>
GETTüm mevcut endpoint'lerin listesi.Kod:https://127.0.0.1:{port}/help
GETOpenAPI spec (otomatik oluşturulmuş).Kod:https://127.0.0.1:{port}/swagger/v3/openapi.json
GETMevcut access_token'ı al. Captchasız — yerel API'den.Kod:/rso-auth/v1/authorization/access-token
GETLCU v2 — belirli client_id için authorization. Not: v1→v2 geçişi aktif.Kod:/rso-auth/v2/authorizations/{clientId}
GETArkadaş listesi çevrimiçi durumu.Kod:/chat/v4/presences
GETSohbet geçmişi.Kod:/chat/v5/conversations
GETBölge ve dil ayarı.Kod:/riotclient/region-locale
GETÇalışan oyun oturumları.Kod:/product-session/v1/external-sessions
8. Statik Veri Kaynakları
Token gerektirmez. Herkese açık. (valorant-api.com — topluluk tarafından sürdürülür)
— Güncel oyun sürümü, build tarihiKod:valorant-api.com/v1/version — Tüm silahlar, istatistikleri, skin'leriKod:valorant-api.com/v1/weapons — Tüm ajanlar, yetenekleri, görselleriKod:valorant-api.com/v1/agents — Silah aksesuarlarıKod:valorant-api.com/v1/buddies — Spray'lerKod:valorant-api.com/v1/sprays — Oyuncu kartlarıKod:valorant-api.com/v1/playercards — Oyuncu başlıklarıKod:valorant-api.com/v1/playertitles — Sezonlar ve Act'lerKod:valorant-api.com/v1/seasons — Rank ikonları ve isimleriKod:valorant-api.com/v1/competitivetiers — Haritalar ve minimap'lerKod:valorant-api.com/v1/maps
9. Referans Tabloları
Item Type ID'leri
Kod:Agent → 01bb38e1-731c-4f44-9e76-1f2f20c9bae4 Contract → f85cb6f7-33e5-4dc8-b609-ec7212301948 Spray → d5f120f8-ff8c-4571-a618-c3a7a9e9a58c Gun Buddy → dd3bf334-87f3-40bd-b043-682a57a8dc3a Player Card → 3f296c07-64c3-494c-923b-fe692a4fa1bd Skin Level → e7c63390-eda7-46e0-bb7a-a6abdacd2433 Skin Chroma → 3ad1b2b2-acdb-4524-852f-954a76ddae0a Player Title → de7caa6b-adf7-4588-bbd1-143831e786c6
RSO Client ID'leri
Kod:riot-client → Genel (Riot Client) → AKTİF valorant-client → Valorant oyun istemcisi → AKTİF play-valorant-web-prod → Valorant web → AKTİF lol → League of Legends → AKTİF bacon → TFT (eski) → invalid_client
Erişilebilirlik Durumu
Kod:authenticate.riotgames.com → ERİŞİLEBİLİR (Login + sitekey) auth.riotgames.com → ERİŞİLEBİLİR (OAuth2 authorize + userinfo) entitlements.auth.riotgames.com → ERİŞİLEBİLİR (Entitlements token) riot-geo.pas.si.riotgames.com → ERİŞİLEBİLİR (PAS + cached-affinity) pd.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) glz-{region}.{shard}.a.pvp.net → ERİŞİLEBİLİR (Token gerekli) clientconfig.rpg.riotgames.com → ERİŞİLEBİLİR (/config/public token'sız) player-account.riotgames.com → ERİŞİLEMİYOR (İç ağ) skye-production.sgp.riotgames.com → ERİŞİLEMİYOR (İç ağ) xsso.riotgames.com → ERİŞİLEMİYOR (Riot Client iç ağı)
Bilinen 2026 Değişiklikleri
- MFA zorunlu: Yeni hesaplarda MFA aktifleştirme zorunda
- LCU v1→v2 geçişi: /rso-auth/v1/authorization → /rso-auth/v2/authorizations/{clientId}
- cached-affinity: Yeni PAS endpoint — /pas/v1/service/valorant/cached-affinity

Eline sağlık yararlı konu.![]()
eline sağlık reisim
e.s dc bakarsın![]()