Query My IP
Free API interface to query my IP address, online tool to obtain local public IP. Automatically detects client exit IP and returns detailed geolocation information, supporting standard and commercial high-precision data. Suitable for web IP display, network diagnostics, proxy detection and other scenarios. · Suitable for web IP display, network diagnostic tools, proxy detection, VPN testing, network configuration verification, user geographic location display and other scenarios · Query My IP
Query my IP, Local IP query API, Public IP acquisition, What is my IP, Client IP detection, Exit IP query, Free IP interface
GET /network/myip - Query My IP
Want to know what your exit public IP is? This endpoint is your 'network ID card'. Returns standard results by default; if you pass source=commercial, more complete location information will be returned.
Overview
Calling this endpoint will return your (i.e., the requesting client's) public IP address, along with geographic location and network affiliation information identical to the /network/ipinfo endpoint. Perfect for displaying users' own IP and geographic location on web pages.
When passing source=commercial, the response will include more complete city, district, operator, timezone, altitude and other information, but response time may be slightly longer.