---
title: "Check if an IP address is a Tor exit node"
method: GET
path: "/api/v1/tor/{ip}"
tags: ["Tor Detection API"]
---

# Check if an IP address is a Tor exit node

`GET /api/v1/tor/{ip}`

Returns whether the given IP address is currently listed as a Tor exit node, plus the total count of known exit nodes.

**Response time**: < 10 ms (in-memory lookup against live consensus list).

**Update frequency**: Exit node list refreshed every hour from the Tor Project's official data.

## Path parameters

- `ip` string, required

## Response `200`

Tor detection result returned successfully

- TorDetectionV1Dto — Tor exit node detection result for the given IP address
  - `ip` string, required — The IP address that was checked
  - `is_tor` boolean, required — Whether the IP is a known Tor exit node
  - `tor_node_count` integer, required — Total number of currently known Tor exit nodes in the database

## Other responses

- `400` — Bad Request — invalid IP address format
- `429` — Too Many Requests — rate limit exceeded

---

[API](https://skmtc.dev/ip-api/apis/ip-api-io-ip-geolocation-security-api.md) · [All operations](https://skmtc.dev/ip-api/apis/ip-api-io-ip-geolocation-security-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ip-api/ip-api-io-ip-geolocation-security-api/revisions/a6862f586bf3/schema)
