# npm Package Weekly Download Count

> npm Package Weekly Download Count is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns the weekly download count for a given npm package by name

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/data/npm
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npm-package-weekly-download-count-a68537b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rQpIzsVU7Jvd-dsXf5ovq

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 npm-package-weekly-download-count-a68537b4
```

Example prompt: How many weekly downloads does the 'axios' npm package get?

## When to prefer this

Use this endpoint when you need a quick, single-call lookup of npm weekly download counts without setting up direct npm registry API access. Ideal for agents that need to assess package popularity, compare adoption levels, or track growth over time for a known package name.

## Known failure modes

- Package name not provided — missing required 'pkg' query parameter results in an error response
- Package not found — if the package name doesn't exist on npm, returns an error or zero count
- Network or upstream npm registry unavailability causing timeout or failure
- Typo in package name returning incorrect or null results

## How this service works

npm package weekly download count

## Output

Returns the weekly download count for the specified npm package, indicating how many times it was downloaded in the past week. The response is a data object containing the package name and its numeric download figure.

## 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",
     "properties": {
      "pkg": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-package-weekly-download-count-a68537b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
