IP
Look up an IP address
Find the country, region, city, network (ASN) and organization behind an IPv4 or IPv6 address, and whether it belongs to a data center or Tor.
- IP version
- IPv4
- Country
- United States (US)
- Region
- California
- City
- Mountain View
- ASN
- AS15169
- Organization
- Google LLC
- Network type
- Hosting or cloud
- Tor exit node
- No
- Data center
- Yes
- Risk score
- Unlock with a free account
- VPN and proxy flags
- Unlock with a free account
- Bulk CSV upload
- Unlock with a free account
- API access
- Unlock with a free account
How to read the result
The header shows the address you checked. It is marked as risky when the address is a Tor exit, sits in a data center, or carries a VPN or proxy flag.
| Field | What it means | What to do with it |
|---|---|---|
| IP version | IPv4 or IPv6. |
Nothing by itself. Keep both versions in mind when you allowlist or block. |
| Country | The country of the address block, from IPinfo Lite, with its ISO 3166-1 alpha-2 code. | Base location rules on this field rather than on the city. |
| Region | State, province or region, from DB-IP Lite. | Approximate. Fine for analytics, weak for enforcement. |
| City | The city, from DB-IP Lite. "Not available" when the database has none. | A hint, not an address. It can be the network operator's location rather than the user's. |
| ASN | The autonomous system number of the network that announces the block. | Use it with the network type to group traffic by network. |
| Organization | The name registered for that ASN. | It can be a legal entity rather than the brand you know. |
| Network type | Our classification of the ASN: Hosting or cloud, Internet service provider, Mobile network, Business, Education, Government or Unknown. | Hosting means servers, not people at home. Mobile means many users can share an address. |
| Tor exit node | Yes when the address is on the Tor Project's list of exit relays. |
The user's real address is hidden. Decide whether your flow allows anonymous access. |
| Data center | Yes when the network type is Hosting or cloud. |
Expect scripts, crawlers, VPN servers and proxies. Normal for API clients, unusual for a consumer checkout. |
| Risk score | Locked. One number from 0 to 100 with a level: low, medium or high. | Needs a free account. See the risk score documentation. |
| VPN and proxy flags | Locked. Best-effort flags for addresses in known VPN and proxy provider networks. | Needs a free account. A No does not prove the user is not on a VPN. |
| Bulk CSV upload | Locked. Runs this lookup over a CSV of up to 2,000,000 addresses. | Needs a free account. |
| API access | Locked. POST /ip returns every field above, risk and flags included, for 1 credit per address. |
Needs a free account, which includes 100 credits every month. |
How the check works
- The tool parses the address. IPv4 must be in dotted decimal without leading zeros. IPv6 can be full or compressed, and is normalized to the canonical text form of RFC 5952: lowercase, no leading zeros, the longest run of zero groups shortened to
::. - It checks the address against the IANA special-purpose registries described in RFC 6890. Private, loopback, link-local, documentation, multicast and other ranges that are not globally reachable are rejected with the range's name and RFC. The API answers them with HTTP 422
unprocessable_input, which is not billed. - It finds the range that contains the address in two databases: IPinfo Lite for the country and the ASN, DB-IP Lite for the region and the city.
- It reads the ASN's registered organization and our classification of the network. A network classified as hosting sets the data center flag.
- It checks the address against our copy of the Tor Project's bulk exit list.
- The same lookup checks known VPN and proxy networks and computes the risk score. On this page those fields stay locked until you create a free account.
What the lookup cannot know:
- Where the user physically is. The location belongs to the block, and a block can serve a whole region, a country or, for anycast, the world.
- Who is behind the address. It returns network information, never a name, a street address or an account.
- Whether a residential address is used as a proxy. Residential proxy networks route traffic through ordinary home connections, which look like any other ISP address.
- Changes since the last data release. A block that was sold or reassigned keeps its previous country, city and owner until the databases publish the change and our copy picks it up.
IPv4 and IPv6 notation
IPv4 addresses are 32 bits, written as four decimal octets. IPv6 addresses are 128 bits, written as eight groups of one to four hexadecimal digits (RFC 4291 section 2.2), with RFC 5952 defining one canonical way to write each address.
| You type | What happens | Why |
|---|---|---|
203.0.113.42 |
Accepted as IPv4 | Standard dotted decimal. |
203.000.113.042 |
Rejected | Leading zeros are ambiguous: some software reads them as octal. |
2001:0DB8:0000:0000:0000:0000:0000:0001 |
Normalized to 2001:db8::1 |
RFC 5952: lowercase, leading zeros dropped, the longest run of zero groups replaced by ::. |
2001:db8:0:0:1:0:0:1 |
Normalized to 2001:db8::1:0:0:1 |
When two runs of zeros are equally long, RFC 5952 shortens the first one. |
::ffff:203.0.113.42 |
Read as an IPv4-mapped IPv6 address | RFC 4291 section 2.5.5.2 embeds the IPv4 address in the last 32 bits. |
[2001:db8::1] or 2001:db8::1%eth0 |
Rejected | Brackets belong to URLs and zone indexes to local interfaces, not to the address. |
The documentation addresses in these examples are themselves rejected by the lookup, because they are reserved for examples. That is the next table.
Addresses with no public location
These ranges come from the special-purpose address registries that RFC 6890 set up. They are not routed on the public internet, or they are reused in separate networks everywhere, so no database can give them a location. The tool rejects them and tells you which range matched.
| Range | Name | Defined in | Where you meet it |
|---|---|---|---|
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 |
Private use | RFC 1918 | Home and office networks behind a router. |
100.64.0.0/10 |
Shared address space | RFC 6598 | Between an internet provider's carrier-grade NAT and its customers. |
127.0.0.0/8 and ::1 |
Loopback | RFC 1122, RFC 4291 | The machine talking to itself. |
169.254.0.0/16 and fe80::/10 |
Link-local | RFC 3927, RFC 4291 | A device that got no address from DHCP, and every IPv6 interface. |
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 |
Documentation | RFC 5737 | Examples in documentation, like this page. |
2001:db8::/32 and 3fff::/20 |
Documentation | RFC 3849, RFC 9637 | IPv6 examples. |
fc00::/7 |
Unique local | RFC 4193 | Private IPv6 networks. |
198.18.0.0/15 |
Benchmarking | RFC 2544 | Network test labs. |
224.0.0.0/4 and ff00::/8 |
Multicast | RFC 5771, RFC 4291 | One-to-many traffic, never a single host. |
240.0.0.0/4 |
Reserved | RFC 1112 | Set aside for future use. |
0.0.0.0/8 and :: |
This network, unspecified | RFC 791, RFC 4291 | Placeholders used before a device has an address. |
A few special-purpose ranges are globally reachable, such as the 6to4 block 2002::/16. Those are looked up normally.
Where each field comes from
| Field | Source | License |
|---|---|---|
| Country, ASN, Organization | IPinfo Lite | CC BY-SA 4.0 |
| Region, City | DB-IP Lite | CC BY 4.0 |
| Network type, Data center | Our classification of each ASN, from its registered name and a curated list of hosting networks | Our own |
| Tor exit node | The Tor Project's bulk exit list | Published by the Tor Project |
| VPN and proxy flags | Known VPN and proxy provider networks, best effort | Our own |
Both databases attach data to ranges, not to single addresses. Country and city come from different publishers, so on a range that changed hands recently they can briefly disagree. When they do, trust neither blindly: check the ASN and organization, which tell you whose network it is today.
Reading the network fields together
One field rarely settles anything. The combination of network type, organization and flags says more about a single visitor than the city ever will.
| What you see | What it suggests | What it does not prove |
|---|---|---|
| Internet service provider, no flags | A home or office broadband connection. | That a person is behind it: a residential proxy looks exactly the same. |
| Mobile network | A phone, tablet or hotspot on a carrier network. Addresses are shared and can change between sessions. | That the address belongs to one user for long. |
Hosting or cloud, Data center Yes |
A server: a cloud machine, a VPN endpoint, a crawler, a CI runner or a company proxy hosted in the cloud. | Bad intent. Legitimate tools run in data centers too. |
| Business | A company network: an office, or a corporate VPN's exit point. | That the user is in the company's country. |
| Education | A university or school network, with many users behind few addresses. | That the address identifies one student. |
Tor exit node Yes |
The visitor chose to hide their address through Tor. | Anything about the person, good or bad. |
| No ASN, Unknown network type | The range is missing from the data or not classified yet. | That the address is unused or fake. |
When two signals disagree, such as an ISP network with a VPN flag, trust the flag: it comes from a list of networks known to run VPN services, while the network type describes the autonomous system as a whole.
Why a location can look wrong
| Situation | What the lookup shows | What to do |
|---|---|---|
| Mobile connection | The area of the carrier's gateway, which can be far from the user. | Use the country. Ignore the city. |
| Carrier-grade NAT | One public address shared by many customers of the same provider. | Do not block an address for one user's behavior: you block the others too. |
| Corporate network | The company's exit point, sometimes in another country. | The organization and network type tell you it is a company. |
| VPN or proxy | The location of the server the user connects through. | Treat location as unknown. Check the VPN and proxy flags. |
| Anycast address | One location for an address served from many places. | The location row says nothing useful for these. |
| Recently reassigned block | The previous holder's location and organization. | Check again after the next data release. |
Review a suspicious signup or order
- Look up the address from the signup or the order. Read the network type first: an ISP or mobile network is ordinary for a consumer, hosting is not.
- Compare the country with the billing or shipping country. A mismatch alone proves nothing, since travelers and VPN users exist, but it adds weight to other signals.
- Check the Tor and data center flags. Both mean the request did not come straight from the user's own home or mobile connection.
- Do not block on location alone. Mobile carriers, carrier-grade NAT and corporate networks all move people far from their real city.
- For a decision you can automate, use the risk score and the VPN and proxy flags from the API instead of manual lookups. The VPN and data center guide shows how to step up verification rather than reject, and the IP endpoint reference lists every field.
Same check through the API
One HTTPS call, one credit. The response below is the real schema returned by the API.
curl https://api.qelka.com/v1/ip \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'const response = await fetch("https://api.qelka.com/v1/ip", {
method: "POST",
headers: {
Authorization: "Bearer sk_test_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
ip: "8.8.8.8",
}),
});
const result = await response.json();{
"id": "lkp_01M84QZDZHEMMVZCGDFD9ZD53H",
"object": "ip",
"input": "8.8.8.8",
"version": 4,
"country": {
"code": "US",
"name": "United States"
},
"region": "California",
"city": "Mountain View",
"asn": {
"number": 15169,
"org": "Google LLC",
"type": "hosting"
},
"flags": {
"tor": false,
"vpn": false,
"proxy": false,
"datacenter": true
},
"risk": {
"score": 35,
"level": "medium"
},
"credits_used": 1,
"cached": false
}Bulk and pricing
- Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
- Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
- The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.
Frequently asked questions
How accurate is IP geolocation?
Can an IP address reveal someone's home address?
Why does the lookup show a city far from where the user is?
What is an ASN?
What does the data center flag mean?
How do you know an IP address is a Tor exit node?
Why can't I look up 192.168.1.1 or 10.0.0.1?
unprocessable_input, which is not billed.Does the lookup work with IPv6 addresses?
2606:4700:4700::1111, in upper or lower case; an IPv4 address written in the last 32 bits is accepted too. The address is normalized to the form RFC 5952 recommends. Both databases cover IPv6 ranges, and special-purpose IPv6 ranges are rejected the same way as their IPv4 counterparts.Where does the IP data come from?
What does the risk score add?
Why is the city or region empty?
Can I look up many IP addresses at once?
Is an IP address personal data?
Why do 1.1.1.1 and 8.8.8.8 show a single location?
Why was my input rejected?
010 as octal 8, so 203.000.113.042 is refused. Write IPv6 without brackets, a zone index such as %eth0, or a port. For a CIDR range like 203.0.113.0/24, enter one address from inside the range instead.Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.