API for WHOIS &
Lead Data
Access domain registrations, WHOIS records & website intelligence instantly. Simple REST API, daily updates, instant file download.
# 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
Login & get API key
Sign in to your account. Your unique API key is shown in the API Documentation page.
Make a request
Call the endpoint with your API key and the product ID (pid) for the database you want.
Download starts automatically
A secure temporary link is generated and your file is delivered instantly. Updated daily at 6:00 AM IST.
Endpoint & Authentication
One endpoint, one key - no OAuth, no token refresh
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
apiquery parameter - no OAuth needed - One key works for all paid product IDs
- Timezone: India Standard Time (IST, GMT+5:30)
Available Endpoints
Use the product ID (pid) to select the database you want
6
7-day trial, 11 days of data
Response Behaviour
One request is all it takes - a secure temporary link is generated and the file is delivered instantly
Success - Instant Download
whois-india-2026-04-01.zip 14,846 domains - delivered instantly # No extra step needed. # Secure link expires after 5 minutes.
Errors (JSON)
// 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" }
Error Handling
All errors return a JSON object with an error key
"error": "Invalid API key"
Wrong or missing api parameter
"error": "Access denied"
Your plan does not include this product ID
"error": "No data for this date"
Date too old (max 4 days back) or data not yet generated
"error": "Rate limit exceeded"
Too many requests. Reduce frequency.
"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.
Try the API
Enter your key and test all endpoints directly in the browser
File download will begin instantly after a successful request
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]