How each product works
How to use IP Intelligence
What IP Intelligence takes in, which fields it returns and how credits are charged for each lookup.
What it does
Location and network details for an IPv4 or IPv6 address (country, region, city, time zone, ASN and network owner) with risk flags from open lists such as Tor exit nodes and cloud provider ranges. Location data comes from DB-IP Lite (CC BY 4.0) and must be credited wherever results are shown.
What you send
Send these fields in the JSON body of the request.
| Field | Type | Required | Limits |
|---|---|---|---|
| ip | string | Required | up to 100 characters |
Request fields for IP Intelligence
What you get back
The data object of a successful response carries these fields. Every response also lists its sources, the credits_charged and whether it was a cache_hit.
Each field is described in the API reference.
| Field | Type |
|---|---|
| ip | string |
| version | number |
| country | string |
| region | string |
| city | string |
| latitude | number |
| longitude | number |
| timezone | string |
| asn | integer or null |
| asn_org | string |
| is_hosting | boolean |
| hosting_provider | string |
| is_tor | boolean |
| is_vpn | boolean |
| risk_score | integer |
| risk_factors | list |
| attribution | string |
Response fields for IP Intelligence
What it costs
1 credit per lookup.
| Case | Charge |
|---|---|
| Found | 1 credit |
| Nothing found | 0 credits |
| Repeat inside 7 days | 0 credits |
| Errors and invalid requests | 0 credits |
What each outcome costs
Run it
You can try it without an account in the free tool. The free tools share a limit per visitor.
From code, send a POST request to https://YOUR_API_HOST/v1/ip with your API key.
curl -X POST https://YOUR_API_HOST/v1/ip \
-H "Authorization: Bearer $LOOKVALID_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'
A request to IP Intelligence
Full parameters and response fields are in the API reference. To run a list of values, use a bulk CSV job.
Good to know
- A repeat of the same lookup within 7 days is served from your cache and costs 0 credits.
- When the lookup finds nothing it returns
found: falseand costs 0 credits. - Invalid input and errors are never charged.
- The API allows 200 requests per 10 seconds per key.
Related
Still stuck? Write to hello@lookvalid.com.