XMAVA ID Game API
Dokumentasi resmi API Check ID Game XMAVA.
https://nefercode.my.id/api/check.php
Method : POST
Format : JSON
Authentication : API Key
Parameter
| Parameter |
Keterangan |
| game |
Kode Game |
| id |
User ID Game |
| zoneid |
Khusus game tertentu |
| server |
Khusus game tertentu |
| apikey |
API Key Anda |
Daftar Game Supported
| Nama Game |
Kode Game |
Parameter |
| Arena Of Valor |
aov
|
id
|
| BGMI |
bgmi
|
id
|
| Blood Strike |
blood-strike
|
id
|
| Call Of Duty Mobile |
codm
|
id
|
| Free Fire |
freefire
|
id
|
| Honor Of Kings |
honor-of-kings
|
id
|
| Mobile Legends |
ml
|
id + zoneid
|
| MU DEVILS AWAKEN |
mu-devils-awaken
|
id + server
|
| Revelation |
revelation
|
id
|
| Valorant |
valorant
|
id + server
|
Contoh Request API
Gunakan endpoint berikut untuk melakukan request API.
Arena Of Valor
POST https://nefercode.my.id/api/check.php
{
"game":"aov",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
BGMI
POST https://nefercode.my.id/api/check.php
{
"game":"bgmi",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Blood Strike
POST https://nefercode.my.id/api/check.php
{
"game":"blood-strike",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Call Of Duty Mobile
POST https://nefercode.my.id/api/check.php
{
"game":"codm",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Free Fire
POST https://nefercode.my.id/api/check.php
{
"game":"freefire",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Honor Of Kings
POST https://nefercode.my.id/api/check.php
{
"game":"honor-of-kings",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Mobile Legends
POST https://nefercode.my.id/api/check.php
{
"game":"ml",
"id":"USER_ID"
,
"zoneid":"ZONE_ID"
,
"apikey":"YOUR_API_KEY"
}
MU DEVILS AWAKEN
POST https://nefercode.my.id/api/check.php
{
"game":"mu-devils-awaken",
"id":"USER_ID"
,
"server":"SERVER"
,
"apikey":"YOUR_API_KEY"
}
Revelation
POST https://nefercode.my.id/api/check.php
{
"game":"revelation",
"id":"USER_ID"
,
"apikey":"YOUR_API_KEY"
}
Valorant
POST https://nefercode.my.id/api/check.php
{
"game":"valorant",
"id":"USER_ID"
,
"server":"SERVER"
,
"apikey":"YOUR_API_KEY"
}
Response Berhasil
{
"status": true,
"message": "success",
"game": "Mobile Legends",
"username": "XMAVA",
"price": 20,
"saldo": 9980
}
Response Gagal
{
"status": false,
"message": "Nickname tidak ditemukan"
}
{
"status": false,
"message": "API Key tidak valid"
}
{
"status": false,
"message": "Saldo tidak mencukupi"
}
{
"status": false,
"message": "Game tidak tersedia"
}
Contoh cURL
curl --request POST \
--url https://nefercode.my.id/api/check.php \
--header "Content-Type: application/json" \
--data '{
"game":"ml",
"id":"123456789",
"zoneid":"1234",
"apikey":"YOUR_API_KEY"
}'
Contoh PHP cURL
<?php
$data = array(
"game" => "ml",
"id" => "123456789",
"zoneid" => "1234",
"apikey" => "YOUR_API_KEY"
);
$ch = curl_init("https://nefercode.my.id/api/check.php");
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch,CURLOPT_POST,true);
curl_setopt($ch,CURLOPT_HTTPHEADER,array(
"Content-Type: application/json"
));
curl_setopt($ch,CURLOPT_POSTFIELDS,json_encode($data));
$result=curl_exec($ch);
curl_close($ch);
echo $result;
Contoh JavaScript Fetch
fetch("https://nefercode.my.id/api/check.php",{
method:"POST",
headers:{
"Content-Type":"application/json"
},
body:JSON.stringify({
game:"ml",
id:"123456789",
zoneid:"1234",
apikey:"YOUR_API_KEY"
})
})
.then(res=>res.json())
.then(data=>console.log(data));
Catatan
- Gunakan API Key milik Anda sendiri.
- Method yang didukung hanya POST.
- Request dapat menggunakan JSON maupun Form Data.
- Saldo akan dipotong hanya jika pengecekan ID berhasil.
- Pastikan parameter zoneid atau server dikirim jika game membutuhkannya.