{"uid":"cap_lew1kfmWN0et4vY9o_ET2","slug":"npm-package-info-60b355a6","name":"npm-package-info","description":"npm package info: latest version and publish date, description, license, homepage, repository, dependency count, weekly downloads, maintainers and total versions, from the public npm registry. Dependency research for agents and CI. $0.01 per package.","url":"https://intel.rallylive.ca/data/npm","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_c8ThUlLP7O0o5gVLiSZlD","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":"Fetches npm package metadata including latest version, publish date, description, license, dependencies, weekly downloads, and maintainers from the public npm registry.","exampleAgentPrompt":"Can you pull up the npm registry info for the 'lodash' package — I want to know the latest version, license, weekly downloads, and how many dependencies it has?","exampleUseCases":[{"title":"Vetting a dependency before adding it","prompt":"Before I add 'date-fns' to my project, can you check its npm page and tell me the latest version, its license, how actively it's maintained, and roughly how many weekly downloads it gets?"},{"title":"CI pipeline dependency audit","prompt":"In our CI workflow, look up the npm registry details for 'axios' — I need the latest version, dependency count, and last publish date to make sure we're not lagging behind."},{"title":"Open source health check for a package","prompt":"Can you check the npm package info for 'express' and give me a summary of its maintainers, total number of published versions, weekly download count, and the repository URL?"}],"resultDescription":"Returns structured npm package metadata including: latest version number, latest publish date, package description, SPDX license identifier, homepage URL, repository URL, number of direct dependencies, weekly download count, list of maintainers, and total number of published versions — all sourced live from the public npm registry.","failureModes":["Package not found on npm registry returns an error or empty result","Scoped packages (e.g. @org/pkg) may require URL-encoded names","Unpublished or deprecated packages may return partial data","Rate limits or transient npm registry downtime can cause failures","Missing query parameter for package name returns a bad request error"],"whenToPreferThis":"Use this endpoint when an agent needs quick, structured npm metadata for a single package — especially in CI pipelines, dependency audits, security vetting, or open source due diligence workflows. It is preferable to scraping npmjs.com directly or calling the raw npm registry API, since it normalizes and summarizes the most useful fields at a fixed $0.01 cost per lookup. Best for agents that need actionable package signals without parsing full registry JSON payloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:40.290Z","isFirstParty":false}