Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
How to get the user's country without requesting it to other web services?

I have to develop a service similar ( but different ) to these:

whatismyipaddress.com

iplocation.net

So, how can I get the country of the users by using their ip address and without using external web services ?

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

Try Geo IP Location . It uses offline database. But it won't be 100% accurate.

over 4 years ago · Santiago Trujillo Report

0

You can use ip to country data base. you can get it from Maxmind, IP2Location, software77, Maxmind, Geolite, ip2nation. some of free and some is paid. you can buy database from here.

over 4 years ago · Santiago Trujillo Report

0

Well, you will always need a third party, you might need to make a dictionary for countries allocated IP ranges and check for each visit the range it belongs to. This also won't be accurate 100%, but maybe 95%. A website that gives ip ranges to begin with: https://www.countryipblocks.net/country_selection.php

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!