DNS Lookup API

API Structure

Deepinfo DNS Lookup API returns the current DNS records of domains such as A, AAAA, MX, NS, SOA, TXT, etc.

You can choose any type of existing DNS records provided. Available DNS records are given below. You should use commas to separate multiple record types. However, up to five DNS types are supported per single request. Even if more than one type is, one will be deducted from the quota.

Let's start by creating a two-week free account from Deepinfo Platform, get your API key and you are ready. Next, you can test using the following cURL command.

Sample with the curl command:

curl --request GET \
     --url 'https://api.deepinfo.com/v1/lookup/dns?domain=deepinfo.com&type=A,NS,TXT,CNAME,MX' \
     --header 'Accept: application/json' \
     --header 'apikey: [YOUR_API_KEY]' \
API Endpoint:https://api.deepinfo.com/v1/lookup/dns?domain=deepinfo.com&type=A,NS,TXT,CNAME,MX
API Documentation:Link
Supported DNS TypesAvailable all DNS Types

If you wish to call DNS Lookup API with real values and run code, just click here.

You can always contact us and ask for more assistance.