---
title: "IP Intelligence API"
url: "https://lookvalid.com/products/ip.md"
canonical_url: "https://lookvalid.com/products/ip"
last_updated: "2026-10-22"
type: "product"
summary: "Location and network details for an IPv4 or IPv6 address."
related: ["https://lookvalid.com/pricing.md", "https://lookvalid.com/docs/api/ip.md"]
---

# IP Intelligence API

Location and network details for an IPv4 or IPv6 address.

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.

## Facts

- Endpoint: `POST https://YOUR_API_HOST/v1/ip`
- Price: 1 credit per lookup
- Charged: Only when a lookup finds something
- Cache: repeating the same lookup within 7 days is free

## Example request

```sh
curl -X POST https://YOUR_API_HOST/v1/ip \
  -H "Authorization: Bearer $LOOKVALID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip":"203.0.113.7"}'
```

## Response

The `data` object has 17 named fields. Every response also lists the sources behind the result, the credits charged and whether it was served from your cache.

| Field | Type | Description |
| --- | --- | --- |
| `ip` | string |  |
| `version` | 4 or 6 |  |
| `country` | string or null | ISO 3166-1 alpha-2 country code |
| `region` | string or null |  |
| `city` | string or null |  |
| `latitude` | number or null |  |
| `longitude` | number or null |  |
| `timezone` | string or null | IANA time zone name; null when the location source does not carry one (DB-IP Lite does not) |
| `asn` | integer or null | Autonomous system number |
| `asn_org` | string or null | Organization that holds the ASN |
| `is_hosting` | boolean | True when the address is inside a published cloud or hosting provider range |
| `hosting_provider` | string or null |  |
| `is_tor` | boolean | True when the address is on the Tor Project exit list |
| `is_vpn` | boolean or null | Always null in this release: no VPN data source with resale-compatible terms is installed, so VPN status is unknown |
| `risk_score` | integer |  |
| `risk_factors` | array of object |  |
| `attribution` | "IP geolocation by DB-IP" |  |

## Priced in credits

| Case | Charge |
| --- | --- |
| Found | 1 credit |
| Nothing found | 0 credits |
| Repeat inside 7 days | 0 credits |
| Errors and invalid requests | 0 credits |

## Questions

### How much does IP Intelligence cost?

1 credit per lookup. Credits come out of the one balance shared by every LookValid product.

### Am I charged when nothing is found?

No. When the lookup runs and finds nothing, it returns found: false and costs 0 credits. An error costs nothing either.

### How long are results cached?

For 7 days, per account. Repeating the same lookup inside that window returns cache_hit: true and costs 0 credits.

### Which API key do I use?

The same key as every other product. Send it as a Bearer token in the Authorization header. Email hello@lookvalid.com and we set up your account and send the key.

## Related products

- [Phone Numbering-Plan Validation](https://lookvalid.com/products/phone.md): Checks a phone number against its country's numbering plan and returns E.164, national and international formats, the country and the number type the plan assigns (mobile, fixed line, toll free, VoIP and others).
- [Country Calling Codes](https://lookvalid.com/products/country-code.md): Looks up a country by calling code (+44), ISO region (GB) or English country name and returns the calling code, every region that shares it, national number lengths, trunk and international dialing prefixes, example numbers and the leading digits of mobile and fixed-line numbers where the numbering plan defines them.
- [Email Domain Check](https://lookvalid.com/products/email-domain-check.md): Checks the domain behind an email address: MX records, SPF and DMARC policies, and whether the address uses a disposable domain, a free mailbox provider or a role mailbox such as info@ or support@.

Full request and response fields: [IP Intelligence reference](https://lookvalid.com/docs/api/ip.md).

## Related

- [Plans, trial and credit pricing](https://lookvalid.com/pricing.md)
- [IP Intelligence reference](https://lookvalid.com/docs/api/ip.md)
