# whatchuneed NPM Package Lookup

> whatchuneed NPM Package Lookup is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Retrieves metadata and information about an NPM package by name

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/npm-package
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-npm-package-lookup-b341f211
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z458r1M2Qwqzo_D_TxZeS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability whatchuneed-npm-package-lookup-b341f211 -d '<json body>'
```

Example prompt: Can you look up the npm package 'lodash' and tell me its latest version, description, and main dependencies?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/whatchuneed-npm-package-lookup-b341f211/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whatchuneed.vercel.app](https://www.zero.xyz/host/whatchuneed.vercel.app/llms.txt)
