DocumentLive

Npm Lookup

Look up an npm package by name (supports scoped packages like @sentry/node).

$0.00138USDC per call · settled on Base · no subscription, no API key

Overview

Look up an npm package by name (supports scoped packages like @sentry/node). Returns description, homepage, repository, license, author + maintainers list, keywords, distTags (latest/beta/rc/etc.), latest version + publication date, and the 50 most recent versions with their publish dates + deprecation status. ~3M JavaScript/TypeScript packages. npm public registry.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/npm-lookup$0.00138Invoke Npm Lookup (Document) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://api.jarvisclaw.ai/v1/marketplace/api/npm-lookup

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/npm-lookup
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs