Skip to content

Use cases_

Bot & VPN detection

Flag datacenter, VPN and Tor traffic before it costs you.

Not every visitor is a customer. Identify requests coming from hosting providers, commercial VPNs and Tor exit nodes, and fold that into a risk score — to protect signups, gate abuse and keep your funnel metrics honest.

Why it works_

Know who is hiding

01

Datacenter & hosting

The strong signal: cloud and hosting ASNs identified by number and organisation.

02

VPN & Tor

Commercial VPN egress and live Tor exits, refreshed hourly.

03

One score

Every anonymity signal rolled into a transparent 0–100 number.

The data behind it

One call, these response blocks.

This page maps to these blocks of the same response every other page reads:

  • Network & fraud
bot-vpn-detection.sh
curl "https://api.localesense.com/v1/lookup?ip=52.94.236.248" \
  -H "Authorization: Bearer ls_live_..."
In practice

What your code sees, per request.

The sample on the right is the shape of the real response for a visitor in Karachi — every value attributable, nothing guessed. Point the same call at any of the 197 markets.

Try it live in the docs
GET /v1/self 200 OK · sample
  • Risk 12/100 · no VPN · BIN match

Keep exploring_

Related use cases

FAQs

Bot & VPN detection — frequently asked

How do I detect if a visitor is using a VPN or proxy?

Look the address up and read its network posture. We resolve the ASN and organisation and match against hosting providers, commercial VPN egress and live Tor exit nodes, returning each signal plus a composite score so you know when someone is masking their origin.

Can I block bots and datacenter traffic at signup?

Yes — datacenter and hosting ASNs are the strongest anonymity signal, and surfacing them on the registration path lets you gate abuse, throwaway signups and scripted traffic before they pollute your funnel or your free tier.

How often is the VPN and Tor data refreshed?

Tor exit nodes and commercial VPN ranges shift constantly, so that data is refreshed hourly. A stale anonymity list is worse than none, because it gives false confidence.

Get started

Try it free

10,000 requests a month, no card. Every tier includes live FX and the full formatting engine.

Get your API key