3 ms·
I've been using ipinfo.io now for several years and have been very pleased with them. You can `curl https://ipinfo.io/ https://ipinfo.io/` and get a JSON blob
by freedomben 2y ago
I've been using ipinfo.io now for several years and have been very pleased with them.
You can `curl https://ipinfo.io/ https://ipinfo.io/` and get a JSON blob back with info on your current IP. If you pass an IP explicitly you can get info back on it, for example `curl https://ipinfo.io/104.26.7.98 https://ipinfo.io/104.26.7.98`. Easy to combine with jq also for use in scripts: `curl https://ipinfo.io/104.26.7.98 https://ipinfo.io/104.26.7.98 | jq -r '.ip'`
For personal use it's free, and they have reasonable pricing for large volume. No affiliation on my part, just a happy user.
- PaoloBarbolini 2y ago`curl https://myip.wtf/json https://myip.wtf/json` too is nice to use when debugging things
- stevenkillian 2y agoAlso protocol specific hosts: https://json.ipv4.myip.wtf/ https://json.ipv4.myip.wtf/ https://json.ipv6.myip.wtf/ https://json.ipv6.myip.wtf/ https://json.myip.wtf/ https://json.myip.wtf/
- rmccue 2y agoAnnoyingly, they no longer show your IP on their web homepage.
- reincoder 2y agoWe are experimenting with some design choices as we try to highlight all the IP metadata we have and move towards being an "internet data" company instead of just an IP location company. I highly recommend you check out the page: https://ipinfo.io/myip https://ipinfo.io/myip I understand the data we have for your IP address is not front and center anymore. We have gone through several iterations of designs for our homepage, so if you have any suggestions, I will relay them to our team.
- rrr_oh_man 2y ago"I don’t want anyone to see our address and opening hours without also reading through our values, our mission statement, and board of directors"
- lxgr 2y agoIt's a service that shows visitors their own address and metadata about it. Seems fair to not want to provide that for free without some advertisement for the paid version or the company?
- rrr_oh_man 2y agoAbsolutely. Actively degrading the user experience might have the opposite effect, though.
- reincoder 2y agoOur priority is always the developer experience and I apologize for the friction you are seeing here. The issue is that we are truly in a unique space when it comes to internet data. We have gone through several iterations on how to present the full extent of data and not just your public IP address. If you are a regular user of our service, you know that we have a very open access approach to our data. We provide most of our data for free through our website, we have a generous API, and we have a fully accurate open access licensed database. We also have more free services to be released! Due to the open data approach, developers appreciate us. We are not trying to create any barriers or friction here, but we are trying to find a balance. If you have any suggestions that can encourage users to explore our data while simultaneously providing everyone with a frictionless experience with our data, please let me know.
- Aeolun 2y ago> The issue is that we are truly in a unique space when it comes to internet data. You serve people their IP address. There’s tens of sites doing the same in this very thread.
- reincoder 2y agoInstead of jq .ip, please use https://ipinfo.io/ip https://ipinfo.io/ip This API endpoint has its dedicated stack and infrastructure to support unlimited lookups. Also, for IPv6 connection use: https://v6.ipinfo.io/ip https://v6.ipinfo.io/ip PS: I am the DevRel of IPinfo.