{"uid":"cap_C0Xv8zFTfIQ1f7YcFEHBV","slug":"sitesignal-public-npm-package-health-snapshot-c153622b","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://supported-rely-thee-portion.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_Hw-_d1BDT4FC3YokL7PB4","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 public 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 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?","exampleUseCases":[{"title":"Auditing OSS dependency before adoption","prompt":"Before we add 'axios' as a dependency, can you check its npm health — is it deprecated, when was it last released, who maintains it, and does it have any postinstall scripts I should know about?"},{"title":"Verifying license compliance for a package","prompt":"I need to know the license for the npm package '@babel/core' — can you fetch its current npm registry metadata so I can confirm it's MIT-compatible?"},{"title":"Checking if a package is still actively maintained","prompt":"Can you look up the npm package 'request' and tell me when it was last released and whether it's been marked as deprecated? I want to know if we should migrate away from it."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T10:27:27.109Z","isFirstParty":false}