Free Tor Detection API
Identify traffic arriving over the Tor network in real time. The FindIP Tor detection API flags Tor exit nodes and relays and distinguishes exit traffic from non-exit relays, so you can apply the right policy to anonymous connections — free and unlimited.
Protecting your own website? FindIP Shield does it without code
Why developers choose FindIP
Exit vs. relay
Tell Tor exit nodes (which originate user traffic) apart from non-exit relays so you don't over-block.
Continuously updated
The Tor network changes constantly; node data is refreshed continuously to stay accurate.
Unlimited & free
Check every connection against the live Tor node set without rate limits, on IPv4 and IPv6.
Seeing Tor on your login or signup forms?
FindIP Shield flags Tor exits on your own website's login and signup events, with the reason and the session around it, and lets you give a single form a response while everything else stays untouched.
One simple REST call
Works from any language. Here it is in Python.
import requests
ip = '8.8.8.8' # IP address to analyze
token = 'YOUR_API_KEY' # Get a free key at findip.net
data = requests.get(f'https://api.findip.net/{ip}/?token={token}').json()
traits = data['traits']
intel = data['intelligence']
flags = intel['flags']
print('Proxy:', flags['is_proxy'], ' VPN:', flags['is_vpn'], ' Tor:', flags['is_tor'])
print('Hosting:', flags['is_hosting'], ' Malicious:', flags['is_malicious'])
print('Risk:', intel['risk']['score'], intel['risk']['level']) # 0-100 and low/medium/high
print('Why:', intel['summary']['description'])
print('Network:', traits['isp'], traits['autonomous_system_number'])
if flags['is_tor']:
pass # e.g. require a second factor, or slow the request down