DDiwigo API

Tor Exit Node Checker API

Tells whether an IPv4 address is a known Tor exit node, to help fight fraud and abuse.

What is it?

The Diwigo Tor check API tells whether an IPv4 address is a known Tor exit node, to help fight fraud and abuse.

It answers with JSON and is included in the free plan: 10,000 requests per API key and per month.

Example request

GET https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4

Parameters

ParameterDescription
keyYour API key (required)
ipcheckIPv4 address to check

Example response

{
  "ip": "1.2.3.4",
  "tor_exit": false,
  "message": "This IP address is not listed as a known Tor exit node."
}

Code examples

cURL
curl "https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4"
JavaScript
const res = await fetch("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4");
const data = await res.json();
console.log(data);
PHP
<?php
$response = file_get_contents("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4");
$data = json_decode($response, true);
print_r($data);
Python
import requests

response = requests.get("https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4")
print(response.json())

Use cases

  • Add a fraud signal to checkouts and sign-ups
  • Flag anonymous traffic in logs
  • Apply stricter limits to Tor traffic

Tor exit node check: questions and answers

What does the Tor exit node check API do?

The Diwigo Tor check API tells whether an IPv4 address is a known Tor exit node, to help fight fraud and abuse.

How do I call the Tor exit node check API?

Send a GET request to https://landing.diwigo.com/api/?key=YOUR_API_KEY&ipcheck=1.2.3.4 with your own API key instead of YOUR_API_KEY. It answers with JSON.

Is the Tor exit node check API free?

Yes, it is included in the free plan: 10,000 requests per API key and per calendar month, shared by all Diwigo endpoints. Higher limits are available on request.