DNS Lookup API lets you check MX, NS, and other server records

A DNS lookup API call gives you a domain’s corresponding IP address from its A record as well as the domain’s mail server (MX record), nameserver (NS record), SPF (TXT record), and more records.

Get started

500 free credits. No credit card required.

50 Billion+Domains and subdomains
116 Billion+DNS records
52,000+Satisfied customers
15+Years of data crawling

Benefits of our DNS server API

  • Insightful

    Learn more about a domain’s owner from his available Domain Name System (DNS) information. Find the IP address, mail server, nameserver, and other DNS-related information of domains by letting DNS Lookup API gather A, mail exchanger (MX), NS, SPF/TXT, and other records.

  • Easy to use

    DNS Lookup API is a RESTful API that can be easily integrated into pre-existing systems and processes. We also provide multiple client libraries with code samples for all commonly-used programming languages to speed up integration.

Practical usage of DNS API calls for MX, NS, and other server records

Practical usage of DNS API calls for MX, NS, and other server records

DDoS attack prevention

Even more violent than spam is the dreaded DDoS attack, which is basically a security attack on your website from dozens or even hundreds of IP address simultaneously. If you suddenly notice an unusual amount of traffic, then you may want to conduct a DNS lookup and get to the root of it before it becomes a problem, especially if the traffic is originating from a group of similar IP addresses.

Anti-Spam solutions

Better manage spam attacks from a given web server or IP address. When spammers attack your site repeatedly, you can obtain the attackers’ IP addresses via a DNS lookup tool and more information about the DNS infrastructure in use.

Penetration testing

Pen testers and researchers can use DNS data to expand their knowledge of an organization’s online properties. From there, they can begin to understand the bigger picture and reduce potential attack surfaces.

Study your competition

DNS entries can help you determine the companies that your competitors are currently working with and might be relevant for you to approach as part of your business development efforts.

DNS Database Download

All the insights of our DNS checker API are available in our comprehensive passive DNS database

Our database contains information on billions of domains and subdomains, enabling you to gather all available historical DNS data points you may be interested in.

Request a Quote
DNS Lookup API | WhoisXML API

Get 500 free API credits. No credit card required.

Get started

Trusted by
the smartest
companies

You may be interested

MAC Address API
MAC Address API

Get vendor information, detect virtual machines, manufacturer, location, read the information encoded in the MAC address.

Learn more
Email Verification
Email Verification

Ensure the validity and quality of any email address.

Learn more
Subdomains Lookup
Subdomains Lookup

Discover subdomains related to the target domain name.

Learn more
Website Categorization
Website Categorization

Define website category of the given domain.

Learn more
Reverse NS
Reverse NS

Find all domains that use the same name server.

Learn more
Reverse WHOIS
Reverse WHOIS

Find connections between various domains, individuals and organizations.

Learn more
Screenshot Service
Screenshot Service

Instantly get a screenshot of any web page.

Learn more
WHOIS Search
WHOIS Search

Get well-parsed and normalized WHOIS information for any domain name, IP address or email.

Learn more
Domain Availability
Domain Availability

The most accurate domain availability checker offered on the market.

Learn more
WHOIS Database Download
WHOIS Database Download

We provide complete and relevant domain WHOIS data which can be customized and easily integrated as per your business needs.

Learn more
Newly Registered Domains
Newly Registered Domains

Keep track of the best business opportunities online.

Learn more
Domain Research Suite
Domain Research Suite

Enhance your domain research toolkit by our enterprise-grade web-based solution that helps you in searching...

Learn more
Typosquatting Data Feed
Typosquatting Data Feed

Easily detect all typosquatting domain names as soon as they are registered each day.

Learn more
Real-time SSL Certificates Streaming
Real-time SSL Certificates Streaming

Get data feeds of SSL certificates along with their well parsed fields in real time. Accurate. Up-to-date.

Learn more
IP Netblocks
IP Netblocks

Find out which IP range the particular IP belongs to.

Learn more
MAC Address Vendor Database
MAC Address Vendor Database

Get the most comprehensive database of registered MAC address blocks, also referred to as OUIs (Organizationally Unique Identifiers).

Learn more
SSL Certificates Database
SSL Certificates Database

Get the most comprehensive database of SSL (Secure Sockets Layer) Certificates.

Learn more
DNS Lookup Services
DNS Lookup Services

Identify who is hosting a particular domain name or website.

Learn more
Brand Alert
Brand Alert

Monitor exact matches, variations and common misspellings of your brand name & trademarks.

Learn more
SSL Certificates API
SSL Certificates API

Check a domain’s SSL certificate chain via API calls.

Learn more
Reverse DNS
Reverse DNS

Give the list of domain names tied to the specified DNS records via API calls with outputs in JSON and XML.

Learn more
Domain Registration Streaming
Domain Registration Streaming

Get data feeds of new registered domains along with their WHOIS data generated in real time.

Learn more
Reverse MX
Reverse MX

Reveal all the domains that use the same mail server.

Learn more
Domains & Subdomains Discovery API
Domains & Subdomains Discovery API

Find domains and subdomains related by specific terms in their hostnames.

Learn more
Threat Intelligence Data Feeds
Threat Intelligence Data Feeds

Get the most relevant data to be ahead of emerging security threats.

Learn more
IP Geolocation
IP Geolocation

Find out the exact physical location of any IP address, email or domain name.

Learn more
Newly Created Websites Data Feed
Newly Created Websites Data Feed

Get insights for the new business registered on the web.

Learn more
Registrant Alert
Registrant Alert

Find out which domains were added or dropped by registrants, with given search criteria.

Learn more
Threat Intelligence API
Threat Intelligence API

Easily identify malicious resources and retrieve their threat information.

Learn more
Reverse IP
Reverse IP

Find relations like ownership between hostnames and IPs.

Learn more
Domain Reputation API
Domain Reputation API

Assess the domain's or IP addresses reputation and risk profile with a simple score based on a comprehensive...

Learn more