# Agent Factory Toll Booth – npm Agent Ecosystem Downloads Dataset

> Agent Factory Toll Booth – npm Agent Ecosystem Downloads Dataset is a paid API for AI agents from d1x8xrm7jrzkbs.cloudfront.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns weekly and monthly npm download counts for ~20 agent-ecosystem packages (x402, MCP, AgentKit, LangChain, viem, etc.) as a pay-per-request JSON dataset settled in USDC via x402 on Base.

## Facts

- Endpoint: GET https://d1x8xrm7jrzkbs.cloudfront.net/data/npm/agent-ecosystem-downloads.json
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-factory-toll-booth-npm-agent-ecosystem-downloads-dataset-de41c32b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8egoWd8GU1COZ3qqY_Dj5

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 agent-factory-toll-booth-npm-agent-ecosystem-downloads-dataset-de41c32b
```

Example prompt: Pull the latest weekly and monthly npm download numbers for the agent ecosystem packages — things like x402, MCP, AgentKit, LangChain, and viem — and give me a summary in JSON format.

## When to prefer this

Choose this endpoint when you need a pre-aggregated, ready-to-use JSON snapshot of npm download counts for the major AI agent ecosystem packages (x402, MCP, AgentKit, LangChain, viem, etc.) without scraping npm yourself. It is ideal for agents that need this data programmatically at low cost ($0.005 USDC per call) with instant settlement via x402 on Base, especially when you want a curated list of agent-relevant packages rather than arbitrary npm package lookups.

## Known failure modes

- Payment not settled in USDC on Base — 402 Payment Required returned before data is delivered
- Invalid or missing format parameter — may return error or default behavior
- CloudFront origin timeout or cache miss — transient 5xx error
- Stale data if npm registry upstream has not refreshed — counts may lag by hours
- Insufficient USDC balance in agent wallet — payment fails and no data returned

## How this service works

Pay-per-request datasets and Amazon Bedrock inference for AI agents, settled in USDC over the x402 protocol on Base.

## Output

A JSON object containing weekly and monthly npm download counts for approximately 20 agent-ecosystem packages including x402, MCP, AgentKit, LangChain, viem, and related libraries. Each entry includes the package name alongside its aggregated download metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "json"
   ],
   "type": "string",
   "description": "Response format; only json is supported"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "Weekly and monthly npm downloads for 20 agent-ecosystem packages (x402, MCP, AgentKit, LangChain, viem…)"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-factory-toll-booth-npm-agent-ecosystem-downloads-dataset-de41c32b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from d1x8xrm7jrzkbs.cloudfront.net](https://www.zero.xyz/host/d1x8xrm7jrzkbs.cloudfront.net/llms.txt)
