ScienceLive

Npm Downloads API

Download counts for any npm package over the last day/week/month.

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

Overview

Download counts for any npm package over the last day/week/month. For dependency-intel, due-diligence, and market-research agents. Live from the npm registry stats API.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/npm-downloads-2610$0.1035Invoke Npm Downloads (Science) 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://jarvisclaw.ai/v1/marketplace/api/npm-downloads-2610

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

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