# SALT19 npm Package Intelligence

> SALT19 npm Package Intelligence is a paid API for AI agents from api.salt19.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Looks up npm package metadata including license, version, deprecation status, publication date, and vulnerability count for a given package name and optional version.

## Facts

- Endpoint: POST https://api.salt19.com/v1/npm-package-intel
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/salt19-npm-package-intelligence-91d880f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hhg1AgEp5CaVxhJ4h1Q-w

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-intelligence-91d880f9 -d '<json body>'
```

Example prompt: Can you check the npm package 'hono' at version 4.13.3 — is it deprecated, how many vulnerabilities does it have, and what license does it use?

## When to prefer this

Choose this endpoint when you need quick, structured npm package intelligence — especially license, deprecation, and vulnerability data — without scraping the npm website or running npm CLI commands. It is ideal for AI agents performing dependency audits, license compliance checks, or security vetting inside automated pipelines where direct npm registry access is impractical.

## Known failure modes

- Package name not found on npm registry — returns an error or empty result
- Invalid or non-existent version string — may return latest or error
- Rate limiting or payment failure via x402 — 402 response if payment not attached
- Malformed package name exceeding 214 characters — schema validation error
- Network timeout if npm registry is slow to respond

## How this service works

SALT19 is an independent applied AI systems lab behind EvoMind governed cognition, the MCP-native Agent Utility Grid, the ARCS research community, AeroClear UAS flight intelligence, and practical software for real-world work.

## Output

Returns a JSON object with the package name, resolved version, license string (e.g. MIT), a boolean deprecated flag, the ISO 8601 published_at timestamp, and an integer count of known vulnerabilities.

## 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-intelligence-91d880f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.salt19.com](https://www.zero.xyz/host/api.salt19.com/llms.txt)
