# PyPI Package Profile Lookup

> PyPI Package Profile Lookup is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Fetches a Python package's full profile from PyPI including latest version, downloads, license, dependencies, author, and yanked status.

## Facts

- Endpoint: POST https://api.vextorium.com/pypi-paquete-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pypi-package-profile-lookup-aa6cf790
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yGOUGkg4DFTJ8YJ1XQ3nQ

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-profile-lookup-aa6cf790 -d '<json body>'
```

Example prompt: Can you pull up the PyPI profile for 'httpx' — I want to see the latest version, its license, dependencies, and how many downloads it's been getting lately?

## When to prefer this

Use this endpoint when you need a comprehensive snapshot of a Python package's metadata from PyPI — including version, license, dependencies, download stats, and yanked status — in a single call. Prefer it over scraping PyPI directly or querying the PyPI JSON API manually. Ideal for dependency auditing, popularity checks, license compliance, and keeping track of package health in automated pipelines.

## Known failure modes

- Package name not found on PyPI — returns null fields or error
- Misspelled package name returns no results
- pypistats download data may lag by a day
- Private or internal packages not on PyPI return no data
- Network timeout if PyPI or pypistats APIs are slow

## How this service works

Python package profile from PyPI: latest version and date, summary, license, required Python, author, links, dependencies, recent downloads and yanked flag.

## Output

Returns a JSON object with the package name, latest version string, publication date, summary description, license identifier, required Python version, author info, source and documentation URLs, list of dependencies, total number of versions, daily/weekly/monthly download counts, and a boolean yanked flag indicating if the latest release was withdrawn.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "autor": null,
  "fuente": "PyPI + pypistats",
  "enlaces": {
   "Source": "https://github.com/psf/requests",
   "Documentation": "https://requests.readthedocs.io"
  },
  "paquete": "requests",
  "resumen": "Python HTTP for Humans.",
  "licencia": "Apache-2.0",
  "retirada": false,
  "publicada": "2026-05-14T19:25:26.443000Z",
  "versiones": 163,
  "dependencias": [
   "charset_normalizer<4,>=2",
   "idna<4,>=2.5"
  ],
  "descargas_dia": 49186776,
  "descargas_mes": 1167998862,
  "ultima_version": "2.34.2",
  "descargas_semana": 294826924,
  "python_requerido": ">=3.10"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pypi-package-profile-lookup-aa6cf790/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
