{"uid":"cap_73C0NF-y24fuxwtiBifeE","slug":"datavault-npm-package-lookup-d57bba32","name":"DataVault NPM Package Lookup","description":"54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.","url":"https://zetavault.vercel.app/api/npm-package","method":"POST","headers":{},"bodySchema":{"type":"object","required":["package"],"properties":{"package":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_0BlddFxRbcaiudRGD_nZa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves metadata and details for a specified npm package by name","exampleAgentPrompt":"Can you look up the npm package 'lodash' and tell me its latest version, description, and repository details?","exampleUseCases":[{"title":"Audit dependency security for projects","prompt":"I need you to check the npm packages we're using in our project - can you look up 'express', 'mongoose', and 'dotenv' to see their latest versions and any known vulnerabilities in their metadata?"},{"title":"Compare JavaScript libraries before adoption","prompt":"We're deciding between 'axios' and 'node-fetch' for our HTTP client. Can you pull up the metadata for both packages so I can compare their download stats, dependencies, and how actively they're maintained?"},{"title":"Generate package inventory report","prompt":"Our team wants a quick inventory of what npm packages we depend on. Can you look up 'react', 'webpack', 'babel-loader', and 'jest' to get me their descriptions, maintainers, and repository URLs so we can document our tech stack?"}],"resultDescription":"Returns a data object containing npm package metadata such as name, version, description, author, dependencies, repository URL, license, and download statistics, along with a success boolean indicating whether the lookup succeeded.","failureModes":["Package not found on npm registry — returns success: false or empty data","Invalid or misspelled package name — no results returned","npm registry API unavailable — upstream fetch failure","Malformed request missing required 'package' field — validation error"],"whenToPreferThis":"Use this endpoint when you need programmatic access to npm package metadata without direct npm registry access, or when operating in a pay-per-call environment and need quick one-off package lookups. Prefer this over direct npm registry calls when working within the DataVault ecosystem for unified billing via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:44:56.935Z","isFirstParty":false}