# FastX402 PyPI Package Info

> FastX402 PyPI Package Info is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Fetches metadata for a PyPI package by name, returning version, author, license, summary, dependencies, and more.

## Facts

- Endpoint: GET https://fastx402.tools/pypi-package-info?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-pypi-package-info-b2ad8e16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lJmM5Q5tCd3dKFFVXkbUg

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 fastx402-pypi-package-info-b2ad8e16
```

Example prompt: What's the latest version of the 'requests' package on PyPI, and what are its dependencies and license?

## When to prefer this

Use this endpoint when an AI agent needs structured PyPI package metadata without setting up an API key or account. Ideal for dependency audits, license checks, version lookups, or enriching package information in automated pipelines. Prefer over scraping PyPI HTML or using the raw PyPI JSON API directly when a pay-per-call micro-payment model is acceptable and no authentication setup is desired.

## Known failure modes

- Package name not found on PyPI — returns an error or empty response
- Typo in package name yields no results
- Package exists but has incomplete metadata (e.g. no author or license field)
- PyPI API temporarily unavailable — upstream timeout

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the package's canonical name, current version, author, license, one-line summary, home page URL, project URLs map, list of required distribution packages (requires_dist), and required Python version string.

## 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",
     "required": [
      "package"
     ],
     "properties": {
      "package": {
       "type": "string",
       "description": "PyPI package name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string"
      },
      "author": {
       "type": "string"
      },
      "license": {
       "type": "string"
      },
      "summary": {
       "type": "string"
      },
      "version": {
       "type": "string"
      },
      "home_page": {
       "type": "string"
      },
      "project_urls": {
       "type": "object",
       "properties": {}
      },
      "requires_dist": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "requires_python": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "requests",
  "author": "Kenneth Reitz",
  "license": "Apache 2.0",
  "summary": "Python HTTP for Humans.",
  "version": "2.32.3",
  "home_page": "",
  "project_urls": {},
  "requires_dist": [
   "charset-normalizer<4,>=2",
   "idna<4,>=2.5",
   "urllib3<3,>=1.21.1",
   "certifi>=2017.4.17"
  ],
  "requires_python": ">=3.8"
 }
}
```

## More

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