Skip to main content
The query-by-username endpoint returns all verified threats linked to a specific publisher or author username within an ecosystem.
Subscription Required: This is a paid endpoint. Check out our pricing and contact us for more info.
Use this endpoint to:
  • Investigate suspicious publishers: Look up all known malicious packages associated with a specific npm publisher, PyPI author, or other ecosystem account.
  • Track threat actors: Monitor whether a known malicious username has published additional packages across registries.
  • Enrich incident response: Quickly surface all threats tied to a publisher identified during an active investigation.
Endpoint
Required header
Alternative: Pass API key as query parameter: ?apikey=osm_your_token

Query parameters

ecosystem is required. Package ecosystem (npm, pypi, rubygems, vscode, skills, etc.) username is required. Publisher/author username to search for.

Response examples

Threats found

Errors

API error responses

Click this card for the latest list of error responses.

cURL example