Geolocate user's location information via IP address
get/
Request
- Base URL: https://api.ip2location.io
- URL: https://api.ip2location.io/
- Auth: none declared
Query parameters
keystring
API key.
ipstring required
Example:8.8.8.8
IP address (IPv4 or IPv6) for reverse IP location lookup purposes. If not present, the server IP address will be used for the location lookup.
format'json' | 'xml'
Format of the response message.
lang'ar' | 'cs' | 'da' | 'de' | 'en' | 'es' | 'et' | 'fi' | 'fr' | 'ga' | 'it' | 'ja' | 'ko' | 'ms' | 'nl' | 'pt' | 'ru' | 'sv' | 'tr' | 'vi' | 'zh-cn' | 'zh-tw'
Translation information. The translation only applicable for continent, country, region and city name. This parameter is only available for Plus and Security plan only.
Response
Get response from IP lookup
Changes
No recorded changes to this operation across all 1 revision of this API.