# Vextorium NPM Package Lookup

> Vextorium NPM Package Lookup is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-19).

Returns detailed metadata for an npm package: version history, download stats, dependencies, license, repository, and more.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/npm-package?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-npm-package-lookup-4a0f8331
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yIrpjx09RHYkEyBEsWV6h

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 vextorium-npm-package-lookup-4a0f8331 -d '<json body>'
```

Example prompt: Can you look up the npm package 'express' and tell me its latest version, weekly downloads, number of dependencies, and whether it's deprecated?

## When to prefer this

Use this endpoint when you need structured, machine-readable npm package metadata in a single call without scraping npmjs.com yourself. Ideal for agents auditing dependencies, evaluating open source libraries, or enriching developer tooling workflows. Prefer this over parsing npm CLI output or scraping the npm website.

## Known failure modes

- Package name not found on npm registry — returns null or error response
- Package exists but has no metadata fields populated (null values for optional fields)
- Network timeout reaching the npm registry
- Invalid or empty package name in request body

## How this service works

npm package profile: latest version, description, license, repository, dependencies, unpacked size, weekly and monthly downloads, maintainers and deprecation flag. For dependency choice and audits.

## Output

A JSON object with the package's name, latest version, total version count, license, description, homepage URL, repository URL, number of maintainers, number of dependencies, a list of direct dependencies, weekly and monthly download counts, decompressed size in KB, required Node.js version, deprecation status, and last modified timestamp — all sourced from the npm registry.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "web": "https://expressjs.com/",
  "source": "npm registry",
  "license": "MIT",
  "package": "express",
  "modified": "2026-10-09T12:56:55.078Z",
  "versions": 290,
  "deprecated": null,
  "repository": "git+https://github.com/expressjs/express.git",
  "description": "Fast, unopinionated, minimalist web framework",
  "maintainers": 5,
  "dependencies": 28,
  "last_version": "5.3.0",
  "required_node": ">= 18",
  "downloads_week": 145199376,
  "downloads_month": 635513489,
  "dependencies_list": [
   "accepts",
   "body-parser"
  ],
  "decompressed_size_kb": 74.8
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-npm-package-lookup-4a0f8331/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
