What is my IP address?
Your public IP address
Your connection details
- 99%+country-level accuracy
- Every 24hGeoLite2 data refresh
- IPv4 + IPv6both supported identically
- 7 languagesEN, ES, ZH, PT, DE, FR, JA
For developers
IP geolocation API. Free, no key needed.
Country, city, ISP, ASN, timezone and currency for any IPv4 or IPv6 address, as JSON in milliseconds. Start calling it right now, no account required.
- 45 requests a minute without an API key
- Privacy flags: Tor exit node and hosting detection
- Accuracy radius in km on every response
curl https://api.ipaddresstoday.com/api/v1/8.8.8.8const res = await fetch(
"https://api.ipaddresstoday.com/api/v1/8.8.8.8"
);
const data = await res.json();import requests
data = requests.get(
"https://api.ipaddresstoday.com/api/v1/8.8.8.8"
).json()using System.Text.Json;
using var http = new HttpClient();
var json = await http.GetStringAsync(
"https://api.ipaddresstoday.com/api/v1/8.8.8.8");
using var doc = JsonDocument.Parse(json);Live response for your IP (GET /api/v1/ip)
- No keyFree45 requests / minute. Just call the endpoint.Try it now
- PaidFrom US$5 / month150,000 requests / month. Two months free yearly.See pricing
Free IP and subnet tools
Twelve calculators and converters for the address maths that comes up constantly. Most run entirely in your browser and send us nothing.
- Subnet calculatorIn browserNetwork and broadcast address, subnet mask, wildcard mask, usable host range and host count for any IPv4 block.
- CIDR to IP rangeIn browserConvert a CIDR block to its first and last address, or collapse an arbitrary address range into the smallest set of CIDR blocks.
- IP address converterIn browserConvert an IPv4 address between dotted-quad, decimal, hexadecimal, binary and octal.
- IPv6 expand & compressIn browserExpand an IPv6 address to its full 39-character form, or compress it to the canonical RFC 5952 short form.
- Subnet mask cheat sheetIn browserEvery IPv4 prefix from /32 to /0 with its subnet mask, wildcard mask, host count and block size — plus a mask to prefix converter.
- Bulk IP lookupUses APILook up country, city, ISP and ASN for a whole list of addresses at once, and export the result as CSV.
Used by
“We enrich domain records with hosting and network information. IP Address Today returns country, ASN and ISP in a single call, which is exactly the shape we needed.”
CubDomain “Our enquiries come from all over the world. Knowing which country one arrives from before we reply saves the team real time.”
Bajwa Immigration “We add location and network details to the enquiries that come in through our clients’ websites. One API call, clear pricing, and it just works.”
ClientCarePlus
Frequently asked questions
What is my IP address?
It is the address your internet provider has assigned to your connection, and it is shown at the top of this page. Every site you visit sees it, because it is how their servers know where to send the reply.
What is an IP address?
An IP address is the number your device or network uses to be reachable on the internet. Your public IP is assigned by your internet provider and is visible to every website you visit — it's how servers know where to send responses.
Why does my IP address keep changing?
Most home connections get a dynamic address, which your provider can reassign when your router restarts or your lease expires. A static address that never changes is usually a paid business option.
What is the difference between a public and a private IP address?
The address on this page is your public one — the address the internet sees, shared by everything on your network. Your devices also have private addresses like 192.168.1.5, which only exist inside your own network and are not reachable from outside it.
Does my IP address reveal my exact location?
No. It maps to where your provider routes the connection, which is often a regional hub rather than your suburb, and can be a different city entirely on mobile or corporate networks. Every result here carries an accuracy radius — treat it as a circle, not a pin.
How accurate is IP geolocation?
IP geolocation is city-level at best, not an exact address. Country accuracy is typically above 99%, city accuracy varies from a few kilometres in dense urban areas to hundreds of kilometres elsewhere. Every lookup here returns an accuracyRadius in kilometres so you know how precise the coordinates really are.
Why does my IP address show the wrong city?
Geolocation maps the address your provider announces, which is often a regional hub rather than your suburb. VPNs, mobile networks, and corporate connections commonly resolve to a different city or country entirely. That is expected behaviour, not an error.
Can someone find my home address from my IP?
Not from the address alone. Only your provider knows which customer had an address at a given time, and they disclose that to law enforcement on a lawful request, not to the public.
Do you store the IP addresses you look up?
No. Lookups are answered from a local database and are not written to disk or passed to anyone else.
Is the IP geolocation API free?
Yes. You can call the API 45 times a minute with no API key and no account. Signing up for a free key raises that to 10,000 lookups a month, and paid plans start at $5/month for 150,000 requests — with two months free on annual billing.
How do I look up an IP address with the API?
Send a GET request to https://api.ipaddresstoday.com/api/v1/8.8.8.8 for any address, or /api/v1/ip to get the caller's own IP. The response is JSON containing location, connection, privacy, and timezone details.
What is the difference between IPv4 and IPv6?
IPv4 addresses look like 8.8.8.8 and are limited to about 4.3 billion addresses. IPv6 addresses look like 2001:4860:4860::8888 and exist because IPv4 ran out. This API supports both formats identically.
How often is the geolocation data updated?
The GeoLite2 databases are checked for updates every 24 hours and swapped in without downtime. Every API response includes meta.databaseVersion so you can see exactly which build answered your request.
Start on the free tier
45 requests a minute with no API key at all. Sign up and it becomes 10,000 lookups a month, still free. Paid plans start at $5.