# PyPI Package Versions Lookup

> PyPI Package Versions Lookup is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns available versions of a Python package from PyPI, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/pypi-package-versions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pypi-package-versions-lookup-1a98ff2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OeZFt7_8FvpXs9-5oL___

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 pypi-package-versions-lookup-1a98ff2d
```

Example prompt: What versions of the 'httpx' Python package are available on PyPI?

## When to prefer this

Choose this endpoint when you need a quick, no-signup programmatic lookup of PyPI package versions and are already operating in an x402 micropayment context. Ideal for AI agents that need to validate, pin, or audit Python dependency versions without setting up API keys.

## Known failure modes

- Package name not found on PyPI — returns error or empty version list
- Missing or malformed schema parameter — may return 400 or unexpected result
- PyPI upstream unavailable — service may timeout or return error
- Network or Worker runtime failure — HTTP 5xx response

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON response indicating success and containing version data for the requested Python package from PyPI, including available release versions.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pypi-package-versions-lookup-1a98ff2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
