INSPECTShop
REST API · INSPECT

INSPECT API

Integriere INSPECT direkt in FiveM-Server, Discord-Bots oder eigene Anwendungen. Scans können automatisiert über einen geschützten API-Token abgefragt werden.

<2stypische Antwortzeit
RESTJSON-Schnittstelle
5unterstützte Spielkategorien
Tokengeschützte Authentifizierung
API-ZUGANG

Gekaufter Zugang erforderlich

Für API-Anfragen wird ein aktiver API-Zugang und ein persönlicher Token benötigt. Der Token wird nach erfolgreichem Kauf deinem INSPECT-Account zugeordnet.

ENTHALTENE DATEN
Server- und Mitgliedschaftshistorie
Cheater-Einträge und Beweise
Bekannte Identifiers
Discord-Informationen
Weitere Scan-Ergebnisse der INSPECT-Datenbasis
Vollständige Dokumentation →
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'
● ReadyINSPECT API