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

Your Connection

IP Address 162.0.217.198
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64)
Language
Referer https://www.btolat.com/
Method GET
Encoding
MIME Type */*
Charset
X-Forwarded-For 162.0.217.198,34.160.111.145

Command Line Interface

$ curl ifconfig.me 162.0.217.198
$ curl ifconfig.me/ip 162.0.217.198
$ curl ifconfig.me/ua Mozilla/5.0 (Windows NT 10.0; Win64; x64)
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding
$ curl ifconfig.me/mime */*
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 162.0.217.198,34.160.111.145
$ curl ifconfig.me/all ip_addr: 162.0.217.198
remote_host: unavailable
user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
port: 41448
language:
referer: https://www.btolat.com/
connection:
keep_alive:
method: GET
encoding:
mime: */*
charset:
via: 1.1 google
forwarded: 162.0.217.198,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"162.0.217.198","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64)","port":"41448","remote_host":"https://www.btolat.com/","method":"GET","mime":"*/*","via":"1.1 google","forwarded":"162.0.217.198,34.160.111.145"}