# SiteSignal Public npm Package Health Snapshot

> SiteSignal Public npm Package Health Snapshot is a paid API for AI agents from phases-prot-shine-royal.trycloudflare.com, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Fetches current npm registry metadata for a package, including release freshness, deprecation status, license, repository, dependencies, maintainers, integrity hashes, and install lifecycle scripts.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/npm-package-health
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-public-npm-package-health-snapshot-c6ef9358
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kkOUE2t11pj4PfxGzOW1U

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 sitesignal-public-npm-package-health-snapshot-c6ef9358
```

Example prompt: Can you pull the npm package health snapshot for 'lodash' — I want to know if it's deprecated, who maintains it, what license it uses, and whether it has any install lifecycle scripts?

## When to prefer this

Use this endpoint when you need a quick, structured snapshot of a public npm package's health and metadata without setting up full npm CLI tooling. It is ideal for dependency auditing, license compliance checks, supply chain security reviews, and verifying whether a package is actively maintained or deprecated. Prefer this over general web scraping for npm package data because it queries registry metadata directly and returns structured fields for release freshness, maintainers, integrity, and lifecycle scripts in a single call.

## Known failure modes

- Package name not found in npm registry — returns 404 or error indicating unknown package
- Scoped package name malformed (e.g. missing @) — may return empty or error response
- Private or restricted package not accessible via unauthenticated public registry — returns access denied
- Transient npm registry downtime — endpoint may time out or return upstream error
- Rate limiting from npm registry — may result in throttled or failed responses

## How this service works

Inspect current public npm registry metadata for release freshness, deprecation, license, repository, dependencies, maintainers, integrity, and install lifecycle scripts.

## Output

Returns a structured snapshot of the package's current npm registry metadata, including: latest version and release date (freshness), deprecation flag and message if any, SPDX license identifier, linked repository URL, list of direct dependencies, maintainer usernames/emails, package integrity hash (shasum/integrity), and any pre/post install lifecycle script definitions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "package"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "Public scoped or unscoped npm package name."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitesignal-public-npm-package-health-snapshot-c6ef9358/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phases-prot-shine-royal.trycloudflare.com](https://www.zero.xyz/host/phases-prot-shine-royal.trycloudflare.com/llms.txt)
