API Overview
The XSTBot Game Stalk API allows you to retrieve player information from popular mobile games including Free Fire, Mobile Legends. The API returns player details such as username, user ID, and zone information.
Base URL
https://ceknickname.my.id
Example Code (Axios - Free Fire)
const axios = require('axios');
axios.get('https://ceknickname.my.id/api/game/free-fire?id=123456789', {
headers: {
'x-api-key': 'your-api-key-here',
'x-username': 'your-username-here'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Example Code (Axios - Mobile Legends)
const axios = require('axios');
axios.get('https://ceknickname.my.id/api/game/mobile-legends?id=123456789&zone=1234', {
headers: {
'x-api-key': 'your-api-key-here',
'x-username': 'your-username-here'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Endpoints
Free Fire
https://ceknickname.my.id/api/game/free-fire?id=123456789
Parameter |
Type |
Required |
Description |
id |
String |
Yes |
Free Fire player ID |
Headers |
Required |
Description |
x-api-key |
Yes |
Your Apikey |
x-username |
Yes |
Your Username |
Mobile Legends
https://ceknickname.my.id/api/game/mobile-legends?id=123456789&zone=1234
Parameter |
Type |
Required |
Description |
id |
String |
Yes |
Mobile Legends player ID |
zone |
String |
Yes |
Mobile Legends player zone |
Headers |
Required |
Description |
x-api-key |
Yes |
Your Apikey |
x-username |
Yes |
Your Username |
Response Format
Success Response (with Zone)
{
"code": 200,
"status": "true",
"creator": ceknickname.vercel.app,
"message": "ID berhasil ditemukan",
"data": {
"username": "XSTBot Store",
"user_id": "123456789",
"zone": "1234"
}
}
Success Response (without Zone)
{
"code": 200,
"status": "true",
"creator": ceknickname.vercel.app,
"message": "ID berhasil ditemukan",
"data": {
"username": "XSTBot Store",
"user_id": "123456789",
"zone": "null"
}
}
Failed Response
{
"code": 404,
"status": "false",
"creator": ceknickname.vercel.app,
"message": "ID tidak ditemukan"
}
Status Codes
Code |
Status |
Description |
200 |
Success |
The request was successful and player information was found |
404 |
Not Found |
The player ID was not found or is invalid |
Example Usage
Free Fire
https://ceknickname.my.id/api/game/free-fire?id=123456789
Mobile Legends
https://ceknickname.my.id/api/game/mobile-legends?id=123456789&zone=1234
Example Code (Axios - Free Fire)
const axios = require('axios');
axios.get('https://ceknickname.my.id/api/game/free-fire?id=123456789', {
headers: {
'x-api-key': 'your-api-key-here',
'x-username': 'your-username-here'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Example Code (Axios - Mobile Legends)
const axios = require('axios');
axios.get('https://ceknickname.my.id/api/game/mobile-legends?id=123456789&zone=1234', {
headers: {
'x-api-key': 'your-api-key-here',
'x-username': 'your-username-here'
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});