api api.ipify.org/?format=jsonp&callback=getIP code example Example: check ip json $ curl 'https://api.ipify.org?format=json' {"ip":"51.159.59.56"}