Free Fire Like API
Secure JSON API for supported 100 and 200 profile-like requests. Use the exact .php endpoint below so LiteSpeed cannot redirect POST into GET.
Production endpoint
POST https://likeapi.upbot.top/api/v1/like.php
| Field | Example | Description |
|---|---|---|
| api_key | UPBOTLIKE-... | Your active private API token |
| uid | 9936903241 | 5–20 digit player UID |
| likes | 100 or 200 | Selected Like package |
| idempotency_key | SHOP-ORDER-1001 | A unique value for every order |
Authentication
Send the token inside JSON as api_key, or use Authorization: Bearer YOUR_TOKEN. Never expose the token in public browser code.
cURL example
curl -X POST "https://likeapi.upbot.top/api/v1/like.php" \
-H "Authorization: Bearer UPBOTLIKE-YOUR-API-KEY" \
-H "Content-Type: application/json" \
-d '{"uid":"9936903241","likes":100,"idempotency_key":"SHOP-ORDER-1001"}'
PHP example
<?php
$payload = ['uid' => '9936903241', 'likes' => 100, 'idempotency_key' => 'SHOP-ORDER-1001'];
$ch = curl_init('https://likeapi.upbot.top/api/v1/like.php');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Authorization: Bearer UPBOTLIKE-YOUR-API-KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode($payload),
CURLOPT_TIMEOUT => 60
]);
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
JavaScript server example
const response = await fetch('https://likeapi.upbot.top/api/v1/like.php', {
method: 'POST',
headers: { Authorization: 'Bearer UPBOTLIKE-YOUR-API-KEY', 'Content-Type': 'application/json' },
body: JSON.stringify({ uid: '9936903241', likes: 100, idempotency_key: 'SHOP-ORDER-1001' })
});
const result = await response.json();
Python example
import requests
result = requests.post(
"https://likeapi.upbot.top/api/v1/like.php",
headers={"Authorization": "Bearer UPBOTLIKE-YOUR-API-KEY"},
json={"uid": "9936903241", "likes": 100, "idempotency_key": "SHOP-ORDER-1001"},
timeout=60,
).json()
Success response
{
"status": "success",
"message": "Likes request sent successfully.",
"request_id": "REQ-...",
"uid": "9936903241",
"likes": 100,
"credits_used": 1
}
Error handling
| HTTP | Meaning |
|---|---|
| 401 | Invalid or inactive API token |
| 402 | Insufficient credits |
| 409 | Duplicate order or daily UID limit |
| 422 | Missing/invalid UID, package or provider rejection |
| 500 | Internal gateway error |
Retry the same order only with the same idempotency key. Do not use /api/v1/like/ on this server.