Free IP Geolocation API

High performance, IPv4/IPv6 dual-stack, multi-language support.

Source Code

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=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", "region": "Virginia", "region_code": "VA", "city": "Ashburn", "time_zone": "America/New_York", "latitude": 39.0438, "longitude": -77.4874, "asn": 15169, "as_org": "Google LLC", "is_proxy": false, "is_anycast": true, "is_satellite": false }

Credits & Acknowledgements

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