What is my IP address?
Retrieve IP address information programmatically
$ curl ipconfig.io
$ wget -qO- ipconfig.io
$ Invoke-RestMethod -uri https://ipconfig.io/ip
IPv4 or IPv6 can be forced by passing the appropiate flag to your client, e.g curl -4 or curl -6.
Setting the Accept: application/json header works as expected.
Yes. While we've increased server capacity and implemented load balancing, there is rate limiting is in place to ensure a fair service for all.
Please limit automated requests to 1 request per second. No guarantee is made for requests that exceed this limit.
They may be rate-limited, with a 429 status code, or dropped entirely.
$ curl ipconfig.io/country
United States$ curl https://ipconfig.io/city
$ curl https://ipconfig.io/asn
$ curl https://ipconfig.io/port/80
$ curl https://ipconfig.io/json
IP address | 216.73.216.83 |
---|---|
IP address (decimal) | 3628718163 |
Country | United States |
Country (ISO code) | US |
In EU? | false |
Latitude | 37.751 |
Longitude | -97.822 |
Timezone | America/Chicago |
User agent | Mozilla/5.0 |
User agent: Comment | AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected]) |
User agent: Raw | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +[email protected]) |
This information is provided from the GeoLite2 database created by MaxMind, available from www.maxmind.com