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

Your Connection

IP Address 182.253.101.154
User Agent Wget/1.21.4
Language
Referer
Method GET
Encoding identity
MIME Type */*
Charset
X-Forwarded-For 182.253.101.154,34.160.111.145

Command Line Interface

$ curl ifconfig.me ⇒ 182.253.101.154
$ curl ifconfig.me/ip ⇒ 182.253.101.154
$ curl ifconfig.me/ua ⇒ Wget/1.21.4
$ curl ifconfig.me/lang ⇒
$ curl ifconfig.me/encoding ⇒ identity
$ curl ifconfig.me/mime ⇒ */*
$ curl ifconfig.me/charset ⇒
$ curl ifconfig.me/forwarded ⇒ 182.253.101.154,34.160.111.145
$ curl ifconfig.me/all ⇒ ip_addr: 182.253.101.154
remote_host: unavailable
user_agent: Wget/1.21.4
port: 37970
language:
referer:
connection:
keep_alive:
method: GET
encoding: identity
mime: */*
charset:
via: 1.1 google
forwarded: 182.253.101.154,34.160.111.145

$ curl ifconfig.me/all.json ⇒ {"ip_addr":"182.253.101.154","user_agent":"Wget/1.21.4","port":"37970","method":"GET","encoding":"identity","mime":"*/*","via":"1.1 google","forwarded":"182.253.101.154,34.160.111.145"}