Purchased access required
API requests require active API access and a personal token. The token is assigned to your INSPECT account after a successful purchase.
Integrate INSPECT directly into FiveM servers, Discord bots or your own applications. Scans can be requested automatically via a protected API token.
API requests require active API access and a personal token. The token is assigned to your INSPECT account after a successful purchase.
const response = await fetch(
'https://api.inspect.wtf/scan.php?searchId=' + discordId,
{
headers: {
'X-API-Token': 'YOUR_TOKEN',
'X-Game': 'fivem'
}
}
);
const data = await response.json();
console.log(data.servers, data.cheater_info);import requests
response = requests.get(
'https://api.inspect.wtf/scan.php',
params={'searchId': discord_id},
headers={
'X-API-Token': 'YOUR_TOKEN',
'X-Game': 'fivem'
}
)
data = response.json()
print(data['cheater_info'])<?php
$url = 'https://api.inspect.wtf/scan.php?' .
http_build_query(['searchId' => $discordId]);
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_HTTPHEADER => [
'X-API-Token: YOUR_TOKEN',
'X-Game: fivem'
],
CURLOPT_RETURNTRANSFER => true
]);
$data = json_decode(curl_exec($ch), true);-- FiveM Server-Side
local discordId = GetPlayerIdentifierByType(source, 'discord')
discordId = discordId:gsub('discord:', '')
PerformHttpRequest(
'https://api.inspect.wtf/scan.php?searchId=' .. discordId,
function(code, res)
local data = json.decode(res)
if #data.cheater_info > 0 then
DropPlayer(source, 'Cheater detected!')
end
end,
'GET', '', {
['X-API-Token'] = 'YOUR_TOKEN',
['X-Game'] = 'fivem'
}
)curl -X GET \
'https://api.inspect.wtf/scan.php?searchId=DISCORD_ID' \
-H 'X-API-Token: YOUR_TOKEN' \
-H 'X-Game: fivem' \
-H 'Accept: application/json'