Bulk WHOIS API
apispot · Developer Tools
Domain API (WHOIS, Check, Batch)
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
queryDb
Query domain database
https://api.apis.guru/v2/specs/apispot.io/whois/1.0/db?query=test
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/apispot.io/whois/1.0/db?query=test"
import requests
params = {
"query": "test"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apispot.io/whois/1.0/db",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apispot.io/whois/1.0/db');
url.searchParams.set('query', 'test');
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/apispot.io/whois/1.0/db")
q := baseURL.Query()
q.Set("query", "test")
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/apispot.io/whois/1.0/db")
uri.query = URI.encode_www_form({
"query" => "test"
})
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/apispot.io/whois/1.0/db?" . http_build_query([
"query" => "test"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
getBatches
Get your batches
https://api.apis.guru/v2/specs/apispot.io/whois/1.0/batch
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/apispot.io/whois/1.0/batch"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/apispot.io/whois/1.0/batch",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/apispot.io/whois/1.0/batch'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/apispot.io/whois/1.0/batch"
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/apispot.io/whois/1.0/batch")
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/apispot.io/whois/1.0/batch";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
whois
WHOIS query for a domain
https://api.apis.guru/v2/specs/apispot.io/whois/1.0/domains/{domain}/whois?format=raw
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/apispot.io/whois/1.0/domains/{domain}/whois?format=raw"import requests
params = {
"format": "raw"
}
response = requests.get(
"https://api.apis.guru/v2/specs/apispot.io/whois/1.0/domains/{domain}/whois",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/apispot.io/whois/1.0/domains/{domain}/whois');
url.searchParams.set('format', 'raw');
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/apispot.io/whois/1.0/domains/{domain}/whois")
q := baseURL.Query()
q.Set("format", "raw")
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/apispot.io/whois/1.0/domains/{domain}/whois")
uri.query = URI.encode_www_form({
"format" => "raw"
})
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/apispot.io/whois/1.0/domains/{domain}/whois?" . http_build_query([
"format" => "raw"
]);
$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
- See official documentation for authentication and setup.
What can you build with Bulk WHOIS API?
Bulk WHOIS API 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. Bulk WHOIS API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide