Tor Detection
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.
Tor exit node
Tor relay
Tor entry/guard
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.
One simple REST call
Works from any language. Here it is in Python.
GET https://api.findip.net/{ip}/?token={token}
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']
print('ISP: ', traits['isp'])
print('Connection type: ', traits['connection_type'])
print('User type: ', traits['user_type'])
print('ASN: ', traits['autonomous_system_number'], traits['autonomous_system_organization'])
# Use these network traits alongside FindIP's Tor exit/relay signals to
# decide how to treat anonymous Tor traffic.
Frequently asked questions
Yes. It separates Tor exit nodes, which originate user traffic, from non-exit relays so you can avoid over-blocking.
The Tor network changes frequently, so node data is refreshed continuously to keep detection accurate.
Yes — it is free and unlimited with no request caps and no credit card required.