Get the full information of a given IP address
Changed onUse this API to retrieve comprehensive information about a given IP address. It provides details such as location, ISP, and potential risk factors, enabling you to analyze and verify IP data for enhanced security, fraud prevention, and user profiling.
Request
- Base URLhttps://v2.greipapi.com
- URLhttps://v2.greipapi.com/lookup/ip/{ip}
- AuthHTTP bearer
Path parameters
IPv4 or IPv6 address (URL-encoded if needed).
Query parameters
The params command selects optional response modules. Basic ip and geo fields are always included.
Recognized module names: security, currency, timezone, location, and/or device.
Unrecognized tokens are accepted but do not add modules.
Sample value: security,timezone,currency.
The lang command is used to get a response in a specific language.
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.
The format command is used to get a response in a specific format.
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.
Optional amount string used by usage and rate-limit gates.
The user_id query parameter identifies requests from specific users for monitoring in the Events page. See the user identifier options page for details.
Response
OK
Example response
{
"success": true,
"data": {
"asn": {
"number": "AS15169",
"cidr": "8.8.8.0/24"
}
},
"execution_ms": 42
}Changes
- info
api tag
Lookupadded - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameteramount - info
added the media type
application/jsonfor the response with the status
- info