Need a robust API to Geolocate IPs and fetch other crucial information? Try IPinfo.io.

Your Connection

IP Address 152.53.241.123
User Agent Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
Language
Referer http://www.gbppr.net/2600/v33n3-captive-portal.html
Method GET
Encoding
MIME Type text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Charset
X-Forwarded-For 152.53.241.123,34.160.111.145

Command Line Interface

$ curl ifconfig.me 152.53.241.123
$ curl ifconfig.me/ip 152.53.241.123
$ curl ifconfig.me/ua Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding
$ curl ifconfig.me/mime text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 152.53.241.123,34.160.111.145
$ curl ifconfig.me/all ip_addr: 152.53.241.123
remote_host: unavailable
user_agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
port: 38866
language:
referer: http://www.gbppr.net/2600/v33n3-captive-portal.html
connection:
keep_alive:
method: GET
encoding:
mime: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
charset:
via: 1.1 google
forwarded: 152.53.241.123,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"152.53.241.123","user_agent":"Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0","port":"38866","remote_host":"http://www.gbppr.net/2600/v33n3-captive-portal.html","method":"GET","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","via":"1.1 google","forwarded":"152.53.241.123,34.160.111.145"}