# scout.hugen.tokyo NPM Package Search

> scout.hugen.tokyo NPM Package Search is a paid API for AI agents from scout.hugen.tokyo, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Searches the npm registry to find JavaScript and TypeScript packages, returning scored results with metadata including version, popularity, quality, and maintenance metrics.

## Facts

- Endpoint: GET https://scout.hugen.tokyo/scout/npm
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scout-hugen-tokyo-c094447c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rnf01TU6u1APwRlE0e6fh

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 scout-hugen-tokyo-c094447c
```

Example prompt: Search npm for HTTP client libraries — show me the top 10 results scored by popularity and maintenance quality.

## When to prefer this

Use this endpoint when an AI agent needs to research JavaScript or TypeScript dependencies, evaluate package health metrics, discover libraries for a specific use case, or verify the latest published version of an npm package. Prefer over manual npmjs.com browsing when automating dependency research or comparing multiple packages programmatically.

## Known failure modes

- Empty result set if query term matches no packages
- Payment required (402) if USDC payment on Base or Solana is not attached
- Rate limiting or timeout if npm registry is slow
- Malformed query returns error response
- per_page value out of allowed range returns validation error

## How this service works

Search npm package registry — find JavaScript and TypeScript libraries, frameworks, and developer tools. AI agent API for dependency research. Accepts USDC payments on Base and Solana

## Output

Returns an array of npm package objects each with: package name, composite score (final score plus quality/popularity/maintenance sub-scores), npm URL, latest version, description, keywords, publisher, repository URL, homepage, and last updated timestamp. Results are ordered by relevance/score descending.

## Example request

```json
{
 "q": "react",
 "per_page": 10
}
```

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scout-hugen-tokyo-c094447c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scout.hugen.tokyo](https://www.zero.xyz/host/scout.hugen.tokyo/llms.txt)
