# Subdomains Only

Matches records whose type equals 2.

Source: https://docs.deepinfo.com/reference/discovery/domain-search/examples/type/

Last updated: 2026-09-26

---
`POST https://api.deepinfo.com/v1/discovery/domain-search?page_size=25`

Example 2 of 20 in **Filters › Name & Extension** · [Domain Search Examples](/reference/discovery/domain-search/examples/) · endpoint: [Domain Search](/reference/discovery/domain-search/)

Tags: `field` `type` · `operator` `eq`

Matches records whose `type` equals `2`.

In the dataset, registrable domains carry `type: 1` and subdomains `type: 2`.

In the response, look at `results[].type`.

## Request

| Parameter | In | Value |
|---|---|---|
| `page_size` | query | `25` |
| `filters.must[0].name` | body | `type` |
| `filters.must[0].type` | body | `eq` |
| `filters.must[0].value` | body | `2` |

```bash
curl -X POST 'https://api.deepinfo.com/v1/discovery/domain-search?page_size=25' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "filters": {
    "must": [
      {
        "name": "type",
        "type": "eq",
        "value": 2
      }
    ]
  }
}'
```

## Response

### 200 · OK

> Shortened for this page: results: 3 of 25 shown; results[].ip_history: first 10 items

`Content-Type: application/json` · `ratelimit-limit: 1000` · `ratelimit-remaining: 999` · `ratelimit-reset: 1` · `x-ratelimit-limit-hour: 100000` · `x-ratelimit-limit-minute: 10000` · `x-ratelimit-limit-second: 1000` · `x-ratelimit-remaining-hour: 99998` · `x-ratelimit-remaining-minute: 9998` · `x-ratelimit-remaining-second: 999` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "page": 1,
  "page_size": 25,
  "result_count": 1519421777,
  "results": [
    {
      "punycode": "www.mail05.sciencetots.org",
      "unicode": "www.mail05.sciencetots.org",
      "is_idn": false,
      "subdomain": {
        "punycode": "www.mail05",
        "unicode": "www.mail05",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": true,
        "contains_hyphen": false,
        "length": 9
      },
      "subdomain_last": {
        "punycode": "www",
        "unicode": "www",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 3
      },
      "subdomain_root": {
        "punycode": "mail05",
        "unicode": "mail05",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": true,
        "contains_hyphen": false,
        "length": 6
      },
      "name": {
        "punycode": "www.mail05.sciencetots",
        "unicode": "www.mail05.sciencetots",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": true,
        "contains_hyphen": false,
        "length": 20,
        "lang": "en",
        "keywords": [
          "www",
          "mail",
          "science",
          "tots"
        ],
        "keyword_count": 4,
        "latinized": [],
        "contains_confusable": false
      },
      "domain": {
        "punycode": "sciencetots.org",
        "unicode": "sciencetots.org",
        "is_idn": false,
        "name": {
          "punycode": "sciencetots",
          "unicode": "sciencetots",
          "is_idn": false,
          "contains_letter": true,
          "contains_number": false,
          "contains_hyphen": false,
          "length": 11,
          "lang": "en",
          "keywords": [
            "science",
            "tots"
          ],
          "keyword_count": 2
        },
        "extension": {
          "punycode": "org",
          "unicode": "org",
          "is_idn": false
        },
        "extension_root": {
          "punycode": "org",
          "unicode": "org",
          "is_idn": false
        },
        "extension_sub": null,
        "extension_type": 1,
        "reserved": null,
        "premium": null,
        "registered": true,
        "whois": {
          "create_date": "2021-04-19T14:32:34Z",
          "update_date": "2026-06-03T14:32:35Z",
          "expiry_date": "2027-04-19T14:32:34Z",
          "registrar": "tool domains ltd dba edoms.com",
          "registrant": {
            "name": null,
            "organization": null,
            "street": null,
            "city": null,
            "state": null,
            "postal_code": null,
            "country": null,
            "phone": null,
            "email": null
          },
          "name_servers": [
            "ns1.parkingcrew.net",
            "ns2.parkingcrew.net"
          ],
          "domain_status": [
            "ok"
          ],
          "whois_server": "http://whois.tool.domains",
          "check_date": "2026-06-05T12:51:16Z"
        },
        "whois_normalized": {
          "registrant": null
        },
        "whois_last_check_date": "2026-06-05T12:51:16Z",
        "whois_create_date_historical": null,
        "whois_last_change_date": "2026-06-05T12:53:56Z",
        "whois_registrant_email_historical": null,
        "whois_privacy_enabled": null,
        "dns": {
          "a": {
            "update_date": "2026-09-04T00:24:34Z",
            "ip_addresses": [
              "104.247.81.99"
            ]
          }
        },
        "dns_last_change_date": "2026-09-04T00:26:16Z",
        "ip_history": null,
        "ssl": {
          "validity": {
            "start_date": "2020-07-20T00:00:00Z",
            "end_date": "2022-09-18T12:00:00Z"
          },
          "serial_number": "4055344257218010203087439766661402608",
          "check_date": "2021-10-01T17:46:14Z"
        },
        "ssl_last_change_date": "2025-11-29T06:14:40Z"
      },
      "type": 2,
      "subdomain_level_count": 2,
      "dns": {
        "a": {
          "update_date": "2026-09-02T22:32:31Z",
          "ip_addresses": [
            "104.247.81.99"
          ]
        },
        "aaaa": {
          "update_date": "2026-09-02T22:32:31Z",
          "ip_addresses": []
        },
        "ns": {
          "update_date": "2026-09-02T22:32:31Z",
          "name_servers": [
            "ns1.parkingcrew.net",
            "ns2.parkingcrew.net"
          ]
        },
        "mx": {
          "update_date": "2026-09-02T22:32:31Z",
          "mail_servers": [
            "mail.h-email.net"
          ]
        },
        "soa": {
          "update_date": "2026-09-02T22:32:31Z",
          "mnames": [
            "ns1.parkingcrew.net"
          ],
          "rnames": [
            "hostmaster.www.mail05.sciencetots.org"
          ],
          "rname_emails": [
            "user@www.mail05.sciencetots.org"
          ]
        },
        "txt": {
          "update_date": "2026-09-02T22:32:31Z",
          "values": [
            "\"v=spf1 ip6:fd1b:212c:a5f9::/48 -all\""
          ]
        },
        "cname": {
          "update_date": "2026-09-02T22:32:31Z",
          "values": []
        },
        "others": []
      },
      "dns_last_change_date": "2026-09-04T04:02:12Z",
      "ip_history": [
        "104.247.82.50",
        "104.247.81.99"
      ],
      "ssl": null,
      "ssl_last_change_date": "2025-04-21T20:50:56Z",
      "webdata": {
        "connection_status": "timeout",
        "html": null,
        "http": null
      }
    },
    {
      "punycode": "cards.granpay.ca",
      "unicode": "cards.granpay.ca",
      "is_idn": false,
      "subdomain": {
        "punycode": "cards",
        "unicode": "cards",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 5
      },
      "subdomain_last": {
        "punycode": "cards",
        "unicode": "cards",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 5
      },
      "subdomain_root": {
        "punycode": "cards",
        "unicode": "cards",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 5
      },
      "name": {
        "punycode": "cards.granpay",
        "unicode": "cards.granpay",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 12,
        "lang": "en",
        "keywords": [
          "cards",
          "gran",
          "pay"
        ],
        "keyword_count": 3,
        "latinized": [],
        "contains_confusable": false
      },
      "domain": {
        "punycode": "granpay.ca",
        "unicode": "granpay.ca",
        "is_idn": false,
        "name": {
          "punycode": "granpay",
          "unicode": "granpay",
          "is_idn": false,
          "contains_letter": true,
          "contains_number": false,
          "contains_hyphen": false,
          "length": 7,
          "lang": "es",
          "keywords": [
            "gran",
            "pay"
          ],
          "keyword_count": 2
        },
        "extension": {
          "punycode": "ca",
          "unicode": "ca",
          "is_idn": false
        },
        "extension_root": {
          "punycode": "ca",
          "unicode": "ca",
          "is_idn": false
        },
        "extension_sub": null,
        "extension_type": 2,
        "reserved": null,
        "premium": null,
        "registered": true,
        "whois": {
          "create_date": "2024-02-19T12:33:39Z",
          "update_date": "2024-04-19T12:43:53Z",
          "expiry_date": "2029-02-19T12:33:39Z",
          "registrar": "go daddy domains canada, inc",
          "registrant": {
            "name": "redacted for privacy",
            "organization": "redacted for privacy",
            "street": "redacted for privacy",
            "city": "redacted for privacy",
            "state": "redacted for privacy",
            "postal_code": "redacted for privacy",
            "country": "redacted for privacy",
            "phone": "redacted for privacy",
            "email": null
          },
          "name_servers": [
            "melnicoff.ns.cloudflare.com",
            "phoenix.ns.cloudflare.com"
          ],
          "domain_status": [
            "clientdeleteprohibited",
            "clienttransferprohibited",
            "clientupdateprohibited"
          ],
          "whois_server": "whois.ca.fury.ca",
          "check_date": "2026-06-08T10:47:26Z"
        },
        "whois_normalized": {
          "registrant": {
            "organization": "redactedforprivacy",
            "phone": null,
            "email": null,
            "email_fqdn_apex": null,
            "email_domain_apex": null
          }
        },
        "whois_last_check_date": "2026-06-08T10:47:26Z",
        "whois_create_date_historical": null,
        "whois_last_change_date": "2024-06-09T10:27:25Z",
        "whois_registrant_email_historical": null,
        "whois_privacy_enabled": true,
        "dns": {
          "a": {
            "update_date": "2026-08-25T22:24:37Z",
            "ip_addresses": [
              "198.202.211.1"
            ]
          }
        },
        "dns_last_change_date": "2026-08-26T19:00:31Z",
        "ip_history": null,
        "ssl": null,
        "ssl_last_change_date": "2024-02-24T01:47:36Z"
      },
      "type": 2,
      "subdomain_level_count": 1,
      "dns": {
        "a": {
          "update_date": "2026-09-04T02:26:07Z",
          "ip_addresses": [
            "104.26.8.176",
            "104.26.9.176",
            "172.67.71.240"
          ]
        },
        "aaaa": {
          "update_date": "2026-09-04T02:26:07Z",
          "ip_addresses": [
            "2606:4700:20::681a:8b0",
            "2606:4700:20::681a:9b0",
            "2606:4700:20::ac43:47f0"
          ]
        },
        "ns": {
          "update_date": "2026-09-04T02:26:07Z",
          "name_servers": []
        },
        "mx": {
          "update_date": "2026-09-04T02:26:07Z",
          "mail_servers": []
        },
        "soa": {
          "update_date": "2026-09-04T02:26:07Z",
          "mnames": [],
          "rnames": [],
          "rname_emails": []
        },
        "txt": {
          "update_date": "2026-09-04T02:26:07Z",
          "values": []
        },
        "cname": {
          "update_date": "2026-09-04T02:26:07Z",
          "values": []
        },
        "others": []
      },
      "dns_last_change_date": "2026-09-04T20:46:21Z",
      "ip_history": [
        "104.21.112.1",
        "104.21.16.1",
        "104.21.32.1",
        "104.21.48.1",
        "104.21.64.1",
        "104.21.80.1",
        "104.21.96.1",
        "104.26.14.230",
        "104.26.15.230",
        "172.67.70.67"
      ],
      "ssl": null,
      "ssl_last_change_date": null,
      "webdata": {
        "connection_status": "success",
        "html": {
          "source_code_hash": "40426f3b544024c021dbb38b9fe137f1d8c276b70327bfd117777129b0a04177"
        },
        "http": {
          "status_code_first": 200,
          "status_code_last": 200,
          "redirection_history": [
            {
              "url": "http://cards.granpay.ca/",
              "status_code": 200
            }
          ],
          "external_redirection": null,
          "final_url": "http://cards.granpay.ca/",
          "final_fqdn": "cards.granpay.ca",
          "final_domain": "granpay.ca",
          "headers": {
            "others": [
              {
                "name": "date",
                "value": "Fri, 21 Feb 2025 09:58:54 GMT"
              },
              {
                "name": "transfer_encoding",
                "value": "chunked"
              },
              {
                "name": "connection",
                "value": "keep-alive"
              },
              {
                "name": "cf_cache_status",
                "value": "DYNAMIC"
              },
              {
                "name": "report_to",
                "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=IdcP8aJSKVcFZZkTZfIG3F0RgIbBBJHNYV9gBVAZOlfI%2BI8sRNZh7tayI5rakwa2TOTbWld55G5HsO7RZkhbzEGU5rLrn27hBFMbGqMJcdpFtjxcuzWtAW9EQ%2FMUxl7NGnYJ\"}],\"group\":\"cf-nel\",\"max_age\":604800}"
              },
              {
                "name": "nel",
                "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"
              },
              {
                "name": "cf_ray",
                "value": "9155e16f9cb0232d-ORD"
              },
              {
                "name": "alt_svc",
                "value": "h3=\":443\"; ma=86400"
              },
              {
                "name": "server_timing",
                "value": "cfL4;desc=\"?proto=TCP&rtt=11810&min_rtt=11810&rtt_var=5905&sent=1&recv=3&lost=0&retrans=0&sent_bytes=0&recv_bytes=237&delivery_rate=0&cwnd=249&unsent_bytes=0&cid=0000000000000000&ts=0&x=0\""
              }
            ],
            "access_control_allow_headers": null,
            "access_control_allow_methods": null,
            "access_control_allow_origin": null,
            "cache_control": null,
            "clear_site_data": null,
            "content_encoding": "gzip",
            "content_security_policy": null,
            "content_type": "text/html",
            "cross_origin_embedder_policy": null,
            "cross_origin_opener_policy": null,
            "cross_origin_resource_policy": null,
            "expect_ct": null,
            "feature_policy": null,
            "last_modified": "Wed, 12 Feb 2025 05:53:53 GMT",
            "permission_policy": null,
            "referrer_policy": null,
            "server": "cloudflare",
            "set_cookie": null,
            "strict_transport_security": null,
            "x_content_type_options": null,
            "x_download_options": null,
            "x_frame_options": null,
            "x_permitted_cross_domain_policies": null,
            "x_powered_by": null,
            "x_xss_protection": null
          },
          "cookies": []
        }
      }
    },
    {
      "punycode": "autoconfig.lwoto.net",
      "unicode": "autoconfig.lwoto.net",
      "is_idn": false,
      "subdomain": {
        "punycode": "autoconfig",
        "unicode": "autoconfig",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 10
      },
      "subdomain_last": {
        "punycode": "autoconfig",
        "unicode": "autoconfig",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 10
      },
      "subdomain_root": {
        "punycode": "autoconfig",
        "unicode": "autoconfig",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 10
      },
      "name": {
        "punycode": "autoconfig.lwoto",
        "unicode": "autoconfig.lwoto",
        "is_idn": false,
        "contains_letter": true,
        "contains_number": false,
        "contains_hyphen": false,
        "length": 15,
        "lang": "ru",
        "keywords": [
          "autoconfig",
          "lwo",
          "to"
        ],
        "keyword_count": 3,
        "latinized": [],
        "contains_confusable": false
      },
      "domain": {
        "punycode": "lwoto.net",
        "unicode": "lwoto.net",
        "is_idn": false,
        "name": {
          "punycode": "lwoto",
          "unicode": "lwoto",
          "is_idn": false,
          "contains_letter": true,
          "contains_number": false,
          "contains_hyphen": false,
          "length": 5,
          "lang": "en",
          "keywords": [
            "lwo",
            "to"
          ],
          "keyword_count": 2
        },
        "extension": {
          "punycode": "net",
          "unicode": "net",
          "is_idn": false
        },
        "extension_root": {
          "punycode": "net",
          "unicode": "net",
          "is_idn": false
        },
        "extension_sub": null,
        "extension_type": 1,
        "reserved": null,
        "premium": null,
        "registered": true,
        "whois": {
          "create_date": "2023-11-17T13:17:46Z",
          "update_date": "2024-11-17T07:48:03Z",
          "expiry_date": "2026-11-17T13:17:46Z",
          "registrar": "namecheap, inc.",
          "registrant": {
            "name": "redacted for privacy",
            "organization": "privacy service provided by withheld for privacy ehf",
            "street": "kalkofnsvegur 2",
            "city": "reykjavik",
            "state": "capital region",
            "postal_code": "101",
            "country": "is",
            "phone": "+354.4212434",
            "email": "user@withheldforprivacy.com"
          },
          "name_servers": [
            "dns1.registrar-servers.com",
            "dns2.registrar-servers.com"
          ],
          "domain_status": [
            "clienttransferprohibited"
          ],
          "whois_server": "whois.namecheap.com",
          "check_date": "2026-07-28T03:21:06Z"
        },
        "whois_normalized": {
          "registrant": {
            "organization": "privacyserviceprovidedbywithheldforprivacyehf",
            "phone": "3544212434",
            "email": "user@withheldforprivacy.com",
            "email_fqdn_apex": "withheldforprivacy.com",
            "email_domain_apex": "withheldforprivacy.com"
          }
        },
        "whois_last_check_date": "2026-07-28T03:21:06Z",
        "whois_create_date_historical": null,
        "whois_last_change_date": "2025-11-24T16:19:26Z",
        "whois_registrant_email_historical": null,
        "whois_privacy_enabled": true,
        "dns": {
          "a": {
            "update_date": "2026-08-30T03:35:30Z",
            "ip_addresses": [
              "123.57.95.234"
            ]
          }
        },
        "dns_last_change_date": "2024-11-24T04:22:45Z",
        "ip_history": null,
        "ssl": null,
        "ssl_last_change_date": "2024-11-13T06:53:01Z"
      },
      "type": 2,
      "subdomain_level_count": 1,
      "dns": {
        "a": {
          "update_date": "2026-09-01T11:43:03Z",
          "ip_addresses": [
            "198.54.122.136"
          ]
        },
        "aaaa": {
          "update_date": "2026-09-01T11:43:03Z",
          "ip_addresses": []
        },
        "ns": {
          "update_date": "2026-09-01T11:43:03Z",
          "name_servers": [
            "edns3.registrar-servers.com",
            "edns4.registrar-servers.com",
            "edns4.ultradns.biz",
            "edns4.ultradns.com",
            "edns4.ultradns.net",
            "edns4.ultradns.org"
          ]
        },
        "mx": {
          "update_date": "2026-09-01T11:43:03Z",
          "mail_servers": [
            "mx1.privateemail.com",
            "mx2.privateemail.com"
          ]
        },
        "soa": {
          "update_date": "2026-09-01T11:43:03Z",
          "mnames": [
            "edns.registrar-servers.com"
          ],
          "rnames": [
            "support.namecheap.com"
          ],
          "rname_emails": [
            "support@namecheap.com"
          ]
        },
        "txt": {
          "update_date": "2026-09-01T11:43:03Z",
          "values": [
            "\"google-site-verification=PfY0lyNaWDFXDYY1LJnJVtqDTuwBAKPfPu0brQdnUYA\"",
            "\"google-site-verification=U7HaXt95Ldm2wLdsiC78Pe9SJzW65QiA2Hdo63hdjAI\"",
            "\"v=spf1 include:spf-nc.privateemail.com include:spf-ep-nc.jellyfish.systems -all\""
          ]
        },
        "cname": {
          "update_date": "2026-09-01T11:43:03Z",
          "values": [
            "privateemail.com."
          ]
        },
        "others": []
      },
      "dns_last_change_date": "2026-09-02T23:32:24Z",
      "ip_history": [
        "66.29.132.135",
        "198.54.122.136"
      ],
      "ssl": null,
      "ssl_last_change_date": "2023-11-17T16:09:19Z",
      "webdata": {
        "connection_status": "success",
        "html": {
          "source_code_hash": "21993b340935753169916089fb24049e34665349090926209ed70423a672f89d"
        },
        "http": {
          "status_code_first": 301,
          "status_code_last": 200,
          "redirection_history": [
            {
              "url": "http://autoconfig.lwoto.net/",
              "status_code": 301
            },
            {
              "url": "https://privateemail.com/",
              "status_code": 200
            }
          ],
          "external_redirection": true,
          "final_url": "https://privateemail.com/",
          "final_fqdn": "privateemail.com",
          "final_domain": "privateemail.com",
          "headers": {
            "others": [
              {
                "name": "date",
                "value": "Thu, 30 Jan 2025 13:33:33 GMT"
              },
              {
                "name": "accept_ranges",
                "value": "bytes"
              },
              {
                "name": "content_length",
                "value": "5751"
              },
              {
                "name": "keep_alive",
                "value": "timeout=15, max=100"
              },
              {
                "name": "connection",
                "value": "Keep-Alive"
              },
              {
                "name": "x_content_security_policy",
                "value": "frame-ancestors 'self'"
              },
              {
                "name": "x_webkit_csp",
                "value": "frame-ancestors 'self'"
              },
              {
                "name": "permissions_policy",
                "value": "geolocation=(self \"https://privateemail.com\"), microphone=()"
              }
            ],
            "access_control_allow_headers": null,
            "access_control_allow_methods": null,
            "access_control_allow_origin": null,
            "cache_control": "no-store",
            "clear_site_data": null,
            "content_encoding": "gzip",
            "content_security_policy": "frame-ancestors 'self'",
            "content_type": "text/html; charset=UTF-8",
            "cross_origin_embedder_policy": null,
            "cross_origin_opener_policy": null,
            "cross_origin_resource_policy": null,
            "expect_ct": null,
            "feature_policy": null,
            "last_modified": null,
            "permission_policy": null,
            "referrer_policy": "strict-origin-when-cross-origin",
            "server": "Apache",
            "set_cookie": "PEBES=<value>; path=/; Httponly; Secure",
            "strict_transport_security": "max-age=15552000",
            "x_content_type_options": "nosniff",
            "x_download_options": null,
            "x_frame_options": "SAMEORIGIN",
            "x_permitted_cross_domain_policies": null,
            "x_powered_by": null,
            "x_xss_protection": "1; mode=block"
          },
          "cookies": [
            {
              "name": "PEBES",
              "value": "<value>"
            }
          ]
        }
      }
    }
  ]
}
```

## Related Examples

- [Exists False: Domains Without a Registrar](/reference/discovery/domain-search/examples/exists-false-domains-without-a-registrar/)
- [Must Not: Registrable Domains Outside .com](/reference/discovery/domain-search/examples/must-not-registrable-domains-outside-com/)
- [Sort by Name (A to Z)](/reference/discovery/domain-search/examples/sort-by-name/)
- [Sort by Extension](/reference/discovery/domain-search/examples/sort-by-extension/)
- [Newest Registrations First](/reference/discovery/domain-search/examples/newest-registrations-first/)
- [Latest WHOIS Changes First](/reference/discovery/domain-search/examples/latest-whois-changes-first/)
