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

Your Connection

IP Address 172.70.80.85
User Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Language
Referer https://www.google.com/
Method GET
Encoding gzip
MIME Type text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Charset
X-Forwarded-For 2a06:98c0:3600::103,172.70.80.85,34.160.111.145

Command Line Interface

$ curl ifconfig.me 172.70.80.85
$ curl ifconfig.me/ip 172.70.80.85
$ curl ifconfig.me/ua Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding gzip
$ curl ifconfig.me/mime text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 2a06:98c0:3600::103,172.70.80.85,34.160.111.145
$ curl ifconfig.me/all ip_addr: 172.70.80.85
remote_host: unavailable
user_agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
port: 39724
language:
referer: https://www.google.com/
connection:
keep_alive:
method: GET
encoding: gzip
mime: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
charset:
via: 1.1 google
forwarded: 2a06:98c0:3600::103,172.70.80.85,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"172.70.80.85","user_agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36","port":"39724","remote_host":"https://www.google.com/","method":"GET","encoding":"gzip","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9","via":"1.1 google","forwarded":"2a06:98c0:3600::103,172.70.80.85,34.160.111.145"}