Supported Input Formats

Examples of Supported Input Formats

  • FQDN in punycode form.
$ curl https://api.deepinfo.org/v1/lookup/port-scan?target=xn--deepinfo-s0e.com&ports=80
https://api.deepinfo.org/v1/lookup/port-scan?target=xn--deepinfo-s0e.com&ports=80
  • FQDN in Unicode form.
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=deep%c4%b0nfo.com&ports=80
https://api.deepinfo.org/v1/lookup/portscan?target=deep%c4%b0nfo.com&ports=80
  • FQDN in punycode form with a subdomain.
$ curl https://api.deepinfo.org/v1/lookup/port-scan?target=www.xn--deepinfo-s0e.com&ports=80
https://api.deepinfo.org/v1/lookup/port-scan?target=www.xn--deepinfo-s0e.com&ports=80
  • Upper-cased FQDN in punycode form.
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=xn--DEEPINFO-s0e.COM&ports=80
https://api.deepinfo.org/v1/lookup/portscan?target=xn--DEEPINFO-s0e.COM&ports=80
  • Upper-Cased FQDN in Unicode form.
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=DEEP%c4%b0NFO.COM&ports=80
https://api.deepinfo.org/v1/lookup/portscan?target=DEEP%c4%b0NFO.COM&ports=80
  • Upper-cased FQDN in punycode form with a subdomain.
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=WWW.xn--DEEPINFO-s0e.COM&ports=80
https://api.deepinfo.org/v1/lookup/portscan?target=WWW.xn--DEEPINFO-s0e.COM&ports=80
  • Upper-cased FQDN in Unicode form with a subdomain.
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=WWW.DEEP%c4%b0NFO.COM&ports=80
https://api.deepinfo.org/v1/lookup/portscan?target=WWW.DEEP%c4%b0NFO.COM&ports=80
  • Port scan with an IPv4 address
$ curl https://api.deepinfo.org/v1/lookup/portscan?target=8.8.8.8&ports=1
https://api.deepinfo.org/v1/lookup/portscan?target=8.8.8.8&ports=1

Did this page help you?