Domain Query API

You can fetch data for any domain name with our pay-as-you-go API.
It requires credit in your balance. One credit is equal to one API request.
REST API format: https://zonefiles.io/q/yourToken/domainName/

yourToken

Your access token. You can find your token in your dashboard.

domainName

Domain name (e.g. statista.com)

Response

Domain data in JSON format (see sample below).

system

Field Description Field type
status Query status code. 1 == OK. In case of an error, you will receive an appropriate status code. integer
description Detailed information about the response. string

data

Field Description Field type
domain Target domain name string
ip domain IP/s string, comma-separated values
dns Domain Name Servers string, comma-separated values
geo_ip Domain country (detected by website IP location) string, 2 symbols (ISO country code)
geo_codepage Domain country (detected by website HTML country code) string, 2 symbols (ISO country code)
hostname Domain server host name string
emails Contact emails found on website string, comma-separated values
phones Contact phones found on website string, comma-separated values
technologies Technologies found on website array (find the description below)

technologies

The technologies field contains the list of technologies found on the website (e.g. webservers, frameworks, CDNs, engines, libraries, etc.)
Each of elements represents an extra array (Technology Name and Technology Category) - see the example below.

Sample JSON response

{
  "system": {
    "status": 1,
    "description": "OK"
  },
  "data": {
    "domain": "statista.com",
    "ip": "18.194.218.165",
    "dns": "ns-194.awsdns-24.com,ns-773.awsdns-32.net,ns-1133.awsdns-13.org,ns-1945.awsdns-51.co.uk",
    "geo_ip": "DE",
    "geo_codepage": "",
    "hostname": "ec2-18-194-218-165.eu-central-1.compute.amazonaws.com",
    "emails": "[email protected],[email protected]",
    "phones": "+44-203-709-9960",
    "technologies": {
      "Google Analytics": {
        "categories": [
          "Analytics"
        ]
      },
      "jQuery": {
        "categories": [
          "JavaScript frameworks"
        ]
      },
      "Font Awesome": {
        "categories": [
          "Font scripts"
        ]
      },
      "Google Font API": {
        "categories": [
          "Font scripts"
        ]
      },
      "Nginx": {
        "categories": [
          "Web servers"
        ]
      },
      "DoubleClick for Publishers (DFP)": {
        "categories": [
          "Advertising systems"
        ]
      },
      "Google Tag Manager": {
        "categories": [
          "Tag managers"
        ]
      }
    }
  }
}