Domain Search

Prev Next
DGET /explore/domain/search

Search for domains that match specific criteria, including optional name servers, WHOIS, network, and domain name patterns.

Query Parameters

  • domain = (string) (optional) –

    • name or wildcard pattern of domain names to search for

  • domain_regex = (pattern) (optional) –

    • re2 regular expression - overrides domain parameter

      • pattern must be a valid re2 regular expression

  • nsname = (string) (optional) –

    • name server name or wildcard pattern of name server used by domains

      • use nsname=self to find domains hosting their own nameservers

  • mxname = (string) (optional) –

    • mx server name or wildcard pattern of mx server used by domains

      • use mxname=self to find domains hosting their own mailservers

  • first_seen_min = (string) (optional) –

    • only domains that have A records seen for the first time after the given date

  • first_seen_max = (string) (optional) –

    • only domains that have A records seen for the first time before the given date

  • first_seen_min_mode = (string) (optional) –

    • match mode for first_seen_min parameter

      • strict (default) - select A records that do not have any timestamps before first_seen_min

      • any - select A records that have at least one timestamp after first_seen_min

  • first_seen_max_mode = (string) (optional) –

    • match mode for first_seen_max parameter

      • strict (default) - select A records that do not have any timestamps after first_seen_max

      • any - select A records that have at least one timestamp before first_seen_max

  • last_seen_min = (string) (optional) –

    • only domains that have A records last seen more recently than the given date

  • last_seen_max = (string) (optional) –

    • only domains that have A records last seen earlier than the given date

  • last_seen_min_mode = (string) (optional) –

    • match mode for last_seen_min parameter

      • strict - select A records that do not have any timestamps before last_seen_min

      • any (default) - select A records that have at least one timestamp after first_seen_min

  • last_seen_max_mode = (string) (optional) –

    • match mode for last_seen_max parameter

      • strict (default) - select A records that do not have any timestamps after last_seen_max

      • any - select A records that have at least one timestamp before last_seen_max

  • asnum = (int) (optional) –

    • AS number to search, may be repeated multiple time for additional AS numbers

  • asn = (int) (optional) –

    • search for IP addresses in or not in the given AS numbers

      • default = in

  • asname = (string) (optional) –

    • search all AS numbers where the AS Name begins with

  • asname_starts_with = (string) (optional) –

    • search all AS numbers where the AS Name begins with

  • asname_contains = (string) (optional) –

    • search all AS numbers where the AS Name contains

  • asn_match = (string) (optional) –

    • how to match AS numbers

      • any (default) - match on any asnum given or derived from asname

      • all - asn diversity timeline must contain all asnums given as asnum parameter or derived from asname

      • limit - apply min and/or max limits as specified by optional asn_match_min and asn_match_max parameters

  • asn_match_max = (int) (optional) –

    • maximum of the asnums given as asnum or derived from asname must appear in asn diversity timeline

  • asn_match_min = (int) (optional) –

    • minimum of the asnums given as asnum or derived from asname must appear in asn diversity timeline

  • network = (string) (optional) –

    • additional network and net mask

      • give option as 1.1.1.1/24

      • network parameter may be given multiple times and the search will be performed as an ‘or’ condition

  • timeline =<0|1> (int) (optional) –

    • include details of IPs, ASNs, first_seen and last_seen for each domain

      • 0 (default) = do not include

      • 1 = include timeline

  • first_seen_after = (string) (optional) –

    • only domains that have been seen using the NS server in the “nsname=” parameter for the first time after the given date

  • first_seen_before = (string) (optional) –

    • only domains that have been seen using the NS server in the “nsname=” parameter for the first time before the given date

  • registrar = (string) (optional) –

    • name or partial name of registrar used to register domains - no wildcards, the given string is used in partial match - this is a slow search option and should only be used in combination with the domain match option

  • email = (string) (optional) –

    • email used to register domains - no wildcards, the given string is used in exact match - this is a slow search option and should only be used in combination with the domain match option

  • whois_date_after = (string) (optional) –

    • only domains that have a created date in Whois after this date – this limits the search to domains for which we have Whois data and makes the search perform slowly – all of the whois specific options should be avoided if at all possible

  • nschange_from_ns = (string) (optional) –

    • domain has changed name server from nsname

      • exact match, wildcards and ‘self’ options supported

  • nschange_to_ns = (string) (optional) –

    • domain has changed name server to nsname

    • exact match, wildcards and ‘self’ options supported

  • nschange_date_after = (string) (optional) –

    • only domains with name server changes that occurred after the given date

    • if nschange_date_after is not given, the default is to find name server changes in the last 30 days, if nschange_date_before is not given

  • nschange_date_before = (string) (optional) –

    • only domains with name server changes that occurred before the given date

  • cert_date_min = (string) (optional) –

    • only domains that have had ssl certificates issued on or after the given date

  • cert_date_max = (string) (optional) –

    • only domains that have had ssl certificates issued on or before the given date

  • cert_issuer = (string) (optional) –

    • only domains that have had ssl certificates issued using the named certificate issuer

      • wildcards (*) are supported

      • spaces in name may be represented by ‘+’

  • infratag = (string) (optional) –

    • search by infratag

      • infratag must include mx part, ns part, asname part, or registrar part

      • overrides mxname, nsname and registrar parameters, if infratag contains these parts

      • can be combined with all other parameters

  • asn_diversity = (int) (optional) –

    • asn diversity - exact match

  • asn_diversity_min = (int) (optional) –

    • minimum diversity limit

  • asn_diversity_max = (int) (optional) –

    • maximum diversity limit

  • ip_diversity_all = (int) (optional) –

    • ip diversity all - exact match

  • ip_diversity_all_min = (int) (optional) –

    • minimum diversity limit

      • default = 1

  • ip_diversity_all_max = (int) (optional) –

    • maximum diversity limit

  • ip_diversity_groups = (int) (optional) –

    • ip diversity groups - exact match

  • ip_diversity_groups_min = (int) (optional) –

    • minimum diversity limit

  • ip_diversity_groups_max = (int) (optional) –

    • maximum diversity limit

  • limit = (int) (optional) –

    • number of results to return

      • default = 100

  • skip = (int) (optional) –

    • number of results to skip

  • prefer = (string) (optional) –

    • result (default) - return results if available before max_wait timeout, otherwise return job_id

    • job_id - return job_id immediately

  • max_wait = (int) (optional) –

    • number of seconds to wait for results before returning job_id

      • default = 25

      • value in the range from 0 to 25

  • with_metadata =<0|1> (int) (optional) –

    • include metadata object in response : returned results, total results, job_id

      • 0 (default) = do not include

      • 1 = include metadata

Request headers:

  • X-API-KEY - api-key

Warning

Using any of the WHOIS specific options limits the search to domains for which we recollected WHOIS data

  • whois_data_after

  • registrar

  • email

Example request

https://api.silentpush.com/api/v1/merge-api/explore/domain/search \
     ?nsname=*.bodis.com \
     &asn_diversity_min=5 \
     &limit=3

Example response

{
    "status_code": 200,
    "error": null,
    "response": {
        "records": [
            {
                "asn_diversity": 5,
                "host": "089.org",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3
            },
            {
                "asn_diversity": 5,
                "host": "6645.org",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3
            },
            {
                "asn_diversity": 5,
                "host": "aerialbytes.com",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3
            }
        ]
    }
}

Example timeline

https://api.silentpush.com/api/v1/merge-api/explore/domain/search \
    ?nsname=*.bodis.com \
    &asn_diversity_min=5 \
    &limit=3 \
    &timeline=1
{
    "status_code": 200,
    "error": null,
    "response": {
        "records": [
            {
                "asn_diversity": 5,
                "host": "089.org",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3,
                "timeline": [
                    {
                        "asn": 3842,
                        "first_seen": "2021-06-23 15:00:05",
                        "ip": "107.161.23.204",
                        "last_seen": "2021-06-26 13:25:30"
                    },
                    {
                        "asn": 8100,
                        "first_seen": "2021-06-23 15:00:05",
                        "ip": "192.161.187.200",
                        "last_seen": "2021-06-26 13:25:30"
                    },
                    {
                        "asn": 53667,
                        "first_seen": "2021-06-23 15:00:05",
                        "ip": "209.141.38.71",
                        "last_seen": "2021-06-26 13:25:30"
                    },
                    {
                        "asn": 395082,
                        "first_seen": "2021-06-28 22:20:59",
                        "ip": "199.59.242.153",
                        "last_seen": "2021-07-09 15:04:46"
                    },
                    {
                        "asn": 16509,
                        "first_seen": "2021-03-10 17:07:19",
                        "ip": "52.58.78.16",
                        "last_seen": "2021-06-21 13:19:25"
                    }
                ]
            },
            {
                "asn_diversity": 5,
                "host": "6645.org",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3,
                "timeline": [
                    {
                        "asn": 3842,
                        "first_seen": "2020-12-23 14:02:19",
                        "ip": "107.161.23.204",
                        "last_seen": "2021-06-26 16:52:24"
                    },
                    {
                        "asn": 16509,
                        "first_seen": "2021-05-22 11:35:33",
                        "ip": "99.81.40.78",
                        "last_seen": "2021-06-21 17:28:31"
                    },
                    {
                        "asn": 395082,
                        "first_seen": "2021-06-27 13:52:52",
                        "ip": "199.59.242.153",
                        "last_seen": "2021-07-09 14:02:15"
                    },
                    {
                        "asn": 53667,
                        "first_seen": "2020-12-23 14:02:19",
                        "ip": "209.141.38.71",
                        "last_seen": "2021-06-26 16:52:24"
                    },
                    {
                        "asn": 8100,
                        "first_seen": "2020-12-23 14:02:19",
                        "ip": "192.161.187.200",
                        "last_seen": "2021-06-26 16:52:24"
                    }
                ]
            },
            {
                "asn_diversity": 5,
                "host": "aerialbytes.com",
                "ip_diversity_all": 5,
                "ip_diversity_groups": 3,
                "timeline": [
                    {
                        "asn": 19994,
                        "first_seen": "2020-12-28 17:30:52",
                        "ip": "23.253.58.227",
                        "last_seen": "2021-06-11 12:34:58"
                    },
                    {
                        "asn": 395082,
                        "first_seen": "2021-07-09 11:10:00",
                        "ip": "199.59.242.153",
                        "last_seen": "2021-07-09 11:10:00"
                    },
                    {
                        "asn": 16509,
                        "first_seen": "2020-12-28 17:30:52",
                        "ip": "176.34.241.253",
                        "last_seen": "2021-06-11 12:34:58"
                    },
                    {
                        "asn": 33070,
                        "first_seen": "2020-12-28 17:30:52",
                        "ip": "162.242.150.89",
                        "last_seen": "2021-06-11 12:34:58"
                    },
                    {
                        "asn": 19324,
                        "first_seen": "2021-06-12 11:35:27",
                        "ip": "52.128.23.27",
                        "last_seen": "2021-07-07 16:14:05"
                    }
                ]
            }
        ]
    }
}