IPMY- A Simple Public IP Address API

Get IPv4 (json format)

curl 'https://ipmy.xyz?format=json'
{"ip": "1.2.3.4"}

Get IPv4 (text format)

curl 'https://ipmy.xyz'
1.2.3.4