home
home

API Access to DNSlytics

Our Free and Premium API calls enable access for 3rd party services to our content 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

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

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 6 months.

Changelog

This paragraph contains the changelog of the DNSlytics API.

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.