{"uid":"cap_pOyWaFc_KjxjpUaFp4fwB","slug":"agentstoolshub-npm-package-info-b8dcfc37","name":"AgentsToolsHub npm Package Info","description":"Look up any package on the public npm registry: latest version, description, license, homepage, and publish dates for the first and most recent release. Agents use this to check dependencies before installing or to detect newly published versions. Use this when an agent needs to latest version, dates and metadata from the npm registry.","url":"https://agentstoolshub.com/api/v1/dev/npm-info?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":"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.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NoSEkShDzIBfWK2luUKJQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up npm registry metadata for any package: latest version, description, license, homepage, and first/latest publish dates.","exampleAgentPrompt":"Can you check the npm registry for lodash — I need its latest version, license, and when it was first and most recently published?","exampleUseCases":[{"title":"Pre-install dependency check","prompt":"Before I add uuid to my project, can you pull its npm info so I know the latest version and what license it uses?"},{"title":"Detect newly published package version","prompt":"Has the react npm package been updated recently? Check the latest version and its most recent publish date for me."},{"title":"Audit unfamiliar package metadata","prompt":"I've never used zod before — can you look it up on npm and tell me its description, homepage, license, and latest version?"}],"resultDescription":"Returns a structured object with the package name, latest version string, description, SPDX license identifier, homepage URL, date of first publication, and date of most recent publication from the npm registry.","failureModes":["Package not found on npm — returns error indicating unknown package name","Misspelled or scoped package name not properly formatted (e.g. missing @scope/ prefix)","npm registry temporarily unavailable — upstream timeout or connectivity error","Rate limiting or payment failure — x402 payment not accepted"],"whenToPreferThis":"Use this endpoint when an AI agent needs quick, structured npm package metadata — especially version numbers, licenses, and publish dates — without needing to parse raw npm registry JSON or scrape web pages. Prefer this over web search when deterministic, machine-readable metadata is required for dependency auditing or version monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:40:58.652Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-npm-package-info-b8dcfc37"}