{
    "type": "object",
    "properties": {
        "Query": {
                "Duration": {
                "type": "number"
            },
            "Server": {
                "type": "string"
            }
        },
        "QuestionSection": {
            "Qclass": {
                "type": "string"
            },
            "Qname": {
                "type": "string"
            },
            "Qtype": {
                "type": "string"
            }
        },
        "AnswerSection": {
            "type": "array",
            "items": {
                "type": "object"
            }
        },
        "AuthoritySection": {
            "type": "array",
            "items": {
                "type": "object"
            }
        },
        "AdditionalSection": {
            "type": "array",
            "items": {
                "type": "object"
            }
        },
        "AA": {
            "type": "boolean"
        },
        "AD": {
            "type": "boolean"
        },
        "ID": {
            "type": "number"
        },
        "RA": {
            "type": "boolean"
        },
        "RD": {
            "type": "boolean"
        },
        "TC": {
            "type": "boolean"
        }
}

General (returned for all record types)

{
    "Name": "string",
    "Type": "string",
    "Class": "string",
    "TTL": "number"
}

A

{
    "Address": "string",
}

AAAA

{
    "Address": "string",
}

CNAME

{
    "Target": "string",
}

LOC

{
    "Latitude": "array",
    "Longitude": "array",
    "Altitude": "number"
}

MX

{
    "MailExchanger": "string",
    "Preference": "number"
}

NAPTR

{
    "Flags": "string",
    "Order": "number",
    "Service": "string",
    "Preference": "number",
    "Regexp": "string",
    "Replacement": "string"
}

NS

{
    "Target": "string",
}

PTR

{
    "Target": "string",
}

SOA

{
    "MasterServerName": "string",
    "MaintainerName": "string",
    "Serial": "number",
    "Refresh": "number",
    "Retry": "number",
    "Expire": "number",
    "NegativeTtl": "number"
}

TXT

{
    "TxtData": "string",
}
Request path format: api.openresolve.com/<type>/<domain>

/a/www.nyt.com

{
    "AA": false,
    "ReturnCode": "NOERROR",
    "AD": false,
    "AdditionalSection": [],
    "AnswerSection": [
        {
            "Class": "IN",
            "Target": "www.nytimes.com.",
            "Type": "CNAME",
            "Name": "www.nyt.com.",
            "TTL": 300
        },
        {
            "Class": "IN",
            "Target": "www.gtm.nytimes.com.",
            "Type": "CNAME",
            "Name": "www.nytimes.com.",
            "TTL": 491
        },
        {
            "Class": "IN",
            "Address": "170.149.172.130",
            "Type": "A",
            "Name": "www.gtm.nytimes.com.",
            "TTL": 82
        }
    ],
    "ID": 57786,
    "AuthoritySection": [],
    "QuestionSection": {
        "Qclass": "IN",
        "Qtype": "A",
        "Qname": "www.nyt.com."
    },
    "RD": true,
    "RA": true,
    "Query": {
        "Duration": 0.0389251708984375,
        "Server": "208.67.222.222"
    },
    "TC": false
}

/mx/opendns.com

{
    "AA": false,
    "ReturnCode": "NOERROR",
    "AD": false,
    "AdditionalSection": [],
    "AnswerSection": [
        {
            "MailExchanger": "ALT1.ASPMX.L.GOOGLE.com.",
            "Name": "opendns.com.",
            "TTL": 54,
            "Type": "MX",
            "Class": "IN",
            "Preference": 5
        },
        {
            "MailExchanger": "ALT2.ASPMX.L.GOOGLE.com.",
            "Name": "opendns.com.",
            "TTL": 54,
            "Type": "MX",
            "Class": "IN",
            "Preference": 5
        },
        {
            "MailExchanger": "ASPMX.L.GOOGLE.com.",
            "Name": "opendns.com.",
            "TTL": 54,
            "Type": "MX",
            "Class": "IN",
            "Preference": 1
        },
        {
            "MailExchanger": "ASPMX2.GOOGLEMAIL.com.",
            "Name": "opendns.com.",
            "TTL": 54,
            "Type": "MX",
            "Class": "IN",
            "Preference": 10
        },
        {
            "MailExchanger": "ASPMX3.GOOGLEMAIL.com.",
            "Name": "opendns.com.",
            "TTL": 54,
            "Type": "MX",
            "Class": "IN",
            "Preference": 10
        }
    ],
    "ID": 16484,
    "AuthoritySection": [],
    "QuestionSection": {
        "Qclass": "IN",
        "Qtype": "MX",
        "Qname": "opendns.com."
    },
    "RD": true,
    "RA": true,
    "Query": {
        "Duration": 0.025623083114624023,
        "Server": "208.67.222.222"
    },
    "TC": false
}

/soa/google.com

{
    "AA": false,
    "ReturnCode": "NOERROR",
    "AD": false,
    "AdditionalSection": [],
    "AnswerSection": [
        {
            "Retry": 1800,
            "Name": "google.com.",
            "NegativeTtl": 300,
            "Refresh": 7200,
            "Expire": 1209600,
            "MaintainerName": "dns-admin.google.com.",
            "TTL": 58,
            "MasterServerName": "ns1.google.com.",
            "Serial": 1575068,
            "Type": "SOA",
            "Class": "IN"
        }
    ],
    "ID": 14898,
    "AuthoritySection": [],
    "QuestionSection": {
        "Qclass": "IN",
        "Qtype": "SOA",
        "Qname": "google.com."
    },
    "RD": true,
    "RA": true,
    "Query": {
        "Duration": 0.021759986877441406,
        "Server": "208.67.222.222"
    },
    "TC": false
}
Request path format: api.openresolve.com/reverse/<ip-address>

/reverse/67.215.92.211

{
    {
    "AA": false,
    "ReturnCode": "NOERROR",
    "AD": false,
    "AdditionalSection": [],
    "AnswerSection": [
        {
            "Class": "IN",
            "Target": "www.opendns.com.",
            "Type": "PTR",
            "Name": "211.92.215.67.in-addr.arpa.",
            "TTL": 3600
        }
    ],
    "ID": 51537,
    "AuthoritySection": [],
    "QuestionSection": {
        "Qclass": "IN",
        "Qtype": "PTR",
        "Qname": "211.92.215.67.in-addr.arpa."
    },
    "RD": true,
    "RA": true,
    "Query": {
        "Duration": 0.008588790893554688,
        "Server": "208.67.222.222"
    },
    "TC": false
}