Tor Exit Nodes Geolocated API

Introduction

Due to privacy concerns, various solutions have emerged that aim to protect your online identity and enable you to surf the internet with anonymity. The Tor Project is one such initiative managed by volunteers across the globe.

However, this can result in inconvenience if you are trying to deliver personalised content and also such systems can allow online scammers to carry out fraudulent activities. Hence, you can use the Insights API to identify and isolate such traffic on your websites. 

This API returns a list of active Tor exit nodes geolocated to country-level along with active carrier information.

Get Started

This API is part of the Network Engineering API Package and is available in free and paid plans. Please visit the Network Engineering API Package package page for limits and pricing information.

Endpoints

IPv4 only API Endpoint

Use this endpoint to force API calls routed over the IPv4 network only

GET
https://api.bigdatacloud.net/data/tor-exit-nodes-list

Dual-Stack API Endpoint

This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks

GET
https://api-bdc.net/data/tor-exit-nodes-list

Request

Parameter
Type
Required
Description
batchSize
integer (int32)
Optional, default value: 10
Requested batch size. Maximum value = 1000
offset
integer (int32)
Optional, default value: 0
Offset. Number of entries to skip
sort
string, enum (ip, countryCode, countryName, carriers)
Optional, default value: ip
Sort response by a field value. Default value: ip
order
string, enum (asc, desc)
Optional, default value: asc
Sort order. Default value: asc
localityLanguage
string
Optional, default value: en
Preferred language for locality names in ISO 639-1 format, such as 'en' for English, 'es' for Spanish etc. If the requested language is not available for a requested location, it will default to English. If no English variant is known, will provide the native, local names
key
string
Yes
Your API key

Responses

200
Success

Sample Query

GET
https://api-bdc.net/data/tor-exit-nodes-list?batchSize=10&offset=0&localityLanguage=en&key=[YOUR API KEY]

Schema

application/json
totalinteger
Total number of nodes available
offsetinteger
Number of entries to skipped
batchinteger
Number of entries in the current batch
nodesarray
Array of node entries returned
ipstring
TOR node IP address
countryNamestring
Country name localised to the language as defined by 'localityLanguage' request parameter
countryCodestring
Country ISO 3166-1 Alpha-2 code
carriersarray
List of Autonomous Systems (AS) announcing this IP address on BGP
asnstring
Autonomous System Number string
asnNumericinteger
Autonomous System Number
organisationstring
Registered Organisation
namestring
Registered name
registrystring
The Regional Internet Registry (RIR) the AS is registered with
registeredCountrystring
Registered Country ISO 3166-1 Alpha-2 code
registeredCountryNamestring
Registered Country localised name. The language is as defined by the 'localityLanguage' request parameter
registrationDatestring
Registration date in 'yyyy-mm-dd' format
registrationLastChangestring
Registration modification date in 'yyyy-mm-dd' format
totalIpv4Addressesinteger
Total number of IP addresses announced by the AS
totalIpv4Prefixesinteger
Total number of ipV4 BGP prefixes announced by the AS
totalIpv4BogonPrefixesinteger
Total number of ipV4 bogon prefixes announced by the AS
totalIpv6Prefixesinteger
Total number of ipV6 BGP prefixes announced by the AS
totalIpv6BogonPrefixesinteger
Total number of ipV6 bogon prefixes announced by the AS
rankinteger
Global rank by total number of IP addresses announced
rankTextstring
Global rank by total number of IP addresses announced including total

Sample Response

400
Bad request

Sample Response

403
Access denied, or your quota limit has exceeded

Sample Response

404
Found no valid entry for the request

Sample Response

406
Found too many result items. Please reduce the scope of your request

Sample Response

500
An error has occurred and did not complete your request. Please try again

Sample Response

Was this page helpful?