Register Free 中文版
 Browse all 23 API docs & guides

Riot Login Guide

Riot Login rqdata acquisition and login submission workflow

Quick Start: Register free to get your User-Token →  |  Optional header: Developer-Id: hqLmMS

Last Updated at 2026-03-11

!!! How to get rqdata ?

Step 1. get region and useragent from preflight data

JSON
{
    "success": true,
    "data": {
        "preflight_uuid": "b5e404b6-55ca-4672-a83f-9a5f3e2e9882",
        "data": {
            "region": ...,
            "navigator": {
                "userAgent": ...
            },
            "sdkVersion": "25.11.1.0",
            ...
        }
    }
}

Step 2. Based on UA different methods are used to getting rqdata

A. Client UA

sample Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) riot-client-ux/120.0.0 Chrome/108.0.5359.215 Electron/22.3.27 Safari/537.36

TXT
POST https://authenticate.riotgames.com/api/v1/login

## replace {sdkVersion} to real sdkVersion

headers: 
Host: authenticate.riotgames.com
Accept-Encoding: deflate, gzip, zstd
user-agent: RiotGamesApi/{sdkVersion} (Windows;10;;Enterprise, x64) riot-client/0
Accept: application/json
Content-Type: application/json
baggage: sdksid=394cd6c3-88ff-ad4a-9b53-9d0cbdabbfaa
traceparent: 00-bb48251ac0381a46875ef973ce68bd5b-4d5e838356e20349-00

{
    "apple": null,
    "campaign": null,
    "clientId": "riot-client",
    "code": null,
    "facebook": null,
    "gamecenter": null,
    "google": null,
    "language": "en_GB",
    "mockDeviceId": null,
    "mockPlatform": null,
    "multifactor": null,
    "nintendo": null,
    "platform": "windows",
    "playstation": null,
    "qrcode": null,
    "remember": false,
    "riot_identity": {
        "captcha": null,
        "password": null,
        "state": "auth",
        "username": null
    },
    "riot_identity_signup": null,
    "rso": null,
    "sdkVersion": "25.11.1.0",// dynamic
    "type": "auth",
    "xbox": null
}

if got a token then

TXT
POST https://authenticate.riotgames.com/api/v1/login

## replace {sdkVersion} to real sdkVersion

headers: 
Host: authenticate.riotgames.com
Accept-Encoding: deflate, gzip, zstd
user-agent: RiotGamesApi/{sdkVersion} (Windows;10;;Enterprise, x64) riot-client/0
Accept: application/json
Content-Type: application/json
baggage: sdksid=394cd6c3-88ff-ad4a-9b53-9d0cbdabbfaa
traceparent: 00-bb48251ac0381a46875ef973ce68bd5b-4d5e838356e20349-00

{
    "campaign": null,
    "language": "en_GB",
    "remember": false,
    "riot_identity": {
        "captcha": "hcaptcha " + hcaptchaToken,// "hcaptcha P1_...."
        "password": pwd,
        "state": null,
        "username": usr
    },
    "type": "auth"
}

B. Web UA

sample Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

getting rqdata in the same way as with you use the broswer.

!!! pass [confirm] param

TXT
POST http://api.nocaptcha.io/api/wanda/hcaptcha/universal

{
    "sitekey": "019....",
    ...,
    "confirm": "v1.0.1"
}

pass right confirm param mean you know how to correct rqdata

Ready to integrate Riot Login Guide? Register Free & Get API Key →  |  View Service Directory →