ip-locator.xyz

IP Locator

Get location information for client IP address or provided IP address.

This service is designed to be used as an API in your scripts or programs.

For example:

To get your location information for your IP in plain text format response with curl:

curl -s https://ip-locator.xyz/text/client > record

To download a PNG format flag for your IP location with curl:

curl -s https://ip-locator.xyz/flag/client > flag.png

Data provided by IP2Location.

Flags are provided by FlagsAPI.