# DataVault NPM Package Lookup

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

Retrieves metadata and details for a specified npm package by name

## Facts

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

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-d57bba32 -d '<json body>'
```

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

## When to prefer this

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.

## Known failure modes

- 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

## 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 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.

## 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-d57bba32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetavault.vercel.app](https://www.zero.xyz/host/zetavault.vercel.app/llms.txt)
