18.97.9.173
To force JSON output simply add Accept: application/json header or try https://ifconfig.tv/json endpoint
You could try https://ifconfig.tv/?ip= query string to query other IP addresses.
Donation: BTC: bc1qawjkv7lcvre8vzmaggmwnt7x08q7rt9pn0afsf, ETH: 0x6d42E694aCF1AA17fA7d940bB2A34AE4d5976330, XMR: 86rLGQJwcC5hzxBBM3r5foLeCeq6yo3rJgJT4brwr9A9ERZFNFozy1sFnPQXgWR437FkpPRfwvQWM1k84iZ7bdC5MU7ZkYW
IP address | 18.97.9.173 | $ curl https://ifconfig.tv/ip |
---|---|---|
Country | United States | $ curl https://ifconfig.tv/country |
Country (ISO code) | US | $ curl https://ifconfig.tv/country-iso |
In EU? | false | |
City | Ashburn | $ curl https://ifconfig.tv/city |
Latitude | 39.0469 | |
Longitude | -77.4903 | |
Timezone | America/New_York | |
ASN | AS14618 | $ curl https://ifconfig.tv/asn |
ASN (organization) | AMAZON-AES | $ curl https://ifconfig.tv/asn-org |
Is Tor? | false | $ curl https://ifconfig.tv/tor |
Is Bad ASN? | true | $ curl https://ifconfig.tv/bad_asn |
User agent | CCBot/2.0 | |
User agent: Comment | (https://commoncrawl.org/faq/) | |
User agent: Raw | CCBot/2.0 (https://commoncrawl.org/faq/) | |
Text | 18.97.9.173 ( Country: United States ) ( City: Ashburn ) ( Timezone: America/New_York ) ( ASN: AS14618 - AMAZON-AES ) ( Bad ASN ) ( CCBot/2.0 (https://commoncrawl.org/faq/) ) | $ curl https://ifconfig.tv |
JSON | { "ip": "18.97.9.173", "country": "United States", "country_iso": "US", "country_eu": false, "country_registered": "United States", "city": "Ashburn", "latitude": 39.0469, "longitude": -77.4903, "time_zone": "America/New_York", "asn": "AS14618", "asn_org": "AMAZON-AES", "tor": false, "bad_asn": true, "user_agent": { "product": "CCBot", "version": "2.0", "comment": "(https://commoncrawl.org/faq/)", "raw_value": "CCBot/2.0 (https://commoncrawl.org/faq/)" } } | $ curl https://ifconfig.tv/json |
Stats | { "queryCount": 3433, "visitorCount": 10, "errorCount": 119, "updatedDB": 568, "dbVersion": "20250204", "lastUpdate": "2/6/2025 11:49:23 AM GMT+0000", "lastDBUpdate": "2/6/2025 8:33:13 AM GMT+0000" } | $ curl https://ifconfig.tv/stats |
By using this service and the source code you agree to the MaxMind's GeoLite2 End User License Agreement. This page doesn't require javascript to be enabled by a visitor.