Instantly dispatch likes to target player accounts by simply sending an HTTP GET request with your valid uid and API key parameters.
This Sub API functions as a high-performance proxy gateway for the Main Like API. It securely routes your requests, credits likes to the specified player UID, and instantly returns comprehensive telemetry regarding before and after counts.
If the designated player account has already exhausted its maximum daily limit, the response will automatically return the max likes today status message.
The base URL points directly to the directory containing like.php. Your active domain has been auto-detected securely.
| Parameter | Type | Status | Description |
|---|---|---|---|
uid | number | Required | Free Fire player numeric identification UID. |
key | string | Required | Your unique API authorization key (obtained from admin). |
region | string | Optional | Server region. Defaults to bd. Supported regions: ind, br, us, sac, na, bd |
curl -X GET "https://www.api.zgsmmltd.cyou/like.php?uid=2266039951®ion=bd&key=YOUR_API_KEY"
fetch("https://www.api.zgsmmltd.cyou/like.php?uid=2266039951®ion=bd&key=YOUR_API_KEY") .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error("Error:", error));
import requests url = "https://www.api.zgsmmltd.cyou/like.php" params = {"uid": "2266039951", "region": "bd", "key": "YOUR_API_KEY"} response = requests.get(url, params=params, timeout=120) print(response.json())
<?php $url = "https://www.api.zgsmmltd.cyou/like.php?uid=2266039951®ion=bd&key=YOUR_API_KEY"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 120); $response = curl_exec($ch); curl_close($ch); echo $response;
// Node.js 18+ (built-in fetch) const url = new URL("https://www.api.zgsmmltd.cyou/like.php"); url.search = new URLSearchParams({ uid: "2266039951", region: "bd", key: "YOUR_API_KEY" }); (async () => { const res = await fetch(url); console.log(await res.json()); })();
When likes are successfully dispatched and credited to the target player, a JSON payload formatted like this will be returned:
{
"LikesGivenByAPI": 1,
"LikesafterCommand": 8630,
"LikesbeforeCommand": 8629,
"PlayerNickname": "ZGㅤSahedㅤ⸙",
"Level": 65,
"Region": "BD",
"UID": 2266039951,
"status": 1,
"Developer": "Shawon"
}| Field Name | Type | Description |
|---|---|---|
LikesGivenByAPI | int | Number of likes successfully added in this execution request. |
LikesafterCommand | int | Total player likes count after command execution. |
LikesbeforeCommand | int | Total player likes count prior to command execution. |
PlayerNickname | string | In-game player username. |
Level | int | Current account progression level. |
Region | string | Associated server territory region. |
UID | int | Target player identification UID. |
status | int | 1 = Successful, 2 = Likes could not be processed. |
Developer | string | API architecture developer identity. |
If LikesGivenByAPI = 0, it indicates that the account has already reached its daily maximum allocation limit:
{
"status": false,
"message": "Your ID already reached max likes today",
"LikesGivenByAPI": 0,
"LikesafterCommand": 8630,
"LikesbeforeCommand": 8630,
"PlayerNickname": "ZGㅤSahedㅤ⸙",
"Level": 65,
"Region": "BD",
"UID": 2266039951,
"Developer": "Shawon"
}401 Unauthorized{
"status": false,
"error": "API key is required",
"code": "MISSING_KEY"
}403 Forbidden{
"status": false,
"error": "Invalid API key",
"code": "INVALID_KEY"
}400 Bad Request{
"status": false,
"error": "UID is required",
"code": "MISSING_UID"
}400 Bad Request{
"status": false,
"error": "UID must be numeric only",
"code": "INVALID_UID"
}400 Bad Request{
"status": false,
"error": "Invalid region. Allowed: ind, br, us, sac, na, bd",
"code": "INVALID_REGION"
}502 Bad Gateway{
"status": false,
"error": "Failed to reach main API: ...",
"code": "MAIN_API_UNREACHABLE"
}| Code | Signification |
|---|---|
200 | Success (Likes delivered or max-limit threshold reached message). |
400 | Bad Request (Missing or malformed parameters like UID/Region). |
401 | Unauthorized (API key parameter is omitted). |
403 | Forbidden (Provided API key is invalid or disabled). |
502 | Bad Gateway (Main upstream API is unreachable or returned invalid formatting). |
The backend routine performs batch requests (e.g., up to 220 individual like transactions) to downstream game nodes, which may take extended execution time. A strict 120-second timeout window is pre-configured inside like.php.
Never expose your private production API keys in public repositories, client-side code bundles, or unverified frontend apps. Share keys exclusively with trusted clients.
If the region parameter is omitted from the request query string, the system will automatically default to bd. Ensure valid region codes are supplied to prevent routing failures.