Endpoint kiểm tra key:
https://keybanquyen.chauthebao.net/api/check.php
{
"success": true,
"status": "valid",
"message": "Key hợp lệ thời hạn còn 30 ngày",
"api_key": "KEY-XXXX",
"expire_at": "2026-05-27",
"days_left": 30
}
fetch('https://keybanquyen.chauthebao.net/api/check.php?api_key=KEY-CUA-BAN')
.then(res => res.json())
.then(data => console.log(data));
$key = "KEY-CUA-BAN";
$url = "https://keybanquyen.chauthebao.net/api/check.php?api_key=" . urlencode($key);
$data = json_decode(file_get_contents($url), true);
if ($data["status"] === "valid") {
echo "Key hợp lệ";
}
import requests
r = requests.get("https://keybanquyen.chauthebao.net/api/check.php", params={"api_key":"KEY-CUA-BAN"})
print(r.json())
const res = await fetch("https://keybanquyen.chauthebao.net/api/check.php?api_key=KEY-CUA-BAN");
const data = await res.json();
console.log(data);
curl "https://keybanquyen.chauthebao.net/api/check.php?api_key=KEY-CUA-BAN"