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

Your Connection

IP Address 213.108.59.121
User Agent Wget/1.14 (linux-gnu)
Language
Referer
Method GET
Encoding
MIME Type */*
Charset
X-Forwarded-For 213.108.59.121,34.160.111.145

Command Line Interface

$ curl ifconfig.me 213.108.59.121
$ curl ifconfig.me/ip 213.108.59.121
$ curl ifconfig.me/ua Wget/1.14 (linux-gnu)
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding
$ curl ifconfig.me/mime */*
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 213.108.59.121,34.160.111.145
$ curl ifconfig.me/all ip_addr: 213.108.59.121
remote_host: unavailable
user_agent: Wget/1.14 (linux-gnu)
port: 37308
language:
referer:
connection:
keep_alive:
method: GET
encoding:
mime: */*
charset:
via: 1.1 google
forwarded: 213.108.59.121,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"213.108.59.121","user_agent":"Wget/1.14 (linux-gnu)","port":"37308","method":"GET","mime":"*/*","via":"1.1 google","forwarded":"213.108.59.121,34.160.111.145"}