IP
Check an IP address against the Tor exit list
Find out whether an address is a current Tor exit relay, from the exit list the Tor Project publishes, and how to treat Tor users fairly.
The register is slow to answer. Still checking…
The address is not on the Tor Project's current list of exit relays. Relays that are not exits never appear as the source of traffic.
- Tor exit node
- No
- Data center
- Yes
- Organization
- Google LLC
- ASN
- AS15169
- Country
- United States (US)
- Risk score
- Unlock with a free account
- VPN and proxy flags
- Unlock with a free account
- Bulk CSV upload
- Unlock with a free account
- API access
- Unlock with a free account
How to read the result
The heading answers the question: Tor exit node when the address is on the Tor Project's exit list, Not a Tor exit node when it is not. The rows add context about the network the exit runs on.
| Field | What it means | What to do with it |
|---|---|---|
| Tor exit node | Yes when the address appears in our copy of the Tor Project's exit list. |
The user's own address is hidden by design. Apply your rule for anonymous traffic. |
| Data center | Yes when the network is classified as hosting or cloud. |
Many exits run on rented servers. On a No from the Tor row, this still tells you whether the address is a server. |
| Organization | The organization registered for the network. | For an exit, this is the hosting company or the operator's own network, never the Tor user. |
| ASN | The autonomous system number of the network. | Useful in abuse reports and network rules. The ASN lookup describes the network. |
| Country | The country of the address. | For a Tor user, this is the exit's country. It says nothing about where the user is. |
| Risk score | Locked. One number from 0 to 100; a Tor exit adds 80. | Free on the IP fraud score, or here with a free account. |
| VPN and proxy flags | Locked. Whether the network is registered to a VPN or proxy service. | Free on the proxy checker, or here with a free account. |
| Bulk CSV upload | Locked. The same check over a CSV of up to 2,000,000 addresses. | Needs a free account. Useful to find Tor traffic in past signups or orders. |
| API access | Locked. POST /ip returns flags.tor with the other flags for 1 credit per address. |
Needs a free account, which includes 100 credits every month. |
Checks are free: 10 a day without an account.
How the check works
- The tool parses the address. Private, loopback, documentation and other special-purpose ranges from the IANA registries (RFC 6890) are rejected: no Tor exit can use them on the internet.
- It looks for an exact match of the address in our copy of the Tor Project's exit list. There is no range matching and no guessing from neighbors: an address is listed or it is not.
- It reads the network of the address from DB-IP's IP to ASN Lite database (CC BY 4.0) and our network classification, for the organization, the ASN and the data center flag.
The list comes from the Tor Project's exit list service, TorDNSEL, which publishes the addresses of relays that it found when exiting through them. Tor Metrics publishes its data under a CC0 public domain declaration. We load the bulk exit list from the Tor Project's check service once a day. When a download fails or returns an implausibly short list, the previous copy stays in place, so an outage on either side never empties the list. Results are cached for 7 days.
What the check cannot tell you:
- Who the Tor user is or where they are. Nobody can, from the exit address.
- Whether an IPv6 address is a Tor exit. Our copy of the list holds IPv4 addresses.
- Whether a non-exit relay runs on the address. Such relays never send traffic to websites.
- Changes since our last refresh. A relay that turned into an exit today shows up after the next refresh and once any cached result expires.
The examples
The three example addresses show the answers you will meet.
| Example | Tor exit node | Data center | Reading |
|---|---|---|---|
185.220.101.1 |
Yes while this page was written |
Depends on the network's classification | An exit relay. Lists change, so run it again rather than trusting this table. |
8.8.8.8 |
No |
Yes, Google LLC, AS15169 |
A server, but not a Tor exit: Google's public DNS resolver. |
1.1.1.1 |
No |
Yes, Cloudflare, Inc., AS13335 |
Same reading: a public resolver on a cloud network. |
A No on the Tor row together with Yes on the data center row is common and means "a server that is not a Tor exit". It can still be a VPN or a proxy, which the proxy checker looks at.
Relays, exits, bridges: who shows up in your logs
| Role | What it does | Appears as the source of traffic to your site? |
|---|---|---|
| Guard (entry) relay | First hop. Knows the user's address, not the destination. | No. |
| Middle relay | Passes encrypted traffic between the guard and the exit. | No. |
| Exit relay | Last hop. Opens the connection to the destination website. | Yes. This is the address on the exit list. |
| Bridge | An unlisted entry relay for people whose network blocks Tor. | No. |
| Onion service | A site reachable inside Tor, at a .onion address. |
No exit is involved: the connection never leaves the Tor network. |
That is why the exit list is the right source for a website. A list of every relay would flag people who run a guard or middle relay at home and never send you a single Tor request.
Why the published exit list beats a relay list
Every relay advertises an address in the Tor network's directory, but an exit does not always leave from that address. TorDNSEL builds connections through each exit and records the address it sees them come from. The Tor Project's own example shows a relay that accepts connections on one address and also uses a second address for exiting. A check against advertised addresses would miss that second address; the exit list catches it.
The list also excludes relays whose exit policy refuses outside connections. Relay operators choose their exit policy, and many relays are not exits. Flagging them would add false positives without catching any traffic.
Who uses Tor
Tor is free software for anonymous communication. People choose it for reasons that look like the reasons for using a VPN, only stronger:
- reading news and sites that their country or their network blocks;
- contacting journalists, lawyers or support services without leaving a trace;
- keeping their location from someone who tracks them;
- research, security testing and checking how a site looks from elsewhere;
- avoiding advertising trackers as a matter of principle.
Abuse uses Tor too, because it is free and the exit address changes on demand: credential stuffing, card testing, scraping and spam all happen over Tor. The flag cannot tell these apart. It tells you the user chose anonymity, which is a fact about the connection, not about the person.
Handling Tor traffic by flow
| Flow | Suggested rule | Why |
|---|---|---|
| Reading, browsing, documentation | Allow. | Privacy users are legitimate readers. Blocking them gains nothing. |
| Search and public APIs | Allow, with rate limits suited to automated clients. | Exits are shared by many users, so limit per session as well as per address. |
| Signup | Allow, with an extra verification step, such as a confirmed email address and phone number. | Free accounts and trials are a common target of anonymous abuse. |
| Login | Allow, and ask for a second factor if the account usually logs in from elsewhere. | Credential stuffing over Tor is common; real users still log in this way. |
| Payment | Review, or ask for 3-D Secure before you ship. | The payer's network location is hidden, so billing checks have less to compare. |
| Payout, account recovery, password reset | Hold for review, or require a stronger proof. | These are the flows where anonymity itself is the risk. |
If your terms of service forbid anonymous access, say so on the page you show, so a blocked user knows why. Offering an onion address is the friendliest option for a site with many Tor readers.
Timing: when the answer can be stale
Three clocks govern the answer: the Tor Project's own updates, our daily refresh, and the 7-day result cache. Relays join and leave the network every day, and a cloud server that was an exit last month can host something else today.
- For decisions in the moment, such as a signup or a payment, the checker's answer is the one to use.
- Store the flag with the event, with its date. If you review the account later, the stored flag tells you what the address was at the time.
- For an incident in the past, ask ExoneraTor, the Tor Project's service that tells you whether an address was used by a Tor relay on a given date.
- Through the API,
fresh: trueskips the result cache for a fresh lookup. It costs the same.
Common mistakes
- Checking your own proxy. Behind a CDN or a load balancer, the connection to your code comes from your infrastructure. Check the client address your proxy forwards, and trust that header only from your own proxies.
- Blocking the neighbors. Exits are listed one address at a time. Blocking the whole range around an exit catches unrelated servers, and sometimes a provider's other customers.
- Blocking every relay. Lists of all relays in the Tor directory include guard and middle relays, which never send traffic to websites. They add false positives and catch nothing.
- Reading
Noon IPv6 as clean. Our copy of the list has no IPv6 addresses, so the answer carries no information there. - Judging old logs with today's list. An address that is an exit today may not have been one when the request happened, and the reverse. Store the flag at the time, or ask ExoneraTor.
- Treating the exit operator as the user. Abuse reports reach a volunteer who relays traffic for many strangers at once. Report to them only when the relay itself misbehaves.
Tor checks through the API
POST /ip returns flags.tor with the other three flags (vpn, proxy, datacenter), the network, the location and the risk score, for 1 credit per address. The free account includes 100 credits every month. Test keys map 198.51.100.128/25 to a Tor exit on a hosting network, so you can test your Tor rule in CI without real Tor traffic; test mode lists the profiles.
The IP endpoint reference documents every field, the VPN and proxy detection product page describes the anonymity flags as a product, and the VPN and data center guide shows a complete integration in a signup flow.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/ip \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'const response = await fetch("https://api.qelka.com/v1/ip", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
ip: "8.8.8.8",
}),
});
const result = await response.json();{
"id": "lkp_01M84QZDZHEMMVZCGDFD9ZD53H",
"object": "ip",
"input": "8.8.8.8",
"version": 4,
"country": {
"code": "US",
"name": "United States"
},
"region": "California",
"city": "Mountain View",
"asn": {
"number": 15169,
"org": "Google LLC",
"type": "hosting"
},
"flags": {
"tor": false,
"vpn": false,
"proxy": false,
"datacenter": true
},
"risk": {
"score": 35,
"level": "medium"
},
"credits_used": 1,
"cached": false
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
How do I know if an IP address is a Tor exit node?
Tor exit node on a match and Not a Tor exit node otherwise. A match is direct evidence that Tor traffic leaves from that address, not a guess from the network type.What is the difference between a Tor relay and a Tor exit node?
Why does the checker only look at exit nodes?
Where does the Tor exit list come from?
How often is the Tor exit list updated?
fresh: true skips the result cache.Was this IP address a Tor exit in the past?
Does the checker detect Tor on IPv6 addresses?
Not a Tor exit node. Treat that answer as "no information" rather than "not Tor". If your site accepts IPv6, a Tor exit that connects over IPv6 is not flagged here. The data center flag still applies, since many exits run on rented servers.Is Tor traffic always malicious?
Should I block Tor exit nodes?
Can a Tor user be traced through the exit IP?
Why does a Tor exit also show as a data center IP?
I run a Tor relay. Why is my address flagged, or not?
Why does my Tor Browser exit address change?
How does the Tor flag affect the IP risk score?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time