# scout.hugen.tokyo PyPI Search

> scout.hugen.tokyo PyPI 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-14).

Search PyPI for Python packages by keyword, returning metadata like version, author, license, summary, and homepage

## Facts

- Endpoint: GET https://scout.hugen.tokyo/scout/pypi
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scout-hugen-tokyo-8d21ae48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0sCEESOKa8-VL6JHEJ-T2

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-8d21ae48
```

Example prompt: Search PyPI for Python packages related to 'natural language processing', sorted by relevance, and show me the top 10 results with their version, author, license, and summary.

## When to prefer this

Use this endpoint when you need to discover or research Python packages on PyPI by keyword — ideal for finding libraries, frameworks, or developer tools within the Python ecosystem. Prefer this over generic web search when you specifically need structured package metadata like version, license, author, and release history.

## Known failure modes

- No packages found for obscure or misspelled query — returns empty results list with count 0
- PyPI upstream timeout — elevated elapsed_ms or error response
- Invalid query parameters — may return error or empty results
- Rate limiting or payment failure — 402 response requiring USDC payment

## How this service works

Search PyPI for Python packages — find libraries, frameworks, and developer tools. AI agent API for Python ecosystem research. Accepts USDC payments on Base and Solana

## Output

Returns a list of Python packages matching the query, each with name, author, license, summary, version, homepage URL, PyPI URL, keywords, latest upload date, release count, and Python version requirements. Also includes total count, query string, source identifier, success flag, and elapsed time in milliseconds.

## Example request

```json
{
 "q": "requests",
 "sort": "relevance",
 "per_page": 10
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scout-hugen-tokyo-8d21ae48/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)
