# PyPI Package Info

> PyPI Package Info is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches metadata for a PyPI package including latest version, upload date, summary, license, homepage, Python requirement, dependencies count, release history, and wheel availability.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/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/pypi-package-info-3a861fa1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ubBHEsSSZWk7QBVqGft1Q

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-info-3a861fa1
```

Example prompt: What's the latest version of 'httpx' on PyPI, and does it have wheel distributions available? I also want to know its license and how many runtime dependencies it has.

## When to prefer this

Use this endpoint when you need quick, structured PyPI metadata for a specific package without scraping the PyPI website yourself. It is ideal for agents performing dependency audits, license checks, version monitoring, or packaging compatibility checks. Prefer it over raw PyPI JSON API calls when you want a normalized, pre-parsed response at minimal cost.

## Known failure modes

- Package name not found on PyPI — returns an error or empty result
- Typo in package name leading to wrong or missing package
- PyPI API rate limit or downtime causing fetch failure
- Payment of $0.01 USDC not completed — request rejected
- Package exists but has incomplete metadata (e.g. no license field set by maintainer)

## How this service works

PyPI package info: latest version and upload date, summary, license, homepage and project URLs, Python requirement, runtime dependencies count, number of releases and wheel availability, from PyPI's JSON API. $0.01 per package.

## Output

Returns structured metadata about the requested PyPI package: latest version number, upload date, short summary, license type, homepage and project URLs, minimum Python version requirement, count of runtime dependencies, total number of releases, and whether wheel distributions are available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pypi-package-info-3a861fa1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
