Woosmap Geolocation API can provide the location of your users thanks to IP address of their devices.
Woosmap Geolocation API Documentation
Response
The Response is a formated JSON containing the keys: country_code
, country_name
, continent
, city
, region_state
, latitude
, longitude
, accuracy
and viewport
.
latitude
and longitude
values are approximate latitude and longitude of the geographical area associated with the IP address.
Accuracy
The API Response provide an approximate accuracy radius, in kilometers, around the latitude and longitude associated with the IP address.
Please note that Woosmap Geolocation API is more accurate for broadband IP addresses and less accurate for cellular networks .
However, it is close to 100% accurate on a country level.