Live · Hosted on Lovable

FF API Hub

Add friend · Remove friend · Friends list — one API, one UI.

GET/api/public/friend-add?

API Endpoints

All endpoints accept GET and return JSON. CORS is open (*).

GET/api/public/friend-add

Send a friend request to a target UID.

friend_uidTarget player UID (required)
token | jwtDirect JWT (skip JWT generation)
access_token | accessGarena access token (auto-converted to JWT)
uid + passwordGuest UID + password (auto-converted to JWT)
server_name | regionIND, ME, BR, US, EU, TH, ID, VN, TW, SG, RU, PK, BD, NA, SAC, or OTHER
base_url | custom_urlRequired when region = OTHER
/api/public/friend-add?uid=4561074788&password=IUU-AF-CORE&friend_uid=2169765432
GET/api/public/friend-remove

Remove a friend from your friends list.

friend_uidTarget friend UID to remove (required)
token | access_token | uid+passwordAuth (same as add)
server_nameRegion override (optional, auto-detected from JWT)
base_urlCustom upstream URL (region = OTHER)
/api/public/friend-remove?access_token=b8c1feb…&friend_uid=2169765432
GET/api/public/friend-list

Get all friends with their UID and nickname.

token | access_token | uid+passwordAuth (same as add)
server_nameRegion override (optional)
base_urlCustom upstream URL (region = OTHER)
/api/public/friend-list?uid=4561074788&password=IUU-AF-CORE&server_name=IND
GET/api/public/player_info

Get target player's public profile (raw protobuf hex).

friend_uidTarget UID
Auth params (same as add)
/api/public/player_info?uid=…&password=…&friend_uid=2169765432
GET/api/public/token

Upstream proxy to convert UID+password or access_token → JWT.

uid + passwordGuest credentials
access_tokenGarena OAuth token
/api/public/token?uid=4561074788&password=IUU-AF-CORE