Find an API

Search public APIs with auth details & Postman guides

← All APIs

IP2WHOIS Domain Lookup

ip2whois · Developer Tools

Developer Tools No Auth Free & Open developer_tools

IP2WHOIS is a free tool to allow you to check WHOIS information for a particular domain, such as domain assigned owner contact information, registrar information, registrant information, location and much more.

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET GET /

Lookup WHOIS information

https://api.apis.guru/v2/specs/ip2whois.com/1.0?key=YOUR_API_KEY&domain=example&format=json

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/ip2whois.com/1.0/?key=YOUR_API_KEY&domain=example&format=json"
import requests
params = {
    "key": "YOUR_API_KEY",
    "domain": "example",
    "format": "json"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/ip2whois.com/1.0/",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/ip2whois.com/1.0/');
url.searchParams.set('key', 'YOUR_API_KEY');
url.searchParams.set('domain', 'example');
url.searchParams.set('format', 'json');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/ip2whois.com/1.0/")
	q := baseURL.Query()
	q.Set("key", "YOUR_API_KEY")
	q.Set("domain", "example")
	q.Set("format", "json")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/ip2whois.com/1.0/")
uri.query = URI.encode_www_form({
  "key" => "YOUR_API_KEY",
  "domain" => "example",
  "format" => "json"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/ip2whois.com/1.0/?" . http_build_query([
    "key" => "YOUR_API_KEY",
    "domain" => "example",
    "format" => "json"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with IP2WHOIS Domain Lookup?

IP2WHOIS Domain Lookup is a Developer Tools API. Developers commonly use developer tools APIs for:

  • automating code review and quality checks
  • integrating CI/CD pipelines and build systems
  • managing feature flags and A/B tests
  • monitoring errors and application performance
  • generating and validating test data

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. IP2WHOIS Domain Lookup is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide · Learn about API keys · What is REST?

Open documentation ↗