ipdata.free answers with the location and network of any IP address — yours, or one you put in the path. Country and ASN lookups are unlimited; city-level lookups are 1,000 a day from each calling address. No key, no account, and commercial use is fine with attribution.
{
"ip": "86.128.12.34",
"city": "Ely",
"region": "England",
"country": "GB",
"latitude": 52.3996,
"longitude": 0.262,
"asn": "AS2856",
"org": "BTnet",
"postal": "CB6",
"timezone": "Europe/London"
}the response, as ipdata.free returned it — no key
A real request, made from this page with no key. Leave the path empty for your own address, or put any IPv4 or IPv6 address in it.
# Your own address curl https://ipdata.free/ # Any address, IPv4 or IPv6 curl https://ipdata.free/8.8.8.8 # One field, as a line of text: /8.8.8.8/org, /me/city, or your own by its name curl https://ipdata.free/8.8.8.8/org curl https://ipdata.free/org # Where you stand: print the RateLimit headers too curl -i https://ipdata.free/
a real request, sent from your browser — no key
RateLimit-Reset header.ip, country, asn and org, and X-Quota-Status says so.GET https://ipdata.free/GET https://ipdata.free/8.8.8.8 — IPv4 or IPv6GET https://ipdata.free/8.8.8.8/org — any key of the record as a line of text; /org alone is your ownip, city, region, country, latitude, longitude, asn, org, postal and timezone. Fields that aren't known for an address are left out.RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset.400 with a message saying so.The quota is counted against the address the request arrives from, not against a key or a domain. That has three consequences worth knowing before you build on it.
Every request comes from your server's address, so the whole quota is yours. Enough for a lookup a minute and a half, all day — a sign-up form, a log enricher, a cron job.
1,000 a day, totalEveryone behind the same public address shares one quota. A busy office, a campus or a mobile carrier's gateway can use it up between them.
1,000 a day, sharedCall it client-side and each visitor's device spends its own quota, not yours. Localising a page or pre-filling a country field costs you nothing at any traffic level.
1,000 a day, per visitoripdata.free is the same data behind the same fields, with no key in the way. The keyed plans add volume, and the datasets that need one.
You can use the free tier in a commercial product as long as you credit ipdata where the data appears. The credit is this, a link to ipdata.co with a few words saying what it does, and the HTML to paste is beside it:
<a href="https://ipdata.co">IP geolocation by ipdata.co</a>
Place it near the data or in your footer, and keep it readable. Paid plans need no attribution.