• API
  • Docs

The Port Scan lookup is documented as POST /lookup/port-scan, with the scan options in a JSON body; the previous documentation showed a GET request.

Port Scan is documented as a POST request. The host goes in the target query parameter, and the scan options go in a JSON body:

Shell
curl -X POST "https://api.deepinfo.com/v1/dsi/instant-lookup/port-scan?target=example.com" \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tcp_ports": "80,443", "mode": "light", "version": true}'

tcp_ports takes a list ("80,443"), a range ("440-445") or both. Without it, the default port set of mode is scanned. The reference page lists the other options and the response fields.

The previous documentation site showed this lookup as a GET request. Send it as POST, as documented.

Note

Updated on December 5, 2026: the Deep Search & Insights (DSI) endpoints have new paths. This one is now /dsi/instant-lookup/port-scan, and the sample above uses it. The old path /lookup/port-scan works until January 31, 2027. See DSI Endpoints Moved to New Paths.

Last updated