# SALT19 NPM Package Intel

> SALT19 NPM Package Intel is a paid API for AI agents from salt19-agent-utility-grid.salt19-llc.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns license, version, deprecation status, and vulnerability count for a given npm package

## Facts

- Endpoint: POST https://salt19-agent-utility-grid.salt19-llc.workers.dev/v1/npm-package-intel
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/salt19-npm-package-intel-1def2410
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EuqUf2YlmON-p8RlYtXfr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability salt19-npm-package-intel-1def2410 -d '<json body>'
```

Example prompt: Can you check the npm package 'hono' — I need to know its current version, whether it's deprecated, its license, and if there are any known vulnerabilities?

## When to prefer this

Use this endpoint when an agent needs structured, machine-readable npm package intelligence — license type, deprecation status, and vulnerability count — in a single paid call without scraping the npm website or integrating a full registry client. Particularly useful in CI/CD automation, dependency auditing workflows, or license compliance checks where a quick, reliable signal per package is needed.

## Known failure modes

- Package name not found on npm registry — returns error or empty result
- Invalid or non-existent version string — may return error or fall back to latest
- Package name exceeds 214 characters — rejected by input validation
- Payment failure via x402 protocol — call blocked before reaching registry
- Registry unavailable or timeout — upstream npm API error returned

## How this service works

Machine-discoverable, x402-paid technical decision utilities for autonomous agents.

## Output

A JSON object containing the package name, resolved version, license identifier (e.g. MIT), a boolean indicating whether the package is deprecated, the number of known vulnerabilities, and the published_at timestamp for that version.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "package": {
   "type": "string",
   "maxLength": 214,
   "minLength": 1
  },
  "version": {
   "type": "string",
   "maxLength": 64
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "license": "MIT",
  "package": "hono",
  "version": "4.13.3",
  "deprecated": false,
  "published_at": "2026-08-19T00:00:00.000Z",
  "vulnerabilities": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/salt19-npm-package-intel-1def2410/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from salt19-agent-utility-grid.salt19-llc.workers.dev](https://www.zero.xyz/host/salt19-agent-utility-grid.salt19-llc.workers.dev/llms.txt)
