TOR detector

The Tor Exit Node Checker API determines if a given IP address is a Tor exit node, returning a status and a message
1ms

About

The Tor Exit Node Checker API allows users to verify whether a provided IP address is part of the Tor network. The API checks the IP against a list of Tor exit nodes, which is refreshed every 30 seconds to ensure accuracy. This service helps identify potential anonymous traffic by providing a true/false status along with a detailed message in JSON format
by GLOBUS.studio

Endpoint

				
					/**
 * Tor Exit Node Check API
 * GET https://api.globus.studio/v2/tor?ip=185.220.101.30
 * Response: { ip, is_tor: true|false, message }
 */

async function checkTor(ip) {
    const res = await fetch(`https://api.globus.studio/v2/tor?ip=${encodeURIComponent(ip)}`);
    const data = await res.json();
    return data;
}

// Tor exit node
checkTor('185.220.101.30').then(d => console.log(d.is_tor, d.message));

// Regular IP
checkTor('8.8.8.8').then(d => console.log(d.is_tor, d.message));