What Is My IP Address?

2600:1f28:365:80b0:720c:be65:5277:1608
Click to copy · Also try: curl ipaddress.ai

Details

Country🇺🇸 United States
ISO CodeUS
CityAshburn
Coordinates39.0469, -77.4903
ASNAS14618
ISPAmazon.com, Inc.
User AgentCCBot/2.0 (https://commoncrawl.org/faq/)

Location

API

ipaddress.ai is a leading IP lookup API trusted by thousands of developers with 99.99% uptime. Free to use, no authentication required. View full documentation →

Request
curl ipaddress.ai/json
Response
{ "ip": "2600:1f28:365:80b0:720c:be65:5277:1608", "ip_decimal": 50511295764702181197701344199917901320, "country": "United States", "country_eu": false, "country_iso": "US", "city": "Ashburn", "latitude": 39.0469, "longitude": -77.4903, "asn": "AS14618", "asn_org": "Amazon.com, Inc.", "user_agent": { "product": "CCBot", "version": "2.0", "comment": "(https://commoncrawl.org/faq/)", "raw_value": "CCBot/2.0 (https://commoncrawl.org/faq/)" } }

Tip: Set Accept: application/json on any endpoint to get JSON.

Request
curl ipaddress.ai
Response
2600:1f28:365:80b0:720c:be65:5277:1608
Request
curl ipaddress.ai/country
Response
United States
Request
curl ipaddress.ai/city
Response
Ashburn
Request
curl ipaddress.ai/lookup/8.8.8.8
Response
{ "ip": "8.8.8.8", "country": "United States", "asn": "AS15169", "asn_org": "Google LLC" }

Look up geolocation data for any public IP address.