# PyPI Package Lookup

> PyPI Package Lookup is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.034/call, status unknown (last checked 2026-09-14).

Fetches metadata for a Python package from PyPI, including version, author, license, dependencies, and classifiers.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/pypi-lookup
- Price: $0.034/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pypi-package-lookup-22955adb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_slEFutqJ0dtx1T_fSu8Vi

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-lookup-22955adb
```

Example prompt: Can you look up the PyPI metadata for the 'anthropic' package — I want to know the latest version, its license, what Python versions it supports, and its dependencies.

## When to prefer this

Use this endpoint when you need structured PyPI package metadata programmatically — especially when you need version lists, dependency trees, license info, or classifier data without scraping the PyPI website. Prefer over raw PyPI JSON API access when operating in an x402 pay-per-call agent context with no API key management.

## Known failure modes

- Package name not found on PyPI — returns error or empty result
- Requested specific version does not exist — version not in all_versions list
- Typo in package name returns no results
- Network or upstream PyPI API unavailability causes timeout
- Payment failure (insufficient USDC balance) prevents request from completing

## How this service works

Python package metadata from PyPI. Returns latest version, summary, author, license, Python version requirement, install dependencies, release date, and download URLs. Also supports fetching a specific version. Use before integrating a Python library: check if it's actively maintained, what license it uses, and whether it's compatible with your Python version. Free upstream: PyPI JSON API (no key, no rate limit for normal use).

## Output

A JSON object containing the package's name, current version, author and email, license, summary description, required Python version, list of dependencies (requires_dist), all available versions, classifiers, PyPI URL, project URL, and latest upload timestamp.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "package": "requests"
  }
 }
}
```

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pypi-package-lookup-22955adb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
