API info

API baseURL: https://ipsniper.info/api/v1/

API requestmethod: GET


Domains:

  • Get known dns info on a particular domain: https://ipsniper.info/api/v1/domain_info/google.com Try it
  • Get all domains on a particular IPv4: https://ipsniper.info/api/v1/domains_ipv4/1.1.1.1 Try it
  • Get all domains on a particular IPv6: https://ipsniper.info/api/v1/domains_ipv6/2606:4700:4700::1111 Try it
  • Get all domains on a particular ASN: https://ipsniper.info/api/v1/domains_asn/12 Try it
  • Get all domains using the same nameserver: https://ipsniper.info/api/v1/domains_ns/dns2.registrar-servers.com Try it
  • Get all domains using the same mailserver: https://ipsniper.info/api/v1/domains_mx/smtp.secureserver.net Try it
  • Get all domains from IPv4 addresses from a particular country: https://ipsniper.info/api/v1/country_ipv4/DE Try it
  • Get all domains from IPv6 addresses from a particular country: https://ipsniper.info/api/v1/country_ipv6/NL Try it
  • Get all domains from a particular TLD: https://ipsniper.info/api/v1/domains_tld/xn--p1ai Try it
  • Get all domains from the same basename: https://ipsniper.info/api/v1/domains_same/google Try it
  • Get all domains from similar basename: https://ipsniper.info/api/v1/domains_similar/google Try it

Nameservers:

  • Get known dns info on a particular nameserver: https://ipsniper.info/api/v1/ns_info/dns1.registrar-servers.com Try it
  • Get all nameservers using the same IPv4: https://ipsniper.info/api/v1/ns_ipv4/195.149.84.232 Try it
  • Get all nameservers using the same IPv6: https://ipsniper.info/api/v1/ns_ipv6/2001:67c:38c::e8 Try it
  • Get all nameservers using the same IPv4 ASN: https://ipsniper.info/api/v1/ns_asn_ipv4/16509 Try it
  • Get all nameservers using the same IPv6 ASN: https://ipsniper.info/api/v1/ns_asn_ipv6/13335 Try it
  • Get all nameservers from IPv4 addresses from a particular country: https://ipsniper.info/api/v1/ns_country_ipv4/DE Try it
  • Get all nameservers from IPv6 addresses from a particular country: https://ipsniper.info/api/v1/ns_country_ipv6/NL Try it
  • Get all nameservers from a particular TLD: https://ipsniper.info/api/v1/ns_tld/de Try it
  • Get all nameservers from the same basename: https://ipsniper.info/api/v1/ns_same/google Try it
  • Get all nameservers from similar basename: https://ipsniper.info/api/v1/ns_similar/google Try it

Mailservers:

  • Get known dns info on a particular mailserver: https://ipsniper.info/api/v1/mx_info/alt2.aspmx.l.google.com Try it
  • Get all mailservers using the same IPv4: https://ipsniper.info/api/v1/mx_ipv4/62.149.128.151 Try it
  • Get all mailservers using the same IPv6: https://ipsniper.info/api/v1/mx_ipv6/2a01:7c8:3:1337::27 Try it
  • Get all mailservers using the same IPv4 ASN: https://ipsniper.info/api/v1/mx_asn_ipv4/16509 Try it
  • Get all mailservers using the same IPv6 ASN: https://ipsniper.info/api/v1/mx_asn_ipv6/13335 Try it
  • Get all mailservers from IPv4 addresses from a particular country: https://ipsniper.info/api/v1/mx_country_ipv4/DE Try it
  • Get all mailservers from IPv6 addresses from a particular country: https://ipsniper.info/api/v1/mx_country_ipv6/NL Try it
  • Get all mailservers from a particular TLD: https://ipsniper.info/api/v1/mx_tld/co.uk Try it
  • Get all mailservers from the same basename: https://ipsniper.info/api/v1/mx_same/google Try it
  • Get all mailservers from similar basename: https://ipsniper.info/api/v1/mx_similar/google Try it

RFC1918 (private IPv4 ranges):

  • Domains configured with IPv4 address in range 192.168.0.0-192.168.255.255: https://ipsniper.info/api/v1/domains_rfc1918_192 Try it
  • Domains configured with IPv4 address in range 172.16.0.0 - 172.31.255.255: https://ipsniper.info/api/v1/domains_rfc1918_172 Try it
  • Domains configured with IPv4 address in range 10.0.0.0 - 10.255.255.255: https://ipsniper.info/api/v1/domains_rfc1918_10 Try it
  • Nameservers configured with IPv4 address in range 192.168.0.0 - 192.168.255.255: https://ipsniper.info/api/v1/ns_rfc1918_192 Try it
  • Nameservers configured with IPv4 address in range 172.16.0.0 - 172.31.255.255: https://ipsniper.info/api/v1/ns_rfc1918_172 Try it
  • Nameservers configured with IPv4 address in range 10.0.0.0 - 10.255.255.255: https://ipsniper.info/api/v1/ns_rfc1918_10 Try it
  • Mailservers configured with IPv4 address in range 192.168.0.0 - 192.168.255.255: https://ipsniper.info/api/v1/mx_rfc1918_192 Try it
  • Mailservers configured with IPv4 address in range 172.16.0.0 - 172.31.255.255: https://ipsniper.info/api/v1/mx_rfc1918_172 Try it
  • Mailservers configured with IPv4 address in range 10.0.0.0 - 10.255.255.255: https://ipsniper.info/api/v1/mx_rfc1918_10 Try it

0.0.0.0/8 "This" Network RFC 1122, Section 3.2.1.3:

  • Domains configured with IPv4 address in range 0.0.0.0/8: https://ipsniper.info/api/v1/domains_rfc1122_0 Try it
  • Nameservers configured with IPv4 address in range 0.0.0.0/8: https://ipsniper.info/api/v1/ns_rfc1122_0 Try it
  • Mailservers configured with IPv4 address in range 0.0.0.0/8: https://ipsniper.info/api/v1/mx_rfc1122_0 Try it

127.0.0.0/8 Loopback RFC 1122, Section 3.2.1.3:

  • Domains configured with IPv4 address in range 127.0.0.0/8: https://ipsniper.info/api/v1/domains_rfc1122_127 Try it
  • Nameservers configured with IPv4 address in range 127.0.0.0/8: https://ipsniper.info/api/v1/ns_rfc1122_127 Try it
  • Mailservers configured with IPv4 address in range 127.0.0.0/8: https://ipsniper.info/api/v1/mx_rfc1122_127 Try it

RFC 5737 TEST-NET-1:

  • Domains configured with IPv4 address in range 192.0.2.0/24: https://ipsniper.info/api/v1/domains_rfc5737_1 Try it
  • Nameservers configured with IPv4 address in range 192.0.2.0/24: https://ipsniper.info/api/v1/ns_rfc5737_1 Try it
  • Mailservers configured with IPv4 address in range 192.0.2.0/24: https://ipsniper.info/api/v1/mx_rfc5737_1 Try it

RFC 5737 TEST-NET-2:

  • Domains configured with IPv4 address in range 198.51.100.0/24: https://ipsniper.info/api/v1/domains_rfc5737_2 Try it
  • Nameservers configured with IPv4 address in range 198.51.100.0/24: https://ipsniper.info/api/v1/ns_rfc5737_2 Try it
  • Mailservers configured with IPv4 address in range 198.51.100.0/24: https://ipsniper.info/api/v1/mx_rfc5737_2 Try it

RFC 5737 TEST-NET-3:

  • Domains configured with IPv4 address in range 203.0.113.0/24: https://ipsniper.info/api/v1/domains_rfc5737_3 Try it
  • Nameservers configured with IPv4 address in range 203.0.113.0/24: https://ipsniper.info/api/v1/ns_rfc5737_3 Try it
  • Mailservers configured with IPv4 address in range 203.0.113.0/24: https://ipsniper.info/api/v1/mx_rfc5737_3 Try it

RFC 3171 Multicast (224.0.0.0/4):

  • Domains configured with IPv4 address in range 224.0.0.0/4: https://ipsniper.info/api/v1/domains_rfc3171 Try it
  • Nameservers configured with IPv4 address in range 224.0.0.0/4: https://ipsniper.info/api/v1/ns_rfc3171 Try it
  • Mailservers configured with IPv4 address in range 224.0.0.0/4: https://ipsniper.info/api/v1/mx_rfc3171 Try it

RFC 1112, Section 4 Reserved for Future Use (240.0.0.0/4):

  • Domains configured with IPv4 address in range 240.0.0.0/4: https://ipsniper.info/api/v1/domains_rfc1112 Try it
  • Nameservers configured with IPv4 address in range 240.0.0.0/4: https://ipsniper.info/api/v1/ns_rfc1112 Try it
  • Mailservers configured with IPv4 address in range 240.0.0.0/4: https://ipsniper.info/api/v1/mx_rfc1112 Try it

RFC 919, Section 7 Limited Broadcast (255.255.255.255/32):

  • Domains configured with IPv4 address in range 255.255.255.255/32: https://ipsniper.info/api/v1/domains_rfc919 Try it
  • Nameservers configured with IPv4 address in range 255.255.255.255/32: https://ipsniper.info/api/v1/ns_rfc919 Try it
  • Mailservers configured with IPv4 address in range 255.255.255.255/32: https://ipsniper.info/api/v1/mx_rfc919 Try it

CNAME:

  • Get all domains redirecting to a CNAME: https://ipsniper.info/api/v1/cname/comingsoon.namebright.com Try it

API json-response looks like
{ "status": "OK",
"description": "Domains using mailserver smtp.secureserver.net",
"results": 11866695,
"query": "smtp.secureserver.net",
"querytype": "domains_mx",
"api_url": "https://ipsniper.info/api/v1/domains_mx/smtp.secureserver.net",
"next_page": "https://ipsniper.info/api/v1/domains_mx/smtp.secureserver.net/AoEtMDAwY2FyZWVyLmNvbQ%3D%3D",
"data": [.....
]}

Linux CURL-example: curl -sL "https://ipsniper.info/api/v1/mx_asn_ipv6/13335" | jq -r .data[].id returns mailservers with IPv6 addresses on AS13335
curl -sL "https://ipsniper.info/api/v1/mx_asn_ipv6/13335" | jq -r .next_page gives the next page

API returns 100 results per query, the next 100 results is in the json->next_page response. If there are less than 100 results for a query, the json->next_page will be "*".

API requests are capped to 5 queries/second, above that you get a 429 too many requests response

Home