{"uid":"cap_UtNGrq_4WEEDXfatuGMLN","slug":"netintel-npm-package-intelligence-analyzer-8d79285f","name":"NetIntel NPM Package Intelligence Analyzer","description":"Fetch metadata for any npm package — download counts, latest version, version count, dependency/devDependency counts, maintainers, repository URL, license, and a health score based on maintenance signals — so agents can evaluate dependencies, audit package ecosystems, and assess supply chain risk. (Returns counts, not the full version/dependency lists.)","url":"https://netintel.dev/npm-intel/analyze?utm_source=zero.xyz","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":"npm package name (e.g. express, @types/node)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"grade":{"type":"string"},"score":{"type":"number"},"license":{"type":["string","null"]},"package":{"type":"string"},"findings":{"type":"array"},"homepage":{"type":["string","null"]},"keywords":{"type":"array"},"created_at":{"type":["string","null"]},"repository":{"type":["string","null"]},"description":{"type":["string","null"]},"maintainers":{"type":"array"},"is_deprecated":{"type":"boolean"},"latest_version":{"type":["string","null"]},"total_versions":{"type":"number"},"dependency_count":{"type":"number"},"maintainer_count":{"type":"number"},"weekly_downloads":{"type":"number"},"deprecation_message":{"type":["string","null"]},"latest_published_at":{"type":["string","null"]},"dev_dependency_count":{"type":"number"},"days_since_last_publish":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"grade":"C","score":72,"license":"MIT","package":"express","findings":[{"rule":"stale_package","detail":"Last published 390 days ago","deduction":-15}],"homepage":"https://expressjs.com","keywords":["web","framework","http"],"created_at":"2010-05-22T00:00:00Z","repository":"https://github.com/expressjs/express","description":"Fast, unopinionated, minimalist web framework","maintainers":["dougwilson","wesleytodd"],"is_deprecated":false,"latest_version":"4.18.2","total_versions":265,"dependency_count":31,"maintainer_count":2,"weekly_downloads":34521000,"deprecation_message":null,"latest_published_at":"2023-02-14T00:00:00Z","dev_dependency_count":12,"days_since_last_publish":390}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AVkfqeMm2RIkHvVuE91XH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an npm package and returns a security/quality grade, score, license info, maintainer details, download stats, dependency counts, and actionable findings.","exampleAgentPrompt":"Can you analyze the npm package lodash and tell me its quality grade, whether it's deprecated, how many weekly downloads it gets, and any findings I should know about?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a letter grade (e.g. 'C'), a numeric score (0–100), license type, latest version, total versions, weekly download count, dependency and dev-dependency counts, maintainer list and count, creation date, days since last publish, deprecation status and message, repository URL, homepage, keywords, description, and an array of findings with rule names and score deductions.","failureModes":["Unknown or misspelled package name returns an error or empty result","Private/scoped packages not found on the public npm registry may fail","Network or upstream npm registry unavailability causes errors","Missing required 'package' query parameter results in a validation error","Payment failure (insufficient USDC balance) blocks the request with HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a structured, scored assessment of an npm package's health, security posture, and maintenance status — especially for supply-chain risk evaluation, dependency auditing, or deciding whether to adopt a new library. Prefer this over raw npm registry lookups when you need an opinionated grade and actionable findings rather than raw metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:43.575Z","isFirstParty":false,"canonicalSlug":"netintel-npm-package-intelligence-analyzer-8d79285f"}