Returns a single character indicating whether the IP is detected as malicious or suspicious.
This is a direct drop-in replacement for the legacy proxycheck.php API.
Free and unlimited — no API key required. Responses cached up to 30 days.
Also accessible at /lookup/:ip.
| Value | Meaning | Notes |
|---|---|---|
| Y | Listed | IP found on one or more detection lists. |
| N | Clean | IP not found on any detection list. |
| E | Error | Invalid IP or lookup failure. |
Y — do not check for "not N". An error response
(E) would incorrectly be treated as a positive detection if you use != 'N'.
Returns a detailed JSON object with ASN information and per-category detection flags.
Responses are cached for one day. API v2 is a subscription service available via
RapidAPI —
a valid X-RapidAPI-Key header is required.
| Field | Type | Description |
|---|---|---|
| ip | string | The queried IP address. |
| error | null|string | Null on success. Error message on failure. |
| asn.name | string | Organisation name from the routing registry. |
| asn.number | number | Autonomous System Number as an integer. |
| asn.network | string | Network base address for this ASN block. |
| asn.cidr | number | Prefix length of the ASN block. |
| detection.* | bool | Per-category detection flags — see Detections below. |
| suggestion | string | "block" if any detection flag is true, otherwise "allow". |
The detection object contains six boolean flags. suggestion is
"block" when any flag is true — use the individual flags to build your own logic.
Classifies an IP by the type of connection behind it — mobile carrier, residential broadband, hosting/datacenter, VPN, Tor, iCloud Private Relay, business, bogon, or unknown when no signal fires at all. Where v2 answers “should I block this IP?”, v3beta answers “what kind of user is this?”. Responses are cached for one day. Reuses every v2 detection module and adds mobile/residential ASN lists plus a reverse-DNS pattern classifier.
X-RapidAPI-Key header like v2. Pin against the v3beta URL only for
experimentation; do not depend on field stability yet.
| Field | Type | Description |
|---|---|---|
| ip | string | The queried IP address (cleaned — ::ffff: prefix stripped). |
| error | null|string | Null on success. Error message on failure (400 for invalid IP). |
| asn | object|false | { number, name, network, cidr } — from the routing registry, or false for unrouted IPs. |
| classification | string | argmax(categories) — the single most-likely connection type. |
| confidence | number | [0..1] — the probability mass on the winning category. |
| categories | object | Full probability distribution — one entry per category (all 9, sums to 1). When no positive signal fires, all mass goes to unknown. |
| signals | object | Raw boolean detection flags (v2-compatible superset — lets callers apply custom logic). |
| evidence | string[] | Names of the rules that fired — useful for auditing and weight tuning. |
| suspicious | bool | Orthogonal axis — true if Spamhaus-listed OR ≥ 5 raw signals fired. Does not change the classification. |
| rdns | object|null | { hostname, category, match, apex, ispApex, hasMX, hasSPF } — the PTR lookup result plus apex-domain enrichment (MX and SPF presence). Null if no rDNS. hasMX/hasSPF are only ever true when ispApex is false, so consumer-ISP customer IPs never pick up false business signals. |
Each signal contributes weight toward one or more categories; the distribution is the normalised sum. Weights are a defensible starting point, not a calibrated model — expect tuning as v3beta sees production load.
| Signal | Category weights | Meaning |
|---|---|---|
| mobile_asn | mobile +5 | ASN is in the curated mobile-carrier list (e.g. T-Mobile USA, AS21928). |
| residential_asn | residential +5 | ASN is in the curated consumer-ISP list (e.g. Comcast, AS7922). |
| vpn_asn | vpn 1.0 (short-circuit) | ASN is on the curated vpn-asns list. Bypasses the weighted scorer entirely — the classification returns vpn: 1.0 directly, same exclusive-match path as bogon and tor_exit. |
| proxy_cidr | vpn +4, hosting −2 | IP is inside a known proxy/VPN CIDR block. |
| hosting_asn | hosting +4 | ASN is in the hosting/datacenter list. |
| cloud_cidr | hosting +3 | IP is inside a major cloud provider CIDR (aliased into hosting). |
| rdns_hosting | hosting +3 | PTR hostname matches a provider-owned TLD / pattern. |
| rdns_residential | residential +4 | PTR hostname matches a consumer-ISP pattern (dynamic pools, etc). |
| rdns_mobile | mobile +2 | PTR hostname matches a mobile-carrier pattern. |
| rdns_business | business +3 | PTR hostname matches a corporate-network pattern (.corp., .office., etc.). |
| rdns_corp_mx | business +4 | PTR's apex is NOT a consumer-ISP brand and the apex resolves to at least one MX record — strong evidence the domain belongs to a real organisation. |
| rdns_corp_spf | business +3 | PTR's apex is NOT a consumer-ISP brand and the apex publishes a v=spf1 TXT record. |
| no_other_signal | unknown +1 | Fallback when no positive signal fires — routes all mass to the unknown bucket rather than guessing residential. Triggered for unrouted IPs, un-announced allocations, and anything else the classifier has nothing to say about. |
Blackbox is a modern replacement for the now-discontinued proxy checking APIs
proxy.mind-media.com/block/ and shroomery.org/ythan/proxycheck.php.
The free v1 API is a direct continuation of the Shroomery.org project — a simple Y/N flag
for whether an IP is a likely proxy.
The rewrite added ASN-based detection (identifying entire hosting networks rather than individual IPs), Tor exit node data, cloud provider classification, Spamhaus integration, full IPv6 support, and the detailed v2 JSON format.
- my.ipinfo.app — Client IP detail page; uses Blackbox for VPN/proxy detection.
- IP-Lookup.org Proxy Checker — Web tool to check proxies, VPNs, and Tor nodes.
- SourceMod Blacklist/Whitelist Plugin — Game server plugin to block players by country or proxy status.
- FoxGate — Minecraft server proxy and firewall using Blackbox for connection filtering.
- XenForo Proxy Check Add-on — Blocks forum registrations from proxies and VPNs.
- IMC '21 Research Paper — "Residential Proxies: A Deep Dive into the Growing Anonymity Service."
Returns uptime, status, and server timestamp. No auth required.
The v1 API is free and unlimited. If it saves you time or keeps your service safer, consider supporting continued development.
♥ Donate