# SiteSignal Public npm Package Health Snapshot

> SiteSignal Public npm Package Health Snapshot is a paid API for AI agents from trinity-throw-thursday-gravity.trycloudflare.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

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://trinity-throw-thursday-gravity.trycloudflare.com/x402/npm-package-health
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-public-npm-package-health-snapshot-083ebf6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F8Bz3NI_cWD8ZxX5glE8j

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-083ebf6a
```

Example prompt: Can you pull the npm package health snapshot for 'lodash' and tell me if it's deprecated, when it was last released, what license it uses, and whether it has any install lifecycle scripts?

## When to prefer this

Use this endpoint when you need a quick, point-in-time read of an npm package's health signals — deprecation, freshness, license, maintainers, and install scripts — without setting up npm CLI access. Prefer it over scraping the npm website or calling the raw npm registry API directly when you want a normalized, agent-friendly response. Ideal for supply chain auditing, dependency vetting, or license compliance checks in automated workflows.

## Known failure modes

- Package not found on npm registry — returns an error if the package name is misspelled or private
- Scoped package name incorrectly formatted — must include the @ prefix and scope (e.g. @scope/name)
- Rate limiting or transient npm registry unavailability — may return a timeout or upstream error
- Payment failure — if x402 payment of $0.02 USDC is not completed, the request is rejected
- Cloudflare tunnel instability — the trycloudflare.com host may be intermittently unavailable

## 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: latest version, release date and freshness indicators, deprecation flag, license type, linked source repository, list of maintainers, top-level dependency count, package integrity hash, and any install lifecycle scripts (preinstall, install, postinstall). All data reflects the npm registry's current state at time of call.

## 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-083ebf6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trinity-throw-thursday-gravity.trycloudflare.com](https://www.zero.xyz/host/trinity-throw-thursday-gravity.trycloudflare.com/llms.txt)
