Resolve any address to a country and city from the local MaxMind database, or read the caller straight off the Cloudflare edge. Country accuracy runs ~99%; city is honest about being lower, and nullable fields never pretend otherwise.
Why it works_
Where is this request coming from — really
Two resolution paths
The edge driver reads the caller from Cloudflare headers; the database driver places any arbitrary IP you supply. Neither can be misused as the other.
Honest precision
Country is near-certain, city is 60–70% and often null. The response says so instead of inventing a city.
No raw IP stored
Request logs keep a salted hash of the address, never the address itself.
One call, these response blocks.
This page maps to these blocks of the same response every other page reads:
- Geo & IP
- Network & fraud
curl "https://api.localesense.com/v1/lookup?ip=203.135.62.10" \
-H "Authorization: Bearer ls_live_..."
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- Geo PK · Karachi · under 50ms
- Risk 12/100 · no VPN · BIN match
Keep exploring_