Skip to content

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.

Try an example
Not a Tor exit nodeExample

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

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

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

  1. 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.
  2. 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.
  3. 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: true skips 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 No on 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
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"}'
JavaScript
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?
Enter it above. The checker looks for an exact match in our copy of the exit list that the Tor Project publishes, the list of addresses its exit relays were seen connecting from. The heading reads 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?
Every computer that carries Tor traffic is a relay. A circuit passes through three: an entry or guard relay, a middle relay and an exit relay. Only the exit opens connections to ordinary websites, so only the exit's address appears in your logs. Many relays are not exits, because their operators set an exit policy that refuses to connect outside the Tor network.
Why does the checker only look at exit nodes?
Because exits are the only relays that can connect to your site. Guard and middle relays talk to other relays, never to the destination. Blocking or flagging every relay address would catch people who run a non-exit relay at home and never send you any Tor traffic. The exit list answers the useful question: can a request from this address be Tor traffic?
Where does the Tor exit list come from?
From the Tor Project. Its exit list service, TorDNSEL, publishes the addresses it found when exiting through each relay, and Tor Metrics places that data under a CC0 public domain declaration. We load the bulk exit list from the Tor Project's check service. The source and its license are on the data sources page.
How often is the Tor exit list updated?
Our copy is refreshed once a day. If a download fails or comes back implausibly short, the previous copy stays in place rather than an empty list. Results are also cached for 7 days, so a relay that became an exit today can take a while to show, and one that stopped can stay flagged for a while. Through the API, fresh: true skips the result cache.
Was this IP address a Tor exit in the past?
This checker answers for its current copy of the list only. For a past date, use ExoneraTor, a service of the Tor Project that tells you whether an address was used by a Tor relay on a given day. It is the tool to use when you investigate an old incident, since an address that is not an exit today may well have been one then.
Does the checker detect Tor on IPv6 addresses?
Our copy of the exit list holds IPv4 addresses, so an IPv6 address always comes back 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?
No. Tor exists to protect privacy, and people use it to read news their government blocks, to contact journalists safely, to avoid tracking by advertisers, or to hide their location from someone who would harm them. Abuse uses Tor too, because it is free and anonymous. The address tells you the user chose anonymity, not why.
Should I block Tor exit nodes?
Block only where anonymity is the risk itself, such as payouts or account recovery. For browsing and reading, allow Tor: blocking it shuts out exactly the people who need privacy most. For signups and payments, add a verification step instead. Some services also publish an onion address, which lets Tor users reach them without going through an exit at all.
Can a Tor user be traced through the exit IP?
Not from the address. The exit relay knows the destination but not the user, and the user's own address is known only to the guard relay, which does not know the destination. That is the design. The exit's operator is a volunteer relaying traffic, not the person behind the request. Abuse reports to them reach the relay, not the user.
Why does a Tor exit also show as a data center IP?
Because many exit relays run on servers rented from hosting providers, whose networks we classify as hosting or cloud. The two flags answer different questions: the Tor flag says traffic from this address can be Tor, the data center flag says the address is a server. In the risk score, Tor adds 80 and data center 35, so the total reaches the cap of 100.
I run a Tor relay. Why is my address flagged, or not?
If your relay's exit policy allows connections outside the Tor network, your address is on the exit list and the checker flags it. If it is a guard, middle or bridge relay, it is not on the exit list and the checker does not flag it. Some sites block every relay in the Tor consensus; this checker does not.
Why does my Tor Browser exit address change?
Tor builds new circuits over time, and Tor Browser keeps separate circuits for separate sites. Each circuit can end at a different exit, so the address a site sees changes from one site to another and over a session. The browser's New Identity and new circuit options also pick new exits. Each of those exits is on the list, so each is flagged.
How does the Tor flag affect the IP risk score?
A Tor exit adds 80 points, the largest weight of the five signals, so the score reaches the high level on that signal alone. On this page the score is locked behind a free account; the IP fraud score shows it for free, with each signal and its weight. The IP risk score documentation lists the levels.

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