# SiteSignal Public npm Package Health Snapshot

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

Fetches current public 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://supported-rely-thee-portion.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-c153622b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C0Xv8zFTfIQ1f7YcFEHBV

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-c153622b
```

Example prompt: Can you pull the health snapshot for the npm package 'lodash' — I want to see its latest release date, whether it's deprecated, its license, and if it has any install lifecycle scripts?

## When to prefer this

Choose this endpoint when you need a bounded, reproducible snapshot of public npm package health metadata without running npm install yourself. Ideal for supply chain auditing, license compliance checks, deprecation detection, and lifecycle script inspection before adopting or updating a dependency. Prefer this over direct npm CLI calls when operating in an agent or serverless context without a local Node environment.

## Known failure modes

- Package not found on the public npm registry — returns an error indicating the package name is invalid or unscoped/scoped name is malformed
- Network or upstream npm registry unavailability — may return a timeout or upstream error
- Rate limiting from the npm registry — snapshot may fail or return partial data
- Private or unpublished packages — not accessible via public registry endpoints

## 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 npm package's current public registry metadata, including: version history and latest release date (freshness), deprecation flag and message, declared license, linked repository, list of dependencies, maintainer identities, package integrity hashes, and any install/uninstall/preinstall/postinstall lifecycle scripts declared in the package manifest.

## 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-c153622b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from supported-rely-thee-portion.trycloudflare.com](https://www.zero.xyz/host/supported-rely-thee-portion.trycloudflare.com/llms.txt)
