# DataVault NPM Package Lookup

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

Retrieves metadata and details for a given npm package by name

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/npm-package
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-npm-package-lookup-8a2e3276
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XNGpXZ46XaqKLQbc2clBc

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 datavault-npm-package-lookup-8a2e3276 -d '<json body>'
```

Example prompt: Can you look up the npm package details for 'lodash' — I want to know the latest version, description, and who maintains it?

## When to prefer this

Use this endpoint when you need quick, pay-per-call npm package metadata without setting up your own npm registry API access. Ideal for agents that occasionally need package info as part of a software research or dependency analysis workflow.

## Known failure modes

- Package name not found on npm registry returns error or empty data
- Misspelled package name yields no results
- Private or unpublished packages may not be accessible
- Rate limiting or upstream npm registry downtime causes failures

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a data object with npm package metadata such as version, description, author, dependencies, and other registry information, along with a success boolean.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "package"
 ],
 "properties": {
  "package": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

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