Domainsdb.info

Data API · Domain WHOIS lookup · Registration search · No auth

TL;DR

Domainsdb.info provides a free REST API for querying domain registration data. Search millions of domain records by domain name, TLD, registrar, creation date range, or expiration date. Each result includes the domain name, creation/expiration dates, registrar, nameservers, and WHOIS status. It's an excellent tool for domain research, SEO analysis, and competitive intelligence.

Quick start: https://api.domainsdb.info/v1/domains/search?domain=example

No API key needed — just make a request!

How to Use This API

1. Search Domains by Name

https://api.domainsdb.info/v1/domains/search?domain=github

Search for domains containing the query string. Returns matching domains with full registration details.

2. Filter by TLD

https://api.domainsdb.info/v1/domains/search?domain=api&tld=io

Limit search to a specific top-level domain (.com, .io, .org, .dev, .app, etc.).

3. Search by Registration Date Range

https://api.domainsdb.info/v1/domains/search?domain=tech&date_from=2024-01-01&date_to=2024-12-31

Find domains registered within a specific date range. Useful for tracking newly registered domains in a niche.

4. Filter by Zone (TLD Group)

https://api.domainsdb.info/v1/domains/search?domain=startup&zone=startup

zone filters by the exact TLD name. Also supports live=true to only return domains with an active website.

5. JavaScript — Domain Research Tool

async function searchDomains(query, options = {}) {
  const params = new URLSearchParams({ domain: query });
  if (options.tld) params.set('tld', options.tld);
  if (options.dateFrom) params.set('date_from', options.dateFrom);
  if (options.dateTo) params.set('date_to', options.dateTo);
  
  const resp = await fetch(
    `https://api.domainsdb.info/v1/domains/search?${params}`
  );
  const data = await resp.json();
  return data.domains || [];
}

async function analyzeDomains() {
  const domains = await searchDomains('api', { tld: 'io' });
  console.log(`Found ${domains.length} .io domains matching 'api'`);
  
  const byRegistrar = {};
  domains.forEach(d => {
    const r = d.registrar || 'Unknown';
    byRegistrar[r] = (byRegistrar[r] || 0) + 1;
  });
  
  Object.entries(byRegistrar)
    .sort((a, b) => b[1] - a[1])
    .slice(0, 5)
    .forEach(([reg, count]) => {
      console.log(`  ${reg}: ${count} domains`);
    });
}

analyzeDomains();
6. Python — New Domains Tracker
import requests
from datetime import date, timedelta

def find_new_domains(keyword, tld='com', days_back=7):
    today = date.today()
    week_ago = today - timedelta(days=days_back)
    
    resp = requests.get(
        'https://api.domainsdb.info/v1/domains/search',
        params={
            'domain': keyword,
            'tld': tld,
            'date_from': week_ago.isoformat(),
            'date_to': today.isoformat()
        }
    )
    data = resp.json()
    domains = data.get('domains', [])
    print(f"New {tld} domains with '{keyword}' ({days_back} days):")
    for d in domains[:10]:
        print(f"  {d['domain']} — {d.get('create_date', 'N/A')}")

find_new_domains('weather', 'app')
Try domain search: https://api.domainsdb.info/v1/domains/search?domain=api&tld=io

Frequently Asked Questions

How many domains are in the database?
Millions of domain records across all common TLDs (.com, .org, .net, .io, .dev, .app, and many more). The database is continuously updated.
What TLDs are supported?
All major gTLDs (.com, .org, .net, .io, .co, .app, .dev, .tech, .info, .xyz) and many ccTLDs. Use the tld parameter to filter.
What fields are in each result?
Domain name, create_date, update_date, expiry_date, registrar, nameservers, WHOIS status, zone, and whether the domain has an active website.
Is the WHOIS data real-time?
Data is periodically refreshed from public WHOIS records. It's not real-time but is regularly updated (typically within days of WHOIS changes).
Are there rate limits?
Free access with reasonable rate limits. The API is designed for research and development, not high-frequency scraping.

API Details

API URL
https://api.domainsdb.info/v1
Documentation
domainsdb.info/docs
Category
Data
Authentication
Not Required
Geographic Coverage
Global — All TLDs

What You Can Build