DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Simple service to get the public IP address - ipaddress.sh
Sri ganesh
Sri ganesh

Posted on

Simple service to get the public IP address - ipaddress.sh

Hope everyone is doing fine. This is my first devpost and wanted to share this side project I was working on.

https://ipaddress.sh - It's a simple service to get the public IP address based on IPIFY API

#Get Public IP address
$ curl ipaddress.sh
151.101.2.217

Even though lots of services like this exist already (My favorite - icanhazip), tinkering with the open source code is helping me learn Go and API development.

This service is hosted on heroku and is not rate-limited.

Hope it's useful and easy to remember.

Thanks for reading!

More info: https://about.ipaddress.sh

Top comments (1)

Collapse
 
herawais profile image
Muhammad Awais

πŸ‘πŸ‘πŸ‘πŸ‘

🌚 Life is too short to browse without dark mode