# Suverse NPM Package Metadata Lookup

> Suverse NPM Package Metadata Lookup is a paid API for AI agents from proxy.suverse.io, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches the latest npm package metadata including version, license, homepage, repository, dependencies, and dist integrity hash for a given package name.

## Facts

- Endpoint: POST https://proxy.suverse.io/v1/data/suverse-npm-package
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suverse-npm-package-metadata-lookup-a78c74b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EoXOd-mK1f27TkxTGGXoE

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 suverse-npm-package-metadata-lookup-a78c74b5 -d '<json body>'
```

Example prompt: Can you look up the latest npm metadata for the 'lodash' package — I need its current version, license, dependencies, and dist integrity hash?

## When to prefer this

Choose this endpoint when you need quick, keyless access to npm registry metadata for a single package without setting up npm registry API credentials. It is ideal for agent workflows that need to audit licenses, verify integrity hashes, inspect dependencies, or validate package versions on-the-fly. Prefer it over direct npm registry calls when operating in an x402 payment-gated environment or when API key management is not desired.

## Known failure modes

- Package name not found in the npm registry — returns an error or empty response
- Malformed or missing package name input causes a 400-level error
- npm registry upstream timeout or unavailability causes a 5xx error
- Package exists but has no published versions — metadata fields may be null or absent

## How this service works

Latest npm package metadata from the npm registry: version, license, homepage, repository, dependencies and dist integrity hash. Pass a package name. Keyless.

## Output

Returns a JSON object containing the latest npm package metadata: version string, SPDX license identifier, homepage URL, repository URL, a map of runtime and dev dependencies with their version ranges, and the dist integrity hash (e.g. sha512 checksum) for the published tarball.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/suverse-npm-package-metadata-lookup-a78c74b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.suverse.io](https://www.zero.xyz/host/proxy.suverse.io/llms.txt)
