A very simple endpoint to get your public IP address
Just send a GET request to ip.kytta.dev using your
tool of choice (examples below). In response, you'll get the IP address as
text/plain
. If the IP address could not be determined, 0.0.0.0
will be
returned.
curl -L ip.kytta.dev
wget -qO- ip.kytta.dev
https -b ip.kytta.dev
Don't trust me? Deploy it yourself:
AGPL-3.0-only © 2021–2022 Nikita Karamov
This project is hosted on GitHub: https://github.com/kytta/ip