1⃣
Custom Modules Response
You can use the API by specifying the needed modules only (except the basic modules). For example, you can get only the user device information without getting the timezone. This can be done by passing the
params
parameter to the request, just like this:https://gregeoip.com/GeoIP?key=1234567890¶ms=security
You can also pass multiple modules to the parameter by separate the needed modules with a comma:
https://gregeoip.com/GeoIP?key=1234567890¶ms=timezone,currency,security
Here is a list of the possible values you can use:
Module | Description |
---|---|
security | Retrieves the security threats of an IP Address. |
timezone | Retrieves the timezone information from the IP Address location. |
currency | This option can be used to get more information about the user country's currency, such as the currency symbol and its name. |
device | Use this value to get the device information of your visitors, such as the browser and the operating system. |
Last modified 2mo ago