Tor network relays (Onionoo)
The Tor Project's Onionoo service: look up a Tor relay by nickname, IP address or fingerprint, or list running exit relays by country.
No API key needed to call
- Source
- Tor Project Onionoo
- Licence and terms
- CC0
- Coverage
- worldwide Tor relays
- Refresh cadence
- Answers are shared and cached for 1800 seconds.
Questions you can ask
Operations
Find a Tor relay
Answers: is this IP address, nickname or fingerprint a Tor relay, and what are its flags, country, AS and bandwidth? An empty result means it is not currently a known relay.
| search | required, string, Relay nickname, IP address or fingerprint (hex). |
|---|---|
| limit | optional, integer, default 5 |
Example: Is Quintex152 a Tor relay and where is it?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"tor_onionoo","operation":"tor_onionoo_relay_lookup","params":{"search":"Quintex152","limit":2}}}Over HTTP
curl '/v1/connectors/tor_onionoo/tor_onionoo_relay_lookup?search=Quintex152&limit=2'Running Tor exit relays by country
Answers: which Tor exit relays are running, optionally in one country, and what are their addresses, flags and bandwidth?
| country | optional, string, Two-letter country code. |
|---|---|
| limit | optional, integer, default 8 |
Example: Which are the biggest Tor exit relays in Germany?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"tor_onionoo","operation":"tor_onionoo_exit_relays","params":{"country":"de","limit":3}}}Over HTTP
curl '/v1/connectors/tor_onionoo/tor_onionoo_exit_relays?country=de&limit=3'Source notice
Source: The Tor Project, Onionoo. Terms: "Data on this site is freely available under a CC0 no copyright declaration". Relay operator contact details are not returned.