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

Your Connection

IP Address 45.142.164.36
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Language
Referer
Method GET
Encoding gzip, br, zstd, deflate
MIME Type */*
Charset
X-Forwarded-For 216.73.216.114,45.142.164.36,34.160.111.145

Command Line Interface

$ curl ifconfig.me ⇒ 45.142.164.36
$ curl ifconfig.me/ip ⇒ 45.142.164.36
$ curl ifconfig.me/ua ⇒ Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
$ curl ifconfig.me/lang ⇒
$ curl ifconfig.me/encoding ⇒ gzip, br, zstd, deflate
$ curl ifconfig.me/mime ⇒ */*
$ curl ifconfig.me/charset ⇒
$ curl ifconfig.me/forwarded ⇒ 216.73.216.114,45.142.164.36,34.160.111.145
$ curl ifconfig.me/all ⇒ ip_addr: 45.142.164.36
remote_host: unavailable
user_agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
port: 59166
language:
referer:
connection:
keep_alive:
method: GET
encoding: gzip, br, zstd, deflate
mime: */*
charset:
via: 1.1 google
forwarded: 216.73.216.114,45.142.164.36,34.160.111.145

$ curl ifconfig.me/all.json ⇒ {"ip_addr":"45.142.164.36","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","port":"59166","method":"GET","encoding":"gzip, br, zstd, deflate","mime":"*/*","via":"1.1 google","forwarded":"216.73.216.114,45.142.164.36,34.160.111.145"}