IP Geolocation
This API allows you to retrieve detailed geolocation information for a visitor’s or user’s IP address.
By using the IP Geolocation method, you can access data such as the user’s country, city, ISP, and more, enabling you to personalize user experiences, enhance security, and make data-driven decisions based on geographic insights.
Query Parameters
The params command can be used to specify the required modules you want to get in the response.
Expected values: security
, currency
, timezone
, location
, and/or device
Sample value: security,timezone,currency
For more information please refer to Customize response modules.
The format command is used to get a response in a specific format.
Expected values: JSON
, XML
, CSV
, or Newline
For more information please refer to Response Format.
The lang command is used to get a response in a specific language.
Expected values: EN
, AR
, DE
, FR
, ES
, JA
, ZH
, or RU
For more information please refer to Localization.
The mode command is used to in the development stage to simulate the integration process before releasing it to the production environment.
Expected values: live
, or test
.
For more information please refer to Development Environment.
The userID command can be used to identify requests sent by specific users to monitor in the Events Page.
Expected values: email address, phone number, user id, name, etc.
For more information please refer to User Identifier.
The callback command can help you make the response as a JSONP format.
Expected values: any name that can be used as a function name in Javascript, e.g: myFunctionName
.
For more information please refer to JSONP Callback.
Response properties
Was this page helpful?