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

Your Connection

IP Address 35.172.216.157
Remote Host unavailable
User Agent CCBot/2.0 (https://commoncrawl.org/faq/)
Port 59956
Language en-US,en;q=0.5
Referer
Connection
KeepAlive
Method GET
Encoding br,gzip
MIME Type text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Charset
Via 1.1 google
X-Forwarded-For 35.172.216.157, 172.217.5.243

Command Line Interface

$ curl ifconfig.me 35.172.216.157
$ curl ifconfig.me/ip 35.172.216.157
$ curl ifconfig.me/host unavailable
$ curl ifconfig.me/ua CCBot/2.0 (https://commoncrawl.org/faq/)
$ curl ifconfig.me/port 59956
$ curl ifconfig.me/lang en-US,en;q=0.5
$ curl ifconfig.me/keepalive
$ curl ifconfig.me/connection
$ curl ifconfig.me/encoding br,gzip
$ curl ifconfig.me/mime text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$ curl ifconfig.me/charset
$ curl ifconfig.me/via 1.1 google
$ curl ifconfig.me/forwarded 35.172.216.157, 172.217.5.243
$ curl ifconfig.me/all ip_addr: 35.172.216.157
remote_host: unavailable
user_agent: CCBot/2.0 (https://commoncrawl.org/faq/)
port: 59956
language: en-US,en;q=0.5
referer:
connection:
keep_alive:
method: GET
encoding: br,gzip
mime: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
charset:
via: 1.1 google
forwarded: 35.172.216.157, 172.217.5.243
$ curl ifconfig.me/all.xml <info> <ip_addr>35.172.216.157</ip_addr> <remote_host>unavailable</remote_host> <user_agent>CCBot/2.0 (https://commoncrawl.org/faq/)</user_agent> <port>59956</port> <language>en-US,en;q=0.5</language> <referer></referer> <connection></connection> <keep_alive></keep_alive> <method>GET</method> <encoding>br,gzip</encoding> <mime>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</mime> <charset></charset> <via>1.1 google</via> <forwarded>35.172.216.157, 172.217.5.243</forwarded> </info>
$ curl ifconfig.me/all.json {"ip_addr":"35.172.216.157","remote_host":"unavailable","user_agent":"CCBot/2.0 (https://commoncrawl.org/faq/)","port":59956,"language":"en-US,en;q=0.5","method":"GET","encoding":"br,gzip","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","via":"1.1 google","forwarded":"35.172.216.157, 172.217.5.243"}