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

Your Connection

IP Address 172.69.59.42
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected])
Language
Referer
Method GET
Encoding gzip, br
MIME Type */*
Charset
X-Forwarded-For 18.224.44.207,18.224.44.207,172.69.59.42,34.160.111.145

Command Line Interface

$ curl ifconfig.me 172.69.59.42
$ curl ifconfig.me/ip 172.69.59.42
$ curl ifconfig.me/ua Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected])
$ curl ifconfig.me/lang
$ curl ifconfig.me/encoding gzip, br
$ curl ifconfig.me/mime */*
$ curl ifconfig.me/charset
$ curl ifconfig.me/forwarded 18.224.44.207,18.224.44.207,172.69.59.42,34.160.111.145
$ curl ifconfig.me/all ip_addr: 172.69.59.42
remote_host: unavailable
user_agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected])
port: 39628
language:
referer:
connection:
keep_alive:
method: GET
encoding: gzip, br
mime: */*
charset:
via: 1.1 google
forwarded: 18.224.44.207,18.224.44.207,172.69.59.42,34.160.111.145

$ curl ifconfig.me/all.json {"ip_addr":"172.69.59.42","remote_host":"unavailable","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected])","port":"39628","method":"GET","encoding":"gzip, br","mime":"*/*","via":"1.1 google","forwarded":"18.224.44.207,18.224.44.207,172.69.59.42,34.160.111.145"}