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

Your Connection

IP Address 37.204.142.51
User Agent aria2/1.36.0
Language
Referer
Method GET
Encoding
MIME Type */*,application/metalink4+xml,application/metalink+xml
Charset
X-Forwarded-For 37.204.142.51,34.160.111.145

Command Line Interface

$ curl ifconfig.me 37.204.142.51
$ curl ifconfig.me/ip 37.204.142.51
$ curl ifconfig.me/ua aria2/1.36.0
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding
$ curl ifconfig.me/mime */*,application/metalink4+xml,application/metalink+xml
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 37.204.142.51,34.160.111.145
$ curl ifconfig.me/all ip_addr: 37.204.142.51
remote_host: unavailable
user_agent: aria2/1.36.0
port: 57140
language:
referer:
connection:
keep_alive:
method: GET
encoding:
mime: */*,application/metalink4+xml,application/metalink+xml
charset:
via: 1.1 google
forwarded: 37.204.142.51,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"37.204.142.51","user_agent":"aria2/1.36.0","port":"57140","method":"GET","mime":"*/*,application/metalink4+xml,application/metalink+xml","via":"1.1 google","forwarded":"37.204.142.51,34.160.111.145"}