IP address and Country

Martin Koob mkoob at rogers.com
Mon Nov 14 23:22:15 EST 2022

You can use a website with a api that you send a HTTP request with an IP address parameter to and which returns the country info.

Here is an example I found of one site.


HTTP Request

GET https://ipapi.co/{ip}/{format}/

URL Parameters

Parameter	Description
ip			An IP address for which you want to retrieve the location
format		Data format of response, possible values are json, jsonp, xml, csv, yaml



It is free for up to 30K requests per month,  after that there is a fee.


Martin Koob
> On Nov 14, 2022, at 9:34 PM, harrison--- via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi Bob,
> Yes, that website illustrates what I’m trying to do, but
> I really need my own code for this.
> Thanks for the suggestion anyway.
> Rick
>> On Nov 14, 2022, at 7:57 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Is that a fixed thing? Can it ever change? Seems like there must be a web site for that. I found https://www.ipvoid.com/ip-to-country/ <https://www.ipvoid.com/ip-to-country/>. They may license the tool that does this.
>> Bob S
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list