Endpoint
The endpoint for the IP Enrichment API ishttps://api.peopledatalabs.com/v5/ip/enrich.
IP Enrichment API Access and Billing
When the IP Enrichment API finds a matching IP address, it returns the IP record along with an HTTP response code of200. When it doesn’t find a matching IP, it returns an HTTP response code of 404. We charge per match.
Requests
See Authentication and Requests sections to see all possible ways to input a request. We recommend using a JSON object to capture input parameters and will do so in the examples.Rate Limiting
Our default limit for free customers is 100 per minute. Our default limit for paying customers is 1,000 per minute.Input Parameters
For more details, see Input Parameters - IP Enrichment APIYou can also click on the individual parameter names in the table below to view more information on them.
| Parameter Name | Description | Example |
|---|---|---|
ip | The IP address to enrich in IPv4 or IPv6 format. | 72.212.42.169 |
api_key | Your secret API key. Note: You can also provide this in the request header instead, as shown on the Authentication page. |
Additional Input Parameters
You are not required to use the following additional input parameters. They generally transform or control various aspects of the enrichment process (returning matches or formatting results).Output Response
We return in the API response the ip record along with a200 HTTP response code. If we do not find a match, we return a 404 HTTP response code.
Response Fields
For more details, see Output Response - IP Enrichment APIYou can also click the field names in the table below to view more information on them.
Full Example Response
The response from the IP Enrichment API will be in this format:JSON
Errors
If the request encounters an error, it will instead return an Error Response in the format described in Errors. In general, the error codes are ubiquitous across products with one exception. The IP Enrichment API will return a 400 in situations where the IP address is known to be a Hosting Provider, Proxy, Tor, Relay, or Service. These IP addresses cannot be resolved to a specific company.JSON
