Tor Relay & Exit Node API
Current Tor relays and exit nodes: nickname, fingerprint, addresses, country, network (ASN and name), flags, first and last seen, bandwidth and an exit flag. Check IP addresses in bulk or list exits by country.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from onionoo.torproject.org/details
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/tor-relay-lookup/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"ips":["204.8.96.141"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
12 fields.
Basics
- Nickname
Relay nickname chosen by its operator.
Example Quintex152
- Fingerprint
40-character relay fingerprint (unique id).
Example 0008D9640FE4947F73E355F67E20C2D290BBC72C
- Or addresses
Addresses and ports the relay accepts Tor traffic on.
Example 204.8.96.141:444, [2620:7:6003::141]:81
- Exit addresses
IP addresses traffic leaves the relay from, when it is an exit.
Example 204.8.96.141
- Asn
Autonomous system number of the network hosting the relay.
Example 62,744
- As name
Name of that network.
Example Quintex Alliance Consulting
- Flags
Consensus flags such as Exit, Guard, Fast, Stable, HSDir.
Example Exit, Fast
- Bandwidth rate
Bandwidth rate the operator allows, in bytes per second.
Example 1,073,741,824
- Exit
Yes when the relay carries the Exit flag.
Example Yes
Location
- Country
Two-letter country code (uppercase) the relay's IP is in.
Example US
Dates
- First seen
When the relay was first seen in the Tor network (UTC).
Example Jul 3, 2026
- Last seen
When the relay was last seen in the consensus (UTC).
Example Dec 6, 2026
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
nickname | text | Nickname | 3 of 3 |
fingerprint | text | Fingerprint | 3 of 3 |
or_addresses | list | Or addresses | 3 of 3 |
exit_addresses | list | Exit addresses | 3 of 3 |
country | text | Country | 3 of 3 |
asn | number | Asn | 3 of 3 |
as_name | text | As name | 3 of 3 |
flags | list | Flags | 3 of 3 |
first_seen | date and time | First seen | 3 of 3 |
last_seen | date and time | Last seen | 3 of 3 |
bandwidth_rate | number | Bandwidth rate | 3 of 3 |
is_exit | yes or no | Exit | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Nickname | Fingerprint | Or addresses | Exit addresses | Asn | As name | Flags | Bandwidth rate | Exit | Country | First seen | Last seen |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Quintex152 | 0008D9640FE4947F73E355F67E20C2D290BBC72C | 204.8.96.141:444, [2620:7:6003::141]:81 | 204.8.96.141 | 62,744 | Quintex Alliance Consulting | Exit, Fast, Guard, Running | 1,073,741,824 | Yes | US | Jul 3, 2026 | Dec 6, 2026 |
| 2 | SENDNOOSEplz | 000F3EB75342BE371F1D8D3FAE90890AEB5664EE | 204.137.14.106:443 | 204.137.14.106 | 399,820 | SPARKED HOST LLC | Exit, Fast, Guard, HSDir | 12,697,600 | Yes | US | Feb 26, 2024 | Dec 6, 2026 |
| 3 | Quintex216 | 004B5DD461C58121FF5BBDE8C9B295242013A3FC | 204.8.96.106:445, [2620:7:6003::106]:82 | 204.8.96.106 | 62,744 | Quintex Alliance Consulting | Exit, Fast, Guard, HSDir | 1,073,741,824 | Yes | US | Jul 3, 2026 | Dec 6, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Only relays that were running in the latest hourly consensus are returned; bridges are never included.
- One run returns at most 6,000 relays, read 500 at a time. Tor has roughly 7,000 relays in total, so use country or exit_only to narrow it.
- With ips, each address is checked against relay and exit addresses (IPv4 and IPv6); an address that is not a relay returns no record. At most 100 addresses per run, and at most 100 relays per address.
- Tor Project data is refreshed about once an hour; an exit can appear in the list for up to an hour after it went offline.
- The exit flag shows relays that allow exit traffic; exit_addresses can be empty for a new exit that has not been tested yet.
- Data comes from the Tor Project's public metrics service (Onionoo); credit the Tor Project. Not affiliated with or endorsed by the Tor Project.
- About one request per second is made to be polite to the source.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.