Free IP, GeoIP & Whois API Calls
IP, GeoIP & Whois API
This API suite provides lightweight, real-time access to essential IP address and domain-related data. It is built for developers, network administrators, cybersecurity platforms, and any application that requires accurate and timely information about users, visitors, or assets on the internet.
The suite includes three primary endpoints:
- /ip/ - Instantly returns the requester’s public IP address in plain text. This is ideal for simple integrations, such as identifying user IPs on the client or server side, diagnosing connectivity issues, or verifying routing configurations.
- /geoip/ - Accepts an IP address as a query parameter and returns detailed geolocation data in JSON format. This includes city, state or province, country, ISP, and organization. It’s a powerful tool for location-based services, analytics, fraud prevention, and access control.
- /whois/ - Performs a real-time RDAP (Registration Data Access Protocol) lookup for a given domain name and returns domain registration details in structured JSON format. This includes registrar information, important registration dates (creation, expiration, and last update), nameservers, and related entities. It’s especially useful for domain monitoring, brand protection, abuse detection, and registrar auditing.
Together, these APIs offer a fast, reliable, and easy-to-use interface for working with IP and domain intelligence across a wide range of use cases. Whether you're building a security tool, automating a network utility, or powering a location-aware web service, this suite provides the foundational data you need without unnecessary overhead.
Available Endpoints
- /ip/
Returns the visitor’s current IP address in plain text.GET https://www.whatismyip.net/ip/
- /geoip/
Returns geolocation details for your current IP address in JSON format.GET https://www.whatismyip.net/geoip/
- /geoip/?ip=IP_ADDRESS
Returns geolocation details for a provided IPv4 address in JSON format.GET https://www.whatismyip.net/geoip/?ip=216.73.216.242
- /whois/?domain=DOMAIN_NAME
Returns domain registration details using RDAP (with fallback to WHOIS if RDAP is not supported). Data is returned in a normalized JSON format.GET https://www.whatismyip.net/whois/?domain=whatismyip.net
Output Format
All responses are returned in standard JSON.
Example response from /geoip/
:
Example for /whois/
:
Rate Limiting
Each IP address is limited to 50 API requests per minute. This is enforced at the server level to ensure fair usage and performance. Abuse may result in temporary or permanent blocks.
If you need more limits, we do offer a paid version depending on your needs, again please send us a message with your needs through our contact form and we will get back to you as soon as we can.
Use Cases
- IP logging and audit trails
- Visitor geolocation for custom experiences
- Network diagnostics or monitoring dashboards
- Domain tools, RDAP client integrations, security scanners
Integration Tips
No API key is required. All endpoints support cross-origin requests (CORS enabled), making them suitable for frontend JavaScript applications or AJAX calls.
Ensure you throttle client-side calls appropriately to avoid being rate-limited.
Questions / Comments
Shoot us a message on the contact page.
Live API Usage Stats Since 07/2025
API Endpoint | Count |
/ip | 199 Calls |
/geoip | 5 Calls |
/whois | 14 Calls |
Total | 218 Calls |