# NPM Trends via The Stall

> NPM Trends via The Stall is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.021/call, status unknown (last checked 2026-09-14).

Returns npm package download trend data, enabling comparison of package popularity over time

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/npm-trends
- Price: $0.021/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/npm-trends-via-the-stall-92872a6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fssz-S8OzQiYyrqiDwnaF

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-trends-via-the-stall-92872a6d
```

Example prompt: Can you pull the npm download trends for 'axios' and 'node-fetch' so I can see which one has been more popular over the past year?

## When to prefer this

Use this endpoint when you need programmatic access to npm package download trend data without setting up API keys or accounts. Ideal for AI agents performing library comparisons, dependency audits, or open-source ecosystem analysis. Prefer over manual npmtrends.com visits when automation or data ingestion is needed.

## Known failure modes

- Unknown or misspelled package name returns empty or error response
- Package with very low download counts may return sparse data
- Network timeout if npm registry data is slow to respond
- Payment failure if USDC balance is insufficient on Base mainnet

## How this service works

Domain-agnostic x402 capability chassis by IntuiTek¹. 300 AI-callable data services — pay USDC on Base mainnet. No accounts or API keys required.

## Output

Time-series download count data for the specified npm package(s), showing weekly or monthly download trends that allow comparison of popularity and growth trajectories across packages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/npm-trends-via-the-stall-92872a6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
