I'm trying to get information about the user country and currency through his IP address:
B4X:
Dim job4 As HttpJob
job4.Initialize("", Me)
job4.Download("https://ipapi.co/102.125.203.109/json/")
ProgressDialogShow("please wait ..")
Wait For (job4) JobDone(job4 As HttpJob)
If job4.Success Then
res = job4.GetString
Log(res)
End If
the result is : {"error": true, "reason": "RateLimited", "message": "Please contact or sign-up for IP Location @ https://ipapi.co"}
Note that the site does not require login or API.
Note that the site has Limits and also Paid plans.
Also note that all users who are using this api count into the free plan. Means: not only you. All other people on the world using this Api without an Apikey.
Enterprise IP Location by Kloudend, Inc - built on AWS, trusted by Fortune 500. Free geolocation API for JSON, XML in PHP, JS, Java, Python, Node & more.
There is a method that I don't prefer to use is to read the code from the page, as in this example, and then draw the results.
Better to try another website to get the information via the IP.