{"uid":"cap_dZ1EKYDEOqbRDVuFDtxql","slug":"npm-package-metadata-lookup-a60b777b","name":"NPM Package Metadata Lookup","description":"Latest version, publish date, licence, weekly downloads, dependencies, engines and deprecation status of an npm package.","url":"https://api.cra-agent.tech/v1/paid/packages/npm?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"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_nZhq3UcBpMHjnFPMfWbV6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x3600000000000000000000000000000000000000","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest version, publish date, licence, weekly downloads, dependencies, engines, and deprecation status of an npm package by name.","exampleAgentPrompt":"What's the latest version of the hono npm package, and is it deprecated? Also tell me its licence and weekly downloads.","exampleUseCases":[{"title":"Checking if a dependency is outdated","prompt":"Can you look up the current version of lodash on npm and tell me when it was last published? I want to know if the version in my package.json is still up to date."},{"title":"Auditing package licence before use","prompt":"What licence does the axios npm package use? I need to check before we add it to our project."},{"title":"Verifying deprecation before production use","prompt":"Is the request npm package still actively maintained or has it been deprecated? Also, how many weekly downloads is it getting right now?"}],"resultDescription":"A JSON object containing the npm package's latest version number, publish date of that version, licence type, weekly download count, list of dependencies, supported engines (Node.js version range etc.), and whether the package has been marked as deprecated.","failureModes":["Package name not found — returns a 404 or empty result if the package does not exist on npm","Scoped package names must be correctly URL-encoded (e.g. @types/node)","Rate limiting or payment failure may return a 402 or 429 error","npm registry unavailable — upstream timeout may cause delayed or failed response","Private or unlisted packages will not be accessible"],"whenToPreferThis":"Use this endpoint when you need structured, up-to-date npm package metadata (version, licence, downloads, deprecation) without scraping npmjs.com or setting up your own registry client. Prefer it for automated dependency auditing, licence compliance checks, or keeping agents informed about the health and currency of JavaScript/Node.js dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T03:46:51.389Z","isFirstParty":false,"canonicalSlug":"npm-package-metadata-lookup-a60b777b"}