GET /

ip2location.com:geolocation

Summary:
Operation ID:
Auth: unknown
Description

Get geolocation information via IP address

Parameters (6)

addon (array, query, optional)

Extra information in addition to the above selected package.

format (string, query, optional)

Format of the response message.

Constraints: {'enum': ['json', 'xml']}

ip (string, query, required)

IP address (IPv4 or IPv6) for reverse IP location lookup purpose. If not present, the server IP address will be used for the location lookup.

key (string, query, required)

API Key. Please sign up free trial license key at ip2location.com

lang (string, query, optional)

Translation information. The translation only applicable for continent, country, region and city name for the addon package.

Constraints: {'enum': ['ar', 'cs', 'da', 'de', 'en', 'es', 'et', 'fi', 'fr', 'ga', 'it', 'ja', 'ko', 'ms', 'nl', 'pt', 'ru', 'sv', 'tr', 'vi', 'zh-cn', 'zh-tw']}

package (string, query, optional)

Web service package of different granularity of return information.

Constraints: {'enum': ['WS1', 'WS2', 'WS3', 'WS4', 'WS5', 'WS6', 'WS7', 'WS8', 'WS9', 'WS10', 'WS11', 'WS12', 'WS13', 'WS14', 'WS15', 'WS16', 'WS17', 'WS18', 'WS19', 'WS20', 'WS21', 'WS22', 'WS23', 'WS24', 'WS25']}

No probe data for this endpoint yet.