Skip to main content
The threat-data endpoint returns the full threat record for a verified threat, including all associated IOCs. Pass a threat_id from a check-malicious response to retrieve the complete intelligence for that threat.
Subscription Required: This is a paid endpoint. Check out our pricing and contact us for more info.
Use this endpoint to:
  • Retrieve IOCs for blocking and detection: Pull all indicators associated with a threat to feed into your firewall rules, SIEM detections, or EDR policies.
  • Enrich threat reports: Get the full threat description, severity, tags, and IOC list for a package flagged during dependency scanning.
  • Power automated response: Integrate into incident response workflows to automatically retrieve and act on threat intelligence when a malicious resource is detected.
Endpoint
Required header
Pro or Enterprise required This endpoint is restricted to users with Pro or Enterprise roles. Standard API tokens will receive a 403 Forbidden response.

Query parameters

threat_id is required. UUID of the threat to retrieve (e.g. from a check-malicious response).

Response examples

Success (200)

Errors

API error responses

Click this card for the latest list of error responses.

cURL example

Typical workflow

  1. Use check-malicious to check if a package/resource is malicious and get the threat_id from the response
  2. Pass the threat_id to threat-data to retrieve the full threat description and all IOCs
  3. Use the IOCs for automated blocking, detection rules, or threat hunting in your environment