Show HN: IPof – no nonsense client IP address lookup for machines
I would like to present a simple API for obtaining the public IP address of the client. the API is fairly simple.
JSON
http://ipof.candralabs.com/json
XML
http://ipof.candralabs.com/xml
Plain text
http://ipof.candralabs.com/txt
Please share your feedback. What features would you like to have in this simple service?
4 comments
[ 2.9 ms ] story [ 16.0 ms ] threadWhen I'm somewhere other than home and need to know my public IP address for some reason, I just use "icanhazip" [0] (GitHub: [1]) which I've aliased to make it even easier/quicker, e.g.:
It doesn't get much simpler than that -- just spit out the IP address in plain-text and, if needed, I'll massage it however I need to.[0]: http://icanhazip.com/
[1]: https://github.com/major/icanhaz
1. smaller URL : Changed it to ipof.in so the new URL is
http://ipof.in/json http://ipof.in/xml http://ipof.in/txt
2. HTTPS support
Done. same URLs as above, except in HTTPS format
3. Return the IP in the HTTP response headers
Done. Added header X-IPof : <ipaddress>
4. check if the IP is blacklisted
Done. Returns a blacklisted flag in the XML and JSON response.
5. Todo
IPv6 Geo location data
Hope this helps