REST API - All Paid Plans Included

API for WHOIS &
Lead Data

Access domain registrations, WHOIS records & website intelligence instantly. Simple REST API, daily updates, instant file download.

API Request

# Get India WHOIS data for today

GET https://get.whoisextractor.com/

?api=YOUR_API_KEY

&pid=1

&date=2026-04-01

Download starts immediately

whois-india-2026-04-01.zip - 14,846 domains

Quick Start

Up and running in 3 steps

1

Login & get API key

Sign in to your account. Your unique API key is shown in the API Documentation page.

2

Make a request

Call the endpoint with your API key and the product ID (pid) for the database you want.

3

Download starts automatically

A secure temporary link is generated and your file is delivered instantly. Updated daily at 6:00 AM IST.

$ curl "https://get.whoisextractor.com/?api=YOUR_KEY&pid=1"

Endpoint & Authentication

One endpoint, one key - no OAuth, no token refresh

GET Base Endpoint

https://get.whoisextractor.com/?api=YOUR_API_KEY&pid=1&date=2026-04-01

api required

Your unique API key

pid required

Product ID (see table below)

date optional

YYYY-MM-DD, up to 4 days back

  • Pass your key as the api query parameter - no OAuth needed
  • One key works for all paid product IDs
  • Timezone: India Standard Time (IST, GMT+5:30)
Keep your API key private. Never expose it in client-side code or public repositories.

Your API Key

Login to view your API key.
Login to View API Key

Available Endpoints

Use the product ID (pid) to select the database you want

PID
Product
Details
date
Status
1

~2,000-2,500 Indian registrants daily

Available
7

~15,000-20,000 US registrants daily

Available
8

~30-60 Australian registrants daily

Available
3

50,000-100,000+ domains daily, 25+ fields

Available
6
WHOIS Trial Plan (7 days)

7-day trial, 11 days of data

Available
4

308M+ domains, 994+ zones

-
Available
10

240K+ new domains daily, 1,570+ TLDs

-
Available
11

7,000-60,000+ websites daily with emails & phones

Available
5

No API - download only

-
No API
9

No API - download only

-
No API
WHOIS Domains Website

Response Behaviour

One request is all it takes - a secure temporary link is generated and the file is delivered instantly

Success - Instant Download

Request validated
whois-india-2026-04-01.zip
14,846 domains - delivered instantly

# No extra step needed.
# Secure link expires after 5 minutes.
Your HTTP client (curl, requests, wget) handles the delivery automatically - nothing extra to configure.

Errors (JSON)

HTTP/1.1 401 / 403 / 404
// Invalid API key
{ "error": "Invalid API key" }

// No access to this PID
{ "error": "Access denied" }

// Date not available
{ "error": "Data not available for this date" }
Only check for a JSON error body when the download did not start. A successful request delivers the file directly.

Error Handling

All errors return a JSON object with an error key

401
"error": "Invalid API key"

Wrong or missing api parameter

403
"error": "Access denied"

Your plan does not include this product ID

404
"error": "No data for this date"

Date too old (max 4 days back) or data not yet generated

429
"error": "Rate limit exceeded"

Too many requests. Reduce frequency.

500
"error": "Server error"

Try again in a few minutes. Contact support if persistent.

Usage Examples

Common patterns for integrating WhoisExtractor data

<?php
// API generates a secure link and delivers the file instantly
$apiKey = 'YOUR_API_KEY';
$date   = date('Y-m-d', strtotime('-2 days'));
$url    = "https://get.whoisextractor.com/?api={$apiKey}&pid=3&date={$date}";

// cURL handles the secure delivery automatically
$ch = curl_init($url);
$fp = fopen("whois-{$date}.zip", 'wb');
curl_setopt_array($ch, [
    CURLOPT_FILE           => $fp,
    CURLOPT_FOLLOWLOCATION => true,  // handle secure delivery
    CURLOPT_FAILONERROR    => true,
]);
curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch); fclose($fp);

$httpCode === 200
    ? print("Downloaded whois-{$date}.zip")
    : print("Error: HTTP {$httpCode}");
import requests
from datetime import date, timedelta

api_key     = 'YOUR_API_KEY'
target_date = (date.today() - timedelta(days=2)).strftime('%Y-%m-%d')

# requests handles secure delivery automatically
response = requests.get(
    'https://get.whoisextractor.com/',
    params={'api': api_key, 'pid': 3, 'date': target_date},
    stream=True
)

if response.status_code == 200:
    with open(f"whois-{target_date}.zip", 'wb') as f:
        for chunk in response.iter_content(8192):
            f.write(chunk)
    print("Downloaded!")
else:
    print(response.json())  # error JSON
const fs = require('fs');
const https = require('https');

const apiKey = 'YOUR_API_KEY';
const d = new Date(); d.setDate(d.getDate() - 2);
const date = d.toISOString().split('T')[0];
const url = `https://get.whoisextractor.com/?api=${apiKey}&pid=3&date=${date}`;

// https.get handles secure delivery automatically
https.get(url, (res) => {
  const out = fs.createWriteStream(`whois-${date}.zip`);
  res.pipe(out);
  out.on('finish', () => console.log('Downloaded!'));
});
# -L handles secure delivery, file saves automatically
curl -L -O "https://get.whoisextractor.com/?api=YOUR_API_KEY&pid=1&date=2026-04-01"

# Or save with a custom filename:
curl -L -o whois-india-2026-04-01.zip \
  "https://get.whoisextractor.com/?api=YOUR_API_KEY&pid=1&date=2026-04-01"

Rate Limits & Rules

Keep these in mind when integrating

Daily Updates

Data is updated once per day at 6:00 AM IST. Polling more than once daily returns the same file.

Historical Access

You can access up to 4 days of past data using the date parameter.

One Key, All Plans

Your API key works for all product IDs included in your active subscriptions.

Timezone

All dates are in India Standard Time (IST = GMT+5:30). Plan your cron jobs accordingly.

LIVE TESTER

Try the API

Enter your key and test all endpoints directly in the browser

File download will begin instantly after a successful request

GET
Response

                    

Start downloading WHOIS data today

All paid plans include full API access. No setup required - get your key and start in minutes.

Questions? Email [email protected]