SecurityTrails has a SQL like advanced query syntax you can use to more accurately retrieve the data you require. It's modeled off of SQL 'where' predicates. You can read more about the available fields and syntax on our docs and here's some sample queries to get you started.
apex_domain = "google.com"
Return all results associated with the apex domain google.com
apex_domain = "facebook.com"
Return all results associated with the apex domain facebook.com
subdomain = "www"
Return all results with that are www subdomains.
subdomain = "mail"
Return all results with that are mail subdomains.
apex_domain = "google.com" or apex_domain = "amazon.com"
Return all results associated with google.com OR amazon.com
(subdomain = "www" or subdomain = "mail") and ipv6 != null
Return all results that are either www or mail subdomains and have an IPv6 IP associated with them
subdomain in ("www", "mail") and ipv6 != null
Another way to express the query above.
APEX_DOMAIN RECORDS 37grhzhn-b8b80166c103557d4acebc5ac484e02fb985d563-sac.d.aa.online-metrix.net