{"uid":"cap_z458r1M2Qwqzo_D_TxZeS","slug":"whatchuneed-npm-package-lookup-b341f211","name":"whatchuneed NPM Package Lookup","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/util/npm-package","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Request input"}}},"responseSchema":{"type":"object","properties":{"result":{"type":"object","description":"Response data"},"status":{"type":"string"}}},"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_2PSqVB13Sac4MlXsRTN6d","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":"Retrieves metadata and information about an NPM package by name","exampleAgentPrompt":"Can you look up the npm package 'lodash' and tell me its latest version, description, and main dependencies?","exampleUseCases":[{"title":"Check package version before install","prompt":"What's the latest stable version of the 'axios' npm package and who maintains it?"},{"title":"Verify package license compatibility","prompt":"Look up the npm package 'express' and tell me what license it uses — I need to confirm it's MIT before adding it to our project."},{"title":"Research unknown dependency","prompt":"I see 'chalk' listed as a dependency in my project — can you pull up its npm package info and tell me what it does and how popular it is?"}],"resultDescription":"Returns an object containing npm package metadata such as name, version, description, license, author, dependencies, download counts, and other registry information for the requested package.","failureModes":["Package name not found in npm registry returns an error result","Misspelled or scoped package names (e.g. missing @scope/ prefix) may return no results","Private or unpublished packages are not accessible","Network or upstream npm registry errors may cause failures"],"whenToPreferThis":"Use this endpoint when an AI agent needs to quickly fetch npm package information without setting up direct npm registry API access, especially in pay-per-call agentic workflows where occasional lookups don't justify a full integration. Useful for dependency research, license checks, or version verification tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:53:15.951Z","isFirstParty":false}