v1
latestSwagger 2.02026-07-132830204.5 KBGeolocation
IP Info
Get location information about an IP address and do reverse DNS (PTR) lookups
get/ip-info
Query parameters
ipstring required
An IPv4 or IPv6 address. Accepts standard IP notation and also CIDR notation
reverse-lookupboolean
Do a reverse DNS (PTR) lookup. This option can add extra delay to the request so only use it if you need it
Response
OK
Example response
{
"city": "Hong Kong",
"continent-code": "AS",
"country": "China, Hong Kong Special Administrative Region",
"country-code": "HK",
"country-code3": "HKG",
"currency-code": "HKD",
"host-domain": "",
"hostname": "",
"ip": "1.1.1.1",
"is-bogon": false,
"is-v4-mapped": false,
"is-v6": false,
"language-code": "zh",
"latitude": 22.28552,
"longitude": 114.15769,
"region": "Hong Kong",
"region-code": "HK",
"timezone": {
"abbr": "HKT",
"date": "2025-11-18",
"id": "Asia/Hong_Kong",
"name": "Hong Kong Standard Time",
"offset": "+08:00",
"time": "12:05:01.242079452"
},
"valid": true
}