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

Your Connection

IP Address 159.60.175.139
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.102 Safari/537.36
Language
Referer
Method GET
Encoding gzip
MIME Type
Charset
X-Forwarded-For 193.239.237.77, 100.126.254.3,159.60.190.244,159.60.175.139,34.160.111.145

Command Line Interface

$ curl ifconfig.me 159.60.175.139
$ curl ifconfig.me/ip 159.60.175.139
$ curl ifconfig.me/ua Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.102 Safari/537.36
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding gzip
$ curl ifconfig.me/mime
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 193.239.237.77, 100.126.254.3,159.60.190.244,159.60.175.139,34.160.111.145
$ curl ifconfig.me/all ip_addr: 159.60.175.139
remote_host: unavailable
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.102 Safari/537.36
port: 52572
language:
referer:
connection:
keep_alive:
method: GET
encoding: gzip
mime:
charset:
via: 1.1 google
forwarded: 193.239.237.77, 100.126.254.3,159.60.190.244,159.60.175.139,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"159.60.175.139","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.7727.102 Safari/537.36","port":"52572","method":"GET","encoding":"gzip","via":"1.1 google","forwarded":"193.239.237.77, 100.126.254.3,159.60.190.244,159.60.175.139,34.160.111.145"}