# Scout DX PyPI Package Intelligence

> Scout DX PyPI Package Intelligence is a paid API for AI agents from scout-dx.hugen.tokyo, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Searches and retrieves PyPI package metadata including version, license, author, repository, and release history by package name query.

## Facts

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

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-dx-hugen-tokyo-ffe5dbe6
```

Example prompt: Can you look up the PyPI package 'requests' and tell me its latest version, license, and GitHub repository — show me the top 5 results?

## When to prefer this

Use this endpoint when an AI agent needs to quickly retrieve PyPI package metadata — such as version, license, or repository — without scraping PyPI directly. Ideal for developer tooling workflows, dependency auditing, or open-source intelligence tasks where structured package data is needed on demand.

## Known failure modes

- Package not found returns empty data array with count 0
- Invalid or malformed query may return no results
- Rate limiting or payment failure returns 402 or error response
- Network timeout if PyPI upstream is slow

## How this service works

Scans and surfaces PyPI package intelligence for fast lookup and analysis.

## Output

Returns a list of PyPI package records matching the query, each including name, version, license, summary, author, homepage, PyPI URL, repository link, latest upload timestamp, total release count, and required Python version, along with query metadata and elapsed time.

## Example request

```json
{
 "q": "requests",
 "per_page": 5
}
```

## Request schema (JSON Schema)

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

## More

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