What is my IP address?

18.118.28.31

Multiple command line HTTP clients are supported, including curl, httpie, GNU Wget and fetch.

Can I use HTTP Request Method PATCH?

No

CLI examples

$ curl https://ip.protenus.com
18.118.28.31

$ http -b ip.protenus.com
18.118.28.31

$ wget -qO- ip.protenus.com
18.118.28.31

$ fetch -qo- https://ip.protenus.com
18.118.28.31

$ bat -print=b ip.protenus.com/ip
18.118.28.31

JSON output

$ http ip.protenus.com/json
{
  "ip": "18.118.28.31",
  "ip_decimal": 309730335
}

Setting the Accept: application/json header also works as expected.

Plain output

Always returns the IP address including a trailing newline, regardless of user agent.

$ http ip.protenus.com/ip
18.118.28.31