- Canvas / WebGL fingerprint
- Audio fingerprint
- Font detection
- WebGPU analysis
- Client Hints
IP Address API
The WHOX IP address API returns geolocation, VPN, proxy and Tor signals for each visitor IP. The free tier covers 1,000 requests; access is by invitation.
Work in progressREST API v1
Work in progressThe public API is still in active development. Endpoints, schemas and pricing on this page describe the target shape; access is currently invite-only and the response contract may change before v1 is frozen. Email api@whox.com to join the early-access list.
Quick Start
Client → SDK → API → Analysis → Result
- Get your API key
- Integrate JS SDK on page
- Send fingerprint to backend
- Receive analysis results
// In the browser: collect, with no API key on the page
const whox = new WhoxSDK();
const fp = await whox.collect();
// Send it to your backend, which calls WHOX with your key
const res = await fetch('/api/verify', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ fingerprint: fp })
});
// Read the result your backend passed on
const { scores, why } = await res.json();Endpoints
/v1/fp/ingestSubmit fingerprint data and receive req_id for subsequent requests
Fingerprint, GeoIP, TLS/JA3
/v1/fp/result?req_id={req_id}Retrieve full analysis results by req_id
Trust Score, VPN/Proxy, Detection
/v1/fp/deepStart deep scanning (DNS, WebRTC, behavior)
DNS Leak, WebRTC, Behavior
/v1/fp/deep/stream/{req_id}SSE stream for deep scan progress and results
Real-time, SSE, Events
Capabilities
Response Format
{
"req_id": "r_eu_1790849642860_1_a4fb01d8…",
"rev": 1,
"status": "fast_done",
"scores": {
"trust": 49,
"fingerprint": 49,
"consistency": 92,
"anonymizer": 26,
"bands": { "trust": "bad", "fingerprint": "bad", "consistency": "good", "anonymizer": "bad" }
},
"why": [
{ "code": "A", "delta": 74, "all_reasons": [{ "code": "A19", "delta": 8, "params": { "flags": "webdriver, headless" } }] }
],
"screening": { "ipv6_leak": false, "...": "…" },
"ip_card": { "ip": "203.0.113.7", "asn": 64500, "country": "TH", "is_vpn": false, "is_datacenter": false },
"fp_digest": "99ded1f9637ed44c…"
}Pricing
Free
1,000 requests
Pro
50,000 requests
Enterprise
Unlimited requests
Start with the free tier or contact us for an enterprise solution
Answers
Is IP API free?
The WHOX API has a free tier of 1,000 requests with the fast scan and the basic fingerprint. The API is in early access: endpoints and schemas on this page are the target shape, and keys are issued by invitation while the response contract settles before the first stable version.
| Plan | Price | Requests | What is included |
|---|---|---|---|
| Free | $0 a month | 1,000 | Fast scan, basic fingerprint, email support |
| Pro | $99 a month | 50,000 | Deep Scan, full fingerprint, webhooks, priority support |
| Enterprise | Custom | Unlimited | Dedicated infrastructure, SLA 99.99%, custom integration, account manager |
The free tier is enough to compare the scores against your own record of good and bad sessions before you pay for anything.
Which IP geolocation API is the best?
It depends on what you need the location for. To place any address at scale, take a dedicated geolocation database. To judge the visitor in front of you, location alone misleads: a VPN in the right country looks clean, so WHOX checks whether the timezone, the language, DNS and the browser agree with the IP.
How accurate are IP geolocation databases?
The country is right for nearly every address. The city is an estimate, typically within 50 km, and mobile carriers, CGNAT, VPNs and corporate networks pull it to wherever the operator registered the block. That is why the API checks location against timezone, language, DNS and the browser instead of trusting it.
What is proxy detection and how does it work?
It decides whether a visitor reaches you through someone else's address. Lists of datacenter ranges and known VPN exits catch the easy cases. Residential proxies are not on such lists: MaxMind catches 0% of them and IPQS 24%. So the API checks whether the session agrees with itself: timezone and language against the IP country, the TLS fingerprint against the user agent, the tunnel's packet size.
How do I get the client IP address in an API request?
Read the address of the connection on your server. Behind a proxy or CDN, read the header it adds (X-Forwarded-For, or CF-Connecting-IP behind Cloudflare), and trust that header only when it comes from your own proxy: anyone can send it.
Questions
Is there a free IP lookup API?
There are two different jobs behind this question. One is looking up any address: where it is, who owns it, whether it is a known VPN. Many lookup services offer a free plan with a request limit for that. The other job is judging the visitor in front of you: is this a real person on a real device, or a VPN, proxy, Tor, datacenter or antidetect browser pretending to be one. That is what the WHOX API does, for the sessions on your own site.
For a single manual check of any address, the IP lookup page is free and needs no key.
Can you get geolocation from an IP address?
Yes, approximately. Databases map address ranges to places using registry records, network host names, routing data, latency from known points and user corrections. For most connections the accuracy is within 50 km. Mobile carriers, content delivery networks and recently moved ranges are the usual reasons a location is off.
Where can I get the best IP address location data?
From a dedicated geolocation database, if you need the location of any address at scale. Country is reliable everywhere, the city often but not always. For fraud checks location alone misleads: a VPN in the right country looks clean, so the API checks whether timezone, language, DNS and the browser agree with it.
What the WHOX API actually does (and where it doesn't fit)
Most fraud-detection APIs sell themselves as a black box. Send data, receive a verdict. Which signals counted, which weight tipped the score, what a false positive costs you, all of it stays vague. WHOX takes the other path. The signals are documented, latency is published, the response shape is stable, and a free tier lets you compare against your own log of confirmed-good and confirmed-bad sessions. This page covers what the API solves at a technical level: fingerprint extraction, anonymizer detection, behavioral analysis, leak diagnostics. It also covers where the API stops short of being the right tool. Integration takes around thirty minutes if a backend route to attach the verdict already exists.
Architecture in plain terms
The API splits across two boundaries on purpose. The browser SDK collects fingerprint material. Canvas, WebGL, WebGPU, audio context, font lists, JA4 / TLS handshakes, behavior. And it posts that material to your own backend, not directly to WHOX. Your backend forwards the payload to /v1/fp/ingest with a server-side API key.
Two reasons for the split. First, a browser key would leak in DevTools the moment a curious user opens them; the server-side key never lives outside your infrastructure. Second, the verdict is most useful exactly when your backend is about to commit something: create an account, accept a payment, post a comment. Coupling the verdict to your existing trust boundary means the result lands where it needs to, not in some side channel nobody is watching. It's the same principle that keeps the cardiac monitor in the operating room and not at the front desk.
The req_id returned by the ingest call lets you fetch the full result later or stream incremental signals over SSE. For deep scans (DNS leak, WebRTC candidates, real IP exposure) the timeline stretches to a few seconds. SSE keeps the user staring at a progress bar instead of a hung spinner.
What ships in the response, and why exactly that
The standard response carries scores: the Trust Score and its three axes (fingerprint, consistency, anonymizer), each 0 to 100 with its band: good, warn or bad. The score is intentionally not a binary good/bad. Binary verdicts force every customer into the same threshold, and the right cutoff for a payment processor is wildly different from a comment system. The axes let you weight categories yourself: anonymizer-heavy threat models care about VPN/Proxy/Tor signals, abuse teams care about behavioral and consistency.
why explains the score: an entry per axis with the checks that moved it, each with a stable code, its points and its parameters (datacenter IP, automation detected, headless browser, residential proxy heuristics). Log them. After two or three weeks of traffic, you'll have your own ground truth and can recalibrate your thresholds against your observed conversion. screening carries the measurements behind the checks.
There's also fp_digest: a stable hash you can use to detect 'same device, different session' without storing the underlying fingerprint material. Most integrations store the digest and the reasons and discard the rest.
Latency budget, where the 50 ms goes
The published target is sub-50ms p95 for the fast path: /ingest plus /result against a warm cache. Behind the curtain, the budget breaks down roughly. 4 to 8 ms for TLS plus geo-routing to the nearest edge. 6 to 12 ms for ingest-to-result over the WHOX-internal queue. 10 to 25 ms for signal extraction and scoring. The remainder is your own network egress.
Two behaviors will blow this out. Cold ingests against rare regions can spike to 80 to 120 ms when no warm node serves the user's city. Edge presence helps, the user's residential ISP routing helps more.
The other hot spot is the deep-scan path, /fp/deep. DNS resolution, WebRTC candidate enumeration, and real-IP leak probes are bound by the user's network, not by ours. The work happens in the user's house, not ours. Those calls routinely take 1.5 to 4 seconds. Don't put deep-scan on the critical path of a checkout flow. Use it on signup, on first login from a new device, on suspicious behavioral signals. Places where you can show a 'verifying' UI without breaking conversion. Most customers run deep-scan once per device-fingerprint pair and cache the verdict for the session.
When this API isn't the right tool
Three cases where WHOX is the wrong fit.
First, payment-card fraud at scale. Vendors who ingest the entire purchase context (cart contents, billing history, BIN data) and run dedicated risk scoring will outperform any general-purpose fingerprint API on that narrow problem, because the signal mix is fundamentally different.
Second, regulated identity verification. KYC and AML need document scanning, biometric liveness, and database lookups against sanctioned-persons lists. WHOX detects whether a session looks like a real human on a real browser. It doesn't verify who that human is.
Third, low-traffic experimental products. If you're seeing dozens of signups a day, the free tier covers it, but the integration cost stays the same whether you have ten signups or ten million: backend route, monitoring, calibration on your own data. Hand-rolled IP reputation against a free DNSBL plus a basic User-Agent allowlist can cover the early-stage version. Spend the integration time when fraud loss starts crossing the cost of the engineer-week required. The math is uncomfortable but consistent: the API is cheap, the integration is the actual price.