Supported Input Formats
The domain variable can be sent to API in different forms such as Punycode, Unicode, lower-case, and upper-case. If the domain variable is sent as FQDN i.e. with a subdomain, API extracts the domain from input and returns all data successfully.
Examples of Supported Input Formats
- Domain in punycode form.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=xn--deepinfo-s0e.com (deepİnfo.com)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=xn--deepinfo-s0e.com (deepİnfo.com)
- Domain in Unicode form.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=deep%c4%b0nfo.com (deepİnfo.com)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=deep%c4%b0nfo.com (deepİnfo.com)
- Domain in punycode form with a subdomain.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=www.xn--deepinfo-s0e.com (www.deepİnfo.com)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=www.xn--deepinfo-s0e.com (www.deepİnfo.com)
- Domain in Unicode form with a subdomain.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=www.deep%c4%b0nfo.com (www.deepİnfo.com)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=www.deep%c4%b0nfo.com (www.deepİnfo.com)
- Upper-cased domain in punycode form.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=xn--DEEPINFO-s0e.COM (DEEPİNFO.com)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=xn--DEEPINFO-s0e.COM (DEEPİNFO.com)
- Upper-cased domain in Unicode form.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=DEEP%c4%b0NFO.COM (DEEPİNFO.COM)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=DEEP%c4%b0NFO.COM (DEEPİNFO.COM)
- Upper-cased domain in punycode form with a subdomain.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=WWW.xn--DEEPINFO-s0e.COM (WWW.DEEPİNFO.COM)
https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=WWW.xn--DEEPINFO-s0e.COM (WWW.DEEPİNFO.COM)
- Upper-cased domain in Unicode form with a subdomain.
$ curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=WWW.DEEP%c4%b0NFO.COM (WWW.DEEPİNFO.COM)
curl https://api.deepinfo.com/v1/discovery/subdomain-finder?domain=WWW.DEEP%c4%b0NFO.COM (WWW.DEEPİNFO.COM)
Updated about 3 years ago