Sample Success Responses

Reverse name server search sample response
If a request succeeds, it will return a status code in the 200 and a JSON. An example response is given below.

{ "result_count": 0, "page": 0, "page_size": 0, "results": [ { "punycode": "string", "unicode": "string", "is_idn": true, "subdomain": { "punycode": "string", "unicode": "string", "is_idn": true, "contains_letter": true, "contains_number": true, "contains_hyphen": true, "length": 0 }, "subdomain_last": { "punycode": "string", "unicode": "string", "is_idn": true, "contains_letter": true, "contains_number": true, "contains_hyphen": true, "length": 0 }, "subdomain_root": { "punycode": "string", "unicode": "string", "is_idn": true, "contains_letter": true, "contains_number": true, "contains_hyphen": true, "length": 0 }, "name": { "punycode": "string", "unicode": "string", "is_idn": true, "contains_letter": true, "contains_number": true, "contains_hyphen": true, "length": 0, "lang": "string", "keywords": [ "string" ], "keyword_count": 0 }, "domain": { "punycode": "string", "unicode": "string", "is_idn": true, "name": { "punycode": "string", "unicode": "string", "is_idn": true, "contains_letter": true, "contains_number": true, "contains_hyphen": true, "length": 0, "lang": "string", "keywords": [ "string" ], "keyword_count": 0 }, "extension": { "punycode": "string", "unicode": "string", "is_idn": true }, "extension_root": { "punycode": "string", "unicode": "string", "is_idn": true }, "extension_sub": { "punycode": "string", "unicode": "string", "is_idn": true }, "extension_type": 0, "reserved": true, "premium": true, "registered": true, "whois": { "create_date": "2021-10-21T08:06:19.040Z", "update_date": "2021-10-21T08:06:19.040Z", "expiry_date": "2021-10-21T08:06:19.040Z", "registrar": "string", "registrant": { "name": "string", "organization": "string", "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "phone": "string", "email": "string" }, "name_servers": [ "string" ], "domain_status": [ "string" ], "whois_server": "string", "check_date": "2021-10-21T08:06:19.040Z" }, "whois_last_check_date": "2021-10-21T08:06:19.040Z", "whois_create_date_historical": [ "2021-10-21T08:06:19.040Z" ], "alexa": { "rank": 0, "country_rank": 0, "country_code": "string", "check_date": "2021-10-21T08:06:19.040Z" }, "dns": { "a": { "update_date": "2021-10-21T08:06:19.040Z", "ip_addresses": [ "string" ] }, "aaaa": { "update_date": "2021-10-21T08:06:19.040Z", "ip_addresses": [ "string" ] }, "ns": { "update_date": "2021-10-21T08:06:19.040Z", "name_servers": [ "string" ] }, "mx": { "update_date": "2021-10-21T08:06:19.040Z", "mail_servers": [ "string" ] }, "soa": { "update_date": "2021-10-21T08:06:19.040Z", "mnames": [ "string" ], "rnames": [ "string" ], "rname_emails": [ "string" ] }, "txt": { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ] }, "cname": { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ] }, "others": [ { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ], "type": "string" } ] }, "ip_history": [ "string" ], "ssl": { "fqdns": [ "string" ], "serial_number": "string", "fingerprint": { "sha256": "string", "sha1": "string", "md5": "string" }, "validity": { "start_date": "2021-10-21T08:06:19.040Z", "end_date": "2021-10-21T08:06:19.040Z", "length": 0 }, "signature": { "is_self_signed": true, "is_valid": true, "value": "string", "algorithm": { "oid": "string", "name": "string" } }, "issuer_dn": "string", "issuer": { "common_name": "string", "country": "string", "state": "string", "locality": "string", "organization": "string", "organizational_unit": "string" }, "subject_dn": "string", "subject": { "common_name": "string", "country": "string", "state": "string", "locality": "string", "organization": "string", "organizational_unit": "string" }, "extensions": { "authority_key_id": "string", "basic_constraints": { "is_ca": true }, "certificate_policies": [ "string" ], "extended_key_usage": { "client_auth": true, "server_auth": true }, "key_usage": { "digital_signature": true, "content_commitment": true, "key_agreement": true, "data_encipherment": true, "key_encipherment": true, "key_cert_sign": true, "crl_sign": true }, "signed_certificate_timestamps": [ "2021-10-21T08:06:19.040Z" ], "subject_alt_name": { "dns_names": [ "string" ] }, "subject_key_id": "string" }, "check_date": "2021-10-21T08:06:19.040Z" } }, "type": 0, "subdomain_level_count": 0, "dns": { "a": { "update_date": "2021-10-21T08:06:19.040Z", "ip_addresses": [ "string" ] }, "aaaa": { "update_date": "2021-10-21T08:06:19.040Z", "ip_addresses": [ "string" ] }, "ns": { "update_date": "2021-10-21T08:06:19.040Z", "name_servers": [ "string" ] }, "mx": { "update_date": "2021-10-21T08:06:19.040Z", "mail_servers": [ "string" ] }, "soa": { "update_date": "2021-10-21T08:06:19.040Z", "mnames": [ "string" ], "rnames": [ "string" ], "rname_emails": [ "string" ] }, "txt": { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ] }, "cname": { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ] }, "others": [ { "update_date": "2021-10-21T08:06:19.040Z", "values": [ "string" ], "type": "string" } ] }, "ip_history": [ "string" ], "ssl": { "fqdns": [ "string" ], "serial_number": "string", "fingerprint": { "sha256": "string", "sha1": "string", "md5": "string" }, "validity": { "start_date": "2021-10-21T08:06:19.040Z", "end_date": "2021-10-21T08:06:19.040Z", "length": 0 }, "signature": { "is_self_signed": true, "is_valid": true, "value": "string", "algorithm": { "oid": "string", "name": "string" } }, "issuer_dn": "string", "issuer": { "common_name": "string", "country": "string", "state": "string", "locality": "string", "organization": "string", "organizational_unit": "string" }, "subject_dn": "string", "subject": { "common_name": "string", "country": "string", "state": "string", "locality": "string", "organization": "string", "organizational_unit": "string" }, "extensions": { "authority_key_id": "string", "basic_constraints": { "is_ca": true }, "certificate_policies": [ "string" ], "extended_key_usage": { "client_auth": true, "server_auth": true }, "key_usage": { "digital_signature": true, "content_commitment": true, "key_agreement": true, "data_encipherment": true, "key_encipherment": true, "key_cert_sign": true, "crl_sign": true }, "signed_certificate_timestamps": [ "2021-10-21T08:06:19.040Z" ], "subject_alt_name": { "dns_names": [ "string" ] }, "subject_key_id": "string" }, "check_date": "2021-10-21T08:06:19.040Z" } } ] }

Sample response for an invalid name server

$ curl https://api.deepinfo.com/v1/discovery/reverse-ns?ns=ns.deepinfo.com
HTTP/1.1 200 OK ... { "result_count": 0, "page": 1, "page_size": 100, "results": [] }

Did this page help you?