{"uid":"cap_F8Bz3NI_cWD8ZxX5glE8j","slug":"sitesignal-public-npm-package-health-snapshot-083ebf6a","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://trinity-throw-thursday-gravity.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":"unknown","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_imw64JpLdgrd-vt7Ad6_H","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 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?","exampleUseCases":[{"title":"Supply chain audit before dependency adoption","prompt":"Before I add 'axios' to my project, can you check its npm package health — specifically whether it's deprecated, who the maintainers are, if it has any postinstall scripts, and what its latest release date is?"},{"title":"License compliance check for legal review","prompt":"I need to verify the license for the npm package '@babel/core' — can you look it up and also confirm its repository URL so our legal team can review the terms?"},{"title":"Freshness check for abandoned package detection","prompt":"Can you check the npm health snapshot for 'request' and tell me when it was last published and whether it's been marked as deprecated? I want to know if we should replace it."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:49:23.472Z","isFirstParty":false}