Naar de inhoud
GET /v1/check

Is an IP a Tor relay / exit?

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/tor-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/tor-api/v1/check" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tor-api/v1/check", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tor-api/v1/check");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/tor-api/v1/check",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "ip": "171.25.193.25",
        "relays": [
            {
                "as": "AS198093",
                "flags": [
                    "Exit",
                    "Fast",
                    "Guard",
                    "Running",
                    "Stable",
                    "V2Dir",
                    "Valid"
                ],
                "as_name": "Foreningen for digitala fri- och rattigheter",
                "country": "se",
                "is_exit": true,
                "running": true,
                "is_guard": true,
                "nickname": "DFRI161",
                "last_seen": "2026-06-01 22:00:00",
                "first_seen": "2026-04-18 12:00:00",
                "fingerprint": "071B4087358344D5045237655632674124308C2A",
                "country_name": "Sweden",
                "or_addresses": [
                    "171.25.193.25:81",
                    "[2001:67c:289c::25]:81"
                ],
                "bandwidth_rate": 20971520,
                "exit_addresses": [
                    "171.25.193.25"
                ],
                "exit_policy_summary": {
                    "accept": [
                        "20-21",
                        "43",
                        "53",
                        "79-81",
                        "194",
                        "220",
                        "389",
                        "443",
                        "465",
                        "531",
                        "543-544",
                        "554",
                        "563",
                        "587",
                        "636",
                        "706",
                        "853",
                        "873",
                        "902-904",
                        "981",
                        "989-995",
                        "1194",
                        "1220",
                        "1293",
                        "1500",
                        "1533",
                        "1677",
                        "1723",
                        "1755",
                        "1863",
                        "1965",
                        "2082-2083",
                        "2086-2087",
                        "2095-2096",
                        "2102-2104",
                        "3128",
                        "3690",
                        "4321",
                        "4643",
                        "5050",
                        "5190",
                        "5222-5223",
                        "5228",
                        "5900",
                        "6660-6669",
                        "6679",
                        "6697",
                        "8000",
                        "8008",
                        "8074",
                        "8080",
                        "8082",
                        "8087-8088",
                        "8332-8333",
                        "8443",
                        "888
…