IP2WHOIS Information Lookup API

Beginner's Pick Development / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

IP2WHOIS provides a simple REST API to look up WHOIS registration data for any domain name, including registrar info, creation date, expiry date, and registrant details. It is useful for domain research, fraud detection, and building domain analytics tools. A free API key gives you up to 500 lookups per month to get started.

Beginner Tip

Use the free tier with up to 500 queries per month to experiment before upgrading. Pass just the domain name without http:// or www. as the domain parameter for accurate results.

Available Data

IP address information
geographic location
ASN and ISP data
Use case: Integrate whois domain name lookup data into web and mobile applications

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from IP2WHOIS Information Lookup",
    "description": "WHOIS domain name lookup",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

domain The queried domain name
registrar Details about the domain registrar including name and URL
create_date Date when the domain was first registered (ISO 8601)
expire_date Date when the domain registration expires
name_servers List of DNS name servers associated with the domain
status Current domain status (e.g., clientTransferProhibited)

Implementation Example

Request
const url = "https://www.ip2whois.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

400 Bad Request The domain parameter is malformed or includes a protocol prefix like http://
Pass only the bare domain name, e.g., domain=example.com instead of domain=https://example.com
401 Unauthorized Missing or invalid API key
Register at ip2whois.com to get a free API key and include it as the key query parameter
Empty WHOIS fields Some domain registrars do not publish full WHOIS data due to privacy protection
This is expected for privacy-protected domains; the API will return what is publicly available

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Development
Difficulty Intermediate
Verified: 2026-04-04

Related Tags

Similar APIs

View All →