lit icon indicating copy to clipboard operation
lit copied to clipboard

Use IP2Location.io to get public IP

Open ip2location opened this issue 1 year ago • 0 comments

If you're having problems getting your public IP, you can try the below endpoint.

https://ip2location.io/ip

It just returns a plain text with the IPv4 or IPv6 address.

If you need JSON as well as other basic geolocation data, you can try the below endpoint.

https://api.ip2location.io/

ip2location avatar Aug 02 '24 02:08 ip2location