DNS & WHOIS Lookup API logo

DNS & WHOIS Lookup API

Bydataandapis.com
|
Tools
|
10 tokens / call

Resolve DNS records (A, AAAA, MX, TXT, NS, CNAME, SOA, SRV, CAA, PTR) and fetch domain registration data — registrar, status, nameservers, DNSSEC, and key dates. DNS is served over DNS-over-HTTPS and WHOIS via RDAP, the modern JSON replacement for legacy WHOIS.

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

domain(Required)
type(Optional)

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});