Skip to content

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.

Try an example
IP address 8.8.8.8Example
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

Unlock with a free account

These fields need an API key. The free plan includes 100 credits every month, no card required.

Unlock these fields

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

  1. 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 ::.
  2. 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.
  3. 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.
  4. It reads the ASN's registered organization and our classification of the network. A network classified as hosting sets the data center flag.
  5. It checks the address against our copy of the Tor Project's bulk exit list.
  6. 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

  1. 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.
  2. 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.
  3. Check the Tor and data center flags. Both mean the request did not come straight from the user's own home or mobile connection.
  4. Do not block on location alone. Mobile carriers, carrier-grade NAT and corporate networks all move people far from their real city.
  5. 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
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"}'
JavaScript
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?
IP geolocation maps an address block to a place, not a person. Country is the coarsest answer and the one to base decisions on. City and region are estimates that can point to where the network operator routes or registers its traffic rather than where the user sits. Treat them as hints, never as an address. We do not claim an accuracy rate.
Can an IP address reveal someone's home address?
No. The lookup returns a network and an approximate area, never a name or a street address. Only the internet provider's own records link an address to a subscriber at a given time. Several customers can also share one public IPv4 address behind carrier-grade NAT, whose internal side uses the RFC 6598 range, so an address may not even point to a single household.
Why does the lookup show a city far from where the user is?
The databases place a whole address block at one point. A mobile carrier can route users through a gateway far away, a company can send staff traffic out through its head office or a cloud provider, a VPN user appears at the VPN server, and a block that changed hands can keep its old location until the next data release. The country is less affected than the city.
What is an ASN?
An autonomous system number identifies a network that announces its own IP ranges on the internet, such as an internet provider, a cloud platform or a large company. Regional internet registries assign them. The lookup shows the ASN behind an address, the organization registered for it and our classification of the network type. The ASN lookup shows the network itself.
What does the data center flag mean?
It means the address belongs to a network we classify as hosting or cloud, based on the network's registered name and a curated list of hosting networks. Traffic from there comes from servers, such as scripts, crawlers, VPN servers, cloud desktops or proxies, rather than from a home or mobile connection. Worth a closer look on a consumer signup form; normal for API clients.
How do you know an IP address is a Tor exit node?
The Tor Project publishes a bulk list of the IP addresses its exit relays use to reach the internet. We keep a copy, refreshed on a schedule, and flag exact matches. Only exits appear on it, because they are the only Tor relays that connect to websites. A relay that stopped running recently can stay flagged until the list and our copy catch up.
Why can't I look up 192.168.1.1 or 10.0.0.1?
They are private addresses from RFC 1918, reused inside separate private networks everywhere and never routed on the public internet, so no database can place them. The tool rejects private, loopback, link-local, documentation and other special-purpose ranges (RFC 6890) and names the range it matched. The API answers them with HTTP 422 unprocessable_input, which is not billed.
Does the lookup work with IPv6 addresses?
Yes. Enter the full or compressed form, such as 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?
Country and ASN come from IPinfo Lite (CC BY-SA 4.0), and city and region from DB-IP Lite (CC BY 4.0). Tor exits come from the Tor Project's bulk exit list. The network type is our own classification of each ASN, from its registered name and a curated list of hosting networks. The data sources page lists every source with its license.
What does the risk score add?
The risk score, locked on this page, sums up the network signals of an address in one number from 0 to 100, with three levels: low under 30, medium from 30 to 69, high from 70. It needs a free account. It is built for automated decisions in a signup or checkout flow, and the risk score documentation explains how it is computed.
Why is the city or region empty?
The city database has no city for that block, so the card shows "Not available" rather than a guess. The country comes from a different dataset, IPinfo Lite, so it can be present when city and region are not. An empty city is not a risk signal on its own; read the network type and the flags instead.
Can I look up many IP addresses at once?
The free tool checks one address at a time, with 10 checks a day without an account. The API's IP endpoint costs 1 credit per address, a batch call takes up to 100 mixed items, and the bulk upload processes a CSV of up to 2,000,000 rows. The free plan includes 100 credits every month, no card required.
Is an IP address personal data?
Often, yes. In 2016 the Court of Justice of the European Union ruled (Breyer, case C-582/14) that a dynamic IP address can be personal data for a website operator that has legal means to identify the person behind it. Collect addresses for a stated purpose and keep them no longer than needed. When you send them to our API, we process them on your behalf; see data and privacy.
Why do 1.1.1.1 and 8.8.8.8 show a single location?
Both are anycast addresses: the same address is announced from many data centers, and each user reaches the nearest one. A geolocation database stores one location per block, so it shows one place for an address that answers worldwide. For anycast services such as public DNS resolvers and content delivery networks, the location row describes a registration, not where you connect.
Why was my input rejected?
The tool takes one address in standard notation. IPv4 octets must not have leading zeros, because some software reads 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.