Show HN: A free curl API for IP data (we scan the IPv4 space in <24h)
worldip.ioThe curl API for WorldIP is now live and completely free to use. You can hit it right from your terminal:
curl worldip.io — returns information about your requesting IP. curl worldip.io/8.8.8.8 — returns details on any specific IP.
The main differentiator here is that we aren't just wrapping another provider's API and reselling their data. We built and run our own global infrastructure capable of scanning the entire IPv4 space in about a day.
Happy to answer any questions about the scanning infrastructure or the stack! Nice to have another alternative, thank you! Can you disclose how your assemble your GeoIP information? It doesn’t seem to match Maxmind’s for the couple of IPs I’ve tested. One small piece of feedback: the CIDR pages don’t make much sense to me. For example, https://worldip.io/range/1.0.0.0/8 shows as Cloudflare owns the /8, when they actually own the /24, /8 is not allocated. I understand those pages are generated, so please consider something similar to bgp.tools’s prefix not found page, which shows me all allocated ranges, including sub-allocations: https://bgp.tools/prefix/1.0.0.0/8 Thanks for the feedback! I've recently started aggregating my own location data to run alongside MaxMind. If you don't mind sharing a few of the IPs that were off, I'd love to take a look and see if there's a dataset bug. Good call on the range pages, too—I’ll look into handling unallocated blocks more like bgp.tools. Appreciate you bringing it to my attention! Pretty good results overal. Even shows subnetting within e.g. digitalocean's blocks! Couple of misidentified IPs: 141.98.83.0/26 - shows as "Panama", echoing bogus whois record. Real location is probably Romania, at least that's where origin AS209588 has peers. RTT triangulation is also consistent with the latter location. 93.123.109.0/24 - shows as "Bulgaria". Going by RTT, very likely it's in the Netherlands. What about IPv6? (SCNR) I've been collecting IPv6 data for a few weeks using my older v1 scanner. However, I just launched a v4 scanner for IPv4 (which is 10-12x faster with the same accuracy) and I'll be porting that over soon. You can already see some IPv6 details scattered across the site, but the full dataset will be live in the coming weeks.