The Data Group

IP Lookup Tutorial


P Lookup is a real-time solution for retrieving information about the owner of a given IP Address.

IP Lookup URI

The IP Lookup URI accepts an IP Address and returns the owner’s name and address.

Required Information

The IP Lookup URI requires you to have an Authorization Token. If you have not retrieved an Authorization Token yet, follow the Authorization Tutorial before continuing. The IP Lookup URI, like all of the solution URIs, also requires you to have an API Key. If you do not know your API Key, contact support to retrieve it. The API Key should be provided in the request header with the header attribute: x-api-key The IP Lookup URI must be used with a POST request, where the request payload contains the IP Address to look up.

Request URL

The URL for the IP Lookup URI is:{version}/sync/lookup/ip, where {version} is the API Version you wish to use.

Request Headers
Header AttributeHeader Value
x-api-key{your api key}
AuthorizationToken{your authorization token}
Request Payload

The request payload for the IP Lookup URI must contain the ip attribute.

{ "ip": "" }
cURL Example

To query the IP Lookup URI, you can use one of the provided SDKs, a REST Client, or a simple cURL command. Below is an example of the cURL command for the example input information.

curl -X POST -H "Content-Type: application/json" -H "AuthorizationToken: {your_token}" -H "x-api-key: {your_key}" -H "Cache-Control: no-cache" -d '{ "ip": "" }' ""
Response Payload

The response payload for the IP Lookup URI will contain the name and address information of the person associated with the request IP Address.

{ "first_name": "Richard", "last_name": "Young", "address": { "street_number": "4689", "street_name": "Lakewood", "s