# SiteSignal Public npm Weekly Downloads Snapshot

> SiteSignal Public npm Weekly Downloads Snapshot is a paid API for AI agents from phases-prot-shine-royal.trycloudflare.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Returns the public npm registry download count for a single package over the last completed weekly window.

## Facts

- Endpoint: GET https://phases-prot-shine-royal.trycloudflare.com/x402/npm-downloads
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-public-npm-weekly-downloads-snapshot-dd54be6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kZAtlfUD9ZT8IJNcmqzhM

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 sitesignal-public-npm-weekly-downloads-snapshot-dd54be6d
```

Example prompt: How many times was the 'axios' npm package downloaded in the last completed week? Pull the weekly download snapshot from npm.

## When to prefer this

Choose this endpoint when you need a quick, current weekly download figure for a single public npm package without setting up direct npm API access. It is ideal for agent workflows that need lightweight popularity signals for package selection, dependency evaluation, or open source project monitoring. Prefer alternatives if you need historical trends, daily granularity, or bulk comparisons across many packages simultaneously.

## Known failure modes

- Package not found on npm registry — returns an error if the package name is misspelled or does not exist
- Scoped package name not formatted correctly (e.g. missing @ prefix) may return no results
- npm registry API downtime may cause upstream failures
- Rate limiting or temporary Cloudflare tunnel unavailability could produce 5xx errors

## How this service works

Return the public npm registry download count for one package over the last completed weekly window.

## Output

Returns the download count for the requested npm package over the last completed weekly window, along with the package name and the date range covered by the snapshot.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "package"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "Public scoped or unscoped npm package name."
      }
     }
    }
   },
   "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/sitesignal-public-npm-weekly-downloads-snapshot-dd54be6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phases-prot-shine-royal.trycloudflare.com](https://www.zero.xyz/host/phases-prot-shine-royal.trycloudflare.com/llms.txt)
