Skip to content
HALOWERK

Denkwerk

package exists check

Takes package names (or extracts them from JavaScript require/import, Python import and requirements lines) and queries the public registry APIs of npm, PyPI and crates.io. Reports exists/not found, first release date and latest version; very recently created packages are flagged because attackers register names that models tend to hallucinate. Python import names are not always identical to distribution names; such cases are marked.

POST https://denk.halowerk.com/v1/package-exists-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagesarrayNo
codestringNo
code_languagestringNo
recent_daysintegerNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "packages": {
      "type": "array",
      "maxItems": 50,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "ecosystem",
          "name"
        ],
        "properties": {
          "ecosystem": {
            "type": "string",
            "enum": [
              "npm",
              "pypi",
              "crates"
            ]
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 214
          }
        }
      }
    },
    "code": {
      "type": "string",
      "maxLength": 200000
    },
    "code_language": {
      "type": "string",
      "enum": [
        "javascript",
        "python"
      ]
    },
    "recent_days": {
      "type": "integer",
      "minimum": 1,
      "maximum": 365,
      "default": 30
    }
  }
}

Open original schema

Published input example

{
  "packages": [
    {
      "ecosystem": "npm",
      "name": "express"
    },
    {
      "ecosystem": "pypi",
      "name": "requests"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’