Cutiezy • API Docs
Dokumentasi API
Dokumentasi endpoint checker yang dipisah berdasarkan kategori layanan.
games
Games
Total service: 16
Lihat dokumentasi →
ewallet
E-Wallet
Total service: 4
Lihat dokumentasi →
bank
Bank
Total service: 2
Lihat dokumentasi →
tagihan
Tagihan
Total service: 3
Lihat dokumentasi →
orkut
orkut
Total service: 3
Lihat dokumentasi →
tools
Tools
Total service: 4
Lihat dokumentasi →
Autentikasi
Semua request API mendukung header berikut:
X-API-Key: czw_xxxxxxxxxxxxxxxxx
Atau fallback query string:
apikey=czw_xxxxxxxxxxxxxxxxx
Format endpoint utama yang aktif saat ini:
https://api.cutiezy.id/api/check/{category}?service={service}¶m1=value&apikey=YOUR_API_KEY
Contoh
https://api.cutiezy.id/api/check/ewallet?service=dana&user_id=08123456789&apikey=YOUR_API_KEY
Contoh Request URL
https://api.cutiezy.id/api/check/games?service=region-ml&user_id={$userId}&zone_id={$zoneId}&apikey=YOUR_API_KEY
Ganti {$userId} dan {$zoneId} dengan data yang ingin Anda cek.
Contoh Header
X-API-Key: YOUR_API_KEY
Accept: application/json
Cara Mengurai Response JSON
// contoh response
{
"ok": true,
"data": {
"nickname": "Nama Player",
"id": 861363893,
"zone": 12422,
"country": "Indonesia"
}
}
// cara ambil data
data.ok // status berhasil / tidak
data.message // pesan response
data.data.nickname // nama player
data.data.id // user id
data.data.zone // zone id
data.data.country // negara
Contoh PHP Code
<?php
$baseUrl = 'https://api.cutiezy.id/api/check/games';
$apiKey = 'apikey-anda';
$userId = '861363893';
$zoneId = '12422';
$params = [
'service' => 'region-ml',
'user_id' => $userId,
'zone_id' => $zoneId,
];
$url = $baseUrl . '?' . http_build_query($params);
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTPHEADER => [
'Accept: application/json',
'X-API-Key: ' . $apiKey,
],
]);
$response = curl_exec($ch);
$error = curl_error($ch);
curl_close($ch);
if ($error) {
die("cURL Error: " . $error);
}
$data = json_decode($response, true);
if ($data['ok']) {
echo "Nickname : ".$data['data']['nickname']."\n";
echo "ID : ".$data['data']['id']."\n";
echo "Zone : ".$data['data']['zone']."\n";
echo "Country : ".$data['data']['country']."\n";
} else {
echo "Error: ".$data['message'];
}
Contoh JavaScript Code
const apiKey = "apikey-anda";
const userId = "861363893";
const zoneId = "12422";
const url = `https://api.cutiezy.id/api/check/games?service=region-ml&user_id=${userId}&zone_id=${zoneId}`;
fetch(url, {
method: "GET",
headers: {
"X-API-Key": apiKey,
"Accept": "application/json"
}
})
.then(response => response.json())
.then(data => {
if(data.ok){
console.log("Nickname:", data.data.nickname);
console.log("ID:", data.data.id);
console.log("Zone:", data.data.zone);
console.log("Country:", data.data.country);
}else{
console.log("Error:", data.message);
}
})
.catch(error => {
console.error("Request Error:", error);
});