Free IP Geolocation & Risk Analysis API

Free IP Geolocation & IP Risk Detection API

High performance, IPv4/IPv6 dual-stack, multi-language IP lookup API. Free and no registration required.

API Endpoints

GET https://api.myipdns.com/
IPv4 IPv6 JSON Format
GET https://v4.api.myipdns.com/
IPv4 Only Text Format
GET https://v6.api.myipdns.com/
IPv6 Only Text Format

Parameters

Parameter Description Example
ip The IP address to query. If omitted, returns the caller's IP. ?ip=8.8.8.8
lang Response language. Supported: en, cn, ru, ja, fr, de, es, pt. ?lang=zh-CN

JSON Response Example

Request: GET https://api.myipdns.com/?ip=8.8.8.8&lang=en

{
  "ip": "8.8.8.8",
  "continent": "North America",
  "continent_code": "NA",
  "country": "United States",
  "country_code": "US",
  "timezone": "America/Chicago",
  "latitude": 37.751,
  "longitude": -97.822,
  "asn": 15169,
  "as_org": "Google LLC",
  "is_proxy": false,
  "query_time": "0.06",
  "source": "maxmind.com"
}

Credits & Acknowledgements

We use the following third-party APIs to verify network egress points.