API Documentation

Reverse MX

Overview

The DomainTools API is organized into distinct products with queries that follow a RESTful URL structure wherever possible. Each product offers free, un-authenticated access for the sample URLs listed with each product. If you haven’t already, you may want to review the getting started document to learn about authentication and response formats.

The Reverse MX API provides a list of Domains, MX records, and SPF records related to your search. Specify the search type by using only one of the allowed parameters.

https://api.domaintools.com/v1/reverse-mx/?domain=microsoft.com
https://api.domaintools.com/v1/reverse-mx/?mx_server=microsoft-com.mail.protection.outlook.com
https://api.domaintools.com/v1/reverse-mx/?mx_ip=207.46.163.138

Reverse MX Parameters

Parameters Description
domain Domain Name.
Results for a domain search will include a list of MX and SPF records used by the given domain. ( | ).
mx_server Name of a Mail Server.
Results for a mx_server search will include a list of up to 50 of the oldest domains using the given mx_server, up to 50 of the most active mail servers at the domain of the given mx_server, and a list of IP Addresses for the given mx_server. ( | ).
mx_ip IP Address of a Mail Server.
Results for a mx_ip search will include a list of Mail Servers that point to the given mx_ip, and up to 50 of the oldest domains using any of those Mail Servers. ( | ).

Sample “domain=” Response:

{
    "response": {
        "domain": "microsoft.com",
        "mx_servers": [
            {
                "mx_server": "microsoft-com.mail.protection.outlook.com",
                "priority": "10",
                "ips": [
                    "207.46.163.138",
                    "207.46.163.170",
                    ...
                ]
            },
            ...
        ],
        "spf_rules": [
            {
                "prefix": "+",
                "type": "include",
                "value": "_spf-b.microsoft.com"
            },
            {
                "prefix": "+",
                "type": "include",
                "value": "_spf-a.microsoft.com"
            },
            ...
        ]
    }
}

Sample “mx_server=” Response:

{
    "response": {
        "mx_servers": [
            "mn365.mail.protection.outlook.com",
            "rona-ca.mail.protection.outlook.com",
            ...
        ],
        "domains": [
            "pininfarina.se",
            "microsoftmoac.eu",
            ...
        ],
        "ips": [
            "207.46.163.247",
            "207.46.163.215",
            ...
        ]
    }
}

Sample “mx_ip=” Response:

{
    "response": {
        "mx_servers": [
            "mail.global.sprint.com",
            "jnj.mail.protection.outlook.com",
            ...
        ],
        "domains": [
            "uark.edu",
            "drake.edu",
            ...
        ]
    }
}

You must provide your API credentials to use this API.

General Information
Products