Username API
Game Username Lookup API for reseller platforms
Validate supported player IDs from your server before order creation using the same LioGames partner authentication model.
Username lookup API
Use this endpoint to validate a supported player/user ID and return the game username before creating an order.
POST
https://distribution.liogames.com/api/v1/username-checkSupported games
Mobile Legends: Bang Bang
mobile-legendsUser ID + Server IDFree Fire Global
free-fire-globalUser / Player IDHonkai: Star Rail
honkai-star-railUser ID + Server IDHonor of Kings
honor-of-kingsUser / Player IDMagic Chess: Go Go
magic-chess-go-goUser ID + Server IDPUBG Mobile Global
pubg-mobile-globalUser / Player IDPUBG Mobile Lite
pubg-mobile-liteUser / Player IDStumble Guys
stumble-guysUser / Player IDSuper Sus
super-susUser / Player IDYalla Ludo
yalla-ludoUser / Player IDZenless Zone Zero
zenless-zone-zeroUser ID + Server IDJawaker
jawakerUser / Player IDBlood Strike
blood-strikeUser ID + Server IDGenshin Impact
genshin-impactUser ID + Server IDAuthentication
Partner API calls require member_code plus x-liog-sign, generated from the exact raw JSON body with your private Secret.
$signature = hash_hmac('sha256', $rawJson, $secret);Request body
{
"member_code": "YOUR_MEMBER_CODE",
"game": "mobile-legends",
"user_id": "1393323764",
"server_id": "15748"
}server_id is required only for games configured with a server/zone field.
Response
{
"ok": true,
"found": true,
"game": "MLBB",
"username": "PLAYER_NAME",
"server_id": "15748"
}Region or account-status fields are returned when available for the selected game.
cURL example
BODY='{"member_code":"YOUR_MEMBER_CODE","game":"mobile-legends","user_id":"1393323764","server_id":"15748"}'
SIGNATURE=$(php -r 'echo hash_hmac("sha256", $argv[1], "YOUR_SECRET");' "$BODY")
curl -X POST 'https://distribution.liogames.com/api/v1/username-check' \
-H 'Content-Type: application/json' \
-H "x-liog-sign: $SIGNATURE" \
--data "$BODY"Usage & caching
Successful lookups are cached server-side for a short period to improve speed and reduce repeated upstream checks. Integrations should validate input before sending requests and avoid rapid repeated checks for the same player ID.