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

What Is My IP Address? - ifconfig.me

Your Connection

IP Address

146.148.80.64

User Agent

Mozilla/5.0 (compatible; archive.st/1.0; +https://archive.st)

Language

en-US,en;q=0.9

Referer

Method

GET

Encoding

gzip, deflate, br, zstd

MIME Type

text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7

Charset

X-Forwarded-For

146.148.80.64,34.160.111.145

Command Line Interface

$ curl ifconfig.me

⇒

146.148.80.64

$ curl ifconfig.me/ip

⇒

146.148.80.64

$ curl ifconfig.me/ua

⇒

$ curl ifconfig.me/lang

⇒

en-US,en;q=0.9

$ curl ifconfig.me/encoding

⇒

gzip, deflate, br, zstd

$ curl ifconfig.me/mime

⇒

$ curl ifconfig.me/charset

⇒

$ curl ifconfig.me/forwarded

⇒

146.148.80.64,34.160.111.145

$ curl ifconfig.me/all

⇒

ip_addr: 146.148.80.64

remote_host: unavailable

user_agent: Mozilla/5.0 (compatible; archive.st/1.0; +https://archive.st)

port: 43996

language: en-US,en;q=0.9

referer:

connection:

keep_alive:

method: GET

encoding: gzip, deflate, br, zstd

mime: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7

charset:

via: 1.1 google

forwarded: 146.148.80.64,34.160.111.145

$ curl ifconfig.me/all.json

⇒

{"ip_addr":"146.148.80.64","user_agent":"Mozilla/5.0 (compatible; archive.st/1.0; +https://archive.st)","port":"43996","method":"GET","encoding":"gzip, deflate, br, zstd","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","via":"1.1 google","forwarded":"146.148.80.64,34.160.111.145","language":"en-US,en;q=0.9"}

© 2026 ifconfig.me