{"uid":"cap_2D60WymtWPdHEoc2VE-Ve","slug":"sitesignal-public-npm-package-health-snapshot-cc8153a5","name":"SiteSignal Public npm Package Health Snapshot","description":"Inspect current public npm registry metadata for release freshness, deprecation, license, repository, dependencies, maintainers, integrity, and install lifecycle scripts.","url":"https://obtain-incentive-exceptions-speakers.trycloudflare.com/x402/npm-package-health","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c_yTEkvjI5NnnpbpSm85K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches current npm registry metadata for a package including release freshness, deprecation status, license, repository, dependencies, maintainers, integrity hashes, and install lifecycle scripts.","exampleAgentPrompt":"Can you pull up the health snapshot for the 'lodash' npm package — I want to know if it's deprecated, how fresh the latest release is, what license it uses, and whether it has any install lifecycle scripts?","exampleUseCases":[{"title":"Audit dependencies before merging PR","prompt":"Before we merge this pull request, can you check the npm health snapshots for all the new packages being added? I want to know if any are deprecated, have sketchy install lifecycle scripts, or use a non-permissive license that could cause legal issues for us."},{"title":"Find stale packages in project","prompt":"Can you look up the npm metadata for 'moment', 'request', and 'node-uuid' and tell me how fresh their latest releases are and whether any of them are officially deprecated? I'm trying to figure out which ones we should replace."},{"title":"Verify license before open source release","prompt":"We're about to open source our project and I need to make sure none of our npm dependencies use GPL or other copyleft licenses that could be a problem — can you pull the license info for 'axios', 'express', and 'chalk' from the npm registry?"}],"resultDescription":"Returns current npm registry metadata for the requested package including: latest release date and version freshness indicators, deprecation flag, SPDX license identifier, repository link, list of dependencies, maintainer details, package integrity hashes, and presence of preinstall/install/postinstall lifecycle scripts.","failureModes":["Package not found on npm registry — returns 404 or error object","Scoped package name malformed (missing @ prefix) — returns validation error","npm registry temporarily unavailable — returns upstream timeout or 5xx error","Private or unpublished package requested — returns not found or access denied"],"whenToPreferThis":"Use this endpoint when you need a quick, structured snapshot of a public npm package's health metadata — especially deprecation status, license compliance, maintainer info, and lifecycle script risks — without needing to manually parse the npm registry API. Prefer this over raw npm registry calls when you want a normalized, agent-friendly response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T10:27:24.107Z","isFirstParty":false}