home
home

API Access to DNSlytics

Our Free and Premium API calls enable access for 3rd party services to our data and tools. The interface is based on HTTPS GET requests and the data type is JSON. The Premium price model is based on Pay-as-You-go. Every API call gets debited from your API credit balance. You can buy API credits at https://search.dnslytics.com/pricing.

API Types

Version 1

The API Version 1 is based on the previous web interface, which was run by DNSlytics from 2016 until early 2024.

API Type Description Status Credits
AccountInfo Returns the current status of your API account. Stable free
ASInfo Returns information and statistics about every AS number. Stable 10
DomainSearch Returns registered and previously registered domain names based on one or more keywords. Stable 4
DomainTypos Returns registered domain typos and misspellings for a domain name. Stable 5
HostingHistory Returns IP/DNS history for a specific domain. The following records are supported: A, AAAA, MX, NS and SPF. Stable 4
IPInfo Returns information and statistics about every IP address. Stable 3
IP2ASN Returns the AS number announcing the specific IP address. Stable free
ReverseAdsense Returns domains using the same Google Adsense ID. Stable 6
ReverseGAnalytics Returns domains using the same Google Analytics ID. Stable 6
ReverseHistory Returns historical reverse data for Google Adsense, Google Analytics, IP MX and NS records. Stable 20
ReverseIP Returns domains hosted on the same IP address. Stable 5
ReverseMX Returns domains sharing the same mail server (MX record). Stable 5
ReverseNS Returns domains sharing the same name server (NS record). Stable 5
SubnetInfo Returns information and statistics about an IP subnet. Stable 4

Version 2

The API version 2 is based on the current web interface available at search.dnslytics.com.

API Type Description Status Credits
Dataset / Domains API for the Domains Dataset. The Domain dataset contains all active DNS data for domains and related properties like mail and name servers. It also contains active HTML meta data like Google Tags and ads.txt data. Beta 10

Buy API Credits

General API Information

Rate Limits

Our free API access is limited to 2,500 API requests per day. The Premium API is by default limited to 20,000 requests per day and 30 requests per minute. A HTTP 403 or 429 error with the following JSON object is returned when you hit the daily or minute rate limit.

{"status":"error","data":"Forbidden access denied!"}

OR

{"status":"error","data":"Too Many Requests"}

A HTTP 503 error with the following JSON object is returned when you hit a global rate limit.

{"status":"error","data":"Service Unavailable"}

Backward Compatible

Our API is designed to be backwards compatible. We may add additional response or request fields to the same API version. When implementing backwards-incompatible (breaking) changes, we will change the API version. Older API version will be supported for at least 6 months.

Changelog

This paragraph contains the changelog of the DNSlytics API.

2026-02-13

Beta release of the DNSlytics API v2 (dataset/domains type).

2026-01-23

The ReverseHistory and ReverseGAnalytics APIs are now supporting all Google Tags IDs. The following IDs are supported: AW-xxxx, DC-xxxx, G-xxxx, GT-xxxx, GTM-xxxx and UA-xxxx.

2023-05-10

Added ReverseHistory API.

2023-05-10

The ReverseAdsense and ReverseGAnalytics API now supports up to 100,000 domains per ID. Because of this change the API endpoints do not return historical domains. Use the ReverseHistory API to get historical reverse data.

2020-03-09

Added the ReverseGAnalytics API.

2020-02-28

Added the ReverseAdsense API.

2020-01-15

The ReverseMX and ReverseNS API now supports up to 100,000 domains per MX/NS record.

2018-06-03

Added the SubnetInfo API.

2018-05-23

Added the DomainTypos API.

2018-04-30

Initial release of the DNSlytics API v1.

Frequently Asked Questions

Is the new search interface (https://search.dnslytics.com) accessible via the API?

In February 2026, the beta of API v2 was released. Currently, only the Dataset/Domains type is available, and we plan to release additional API types later this year.

How long will API v1 be supported?

Once API v2 provides full functionality, we’ll keep supporting API v1 for at least six months.

Can you explain your Pay-as-You-go model?

Our pay‑as‑you‑go API model works with prepaid credits. You purchase a block of credits in advance, and each API request consumes a fixed number of credits (based on the API type). Some API types also include a page parameter for pagination, and every request—including each page fetched—consumes credits. When your credit balance runs out, the API stops responding until you purchase more credits. This lets you pay only for the usage you actually need, without a recurring subscription.

Are the API packages recurring?

API credits are one-time packages and do not renew automatically. When you run out of credits, you can simply purchase a new package. We do not store any payment data on our servers.

Is there a way to track our API credit usage?

At DNSlytics, we follow a minimal logging policy on our live systems. This means you cannot view your historical API calls or track how your API credits were used. However, you can use the AccountInfo API to check your current credit balance. See: https://dnslytics.com/api/accountinfo/. We advice to implement your own API logging mechanism.

What do the three API statuses mean?