# PyPI Wheel Availability Checker

> PyPI Wheel Availability Checker is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-18).

Lists and ranks PyPI wheels for a package release that are compatible with a specified CPython version, OS, CPU architecture, and libc/macOS version, applying PEP 425/600/656 tag ordering.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/wheel-availability?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pypi-wheel-availability-checker-5324a664
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LzcFRHRlfCVxEN99zXK99

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-wheel-availability-checker-5324a664 -d '<json body>'
```

Example prompt: Can you check which wheels PyPI has available for numpy 1.26.4 on CPython 3.12, Linux x86_64 with glibc 2.28, and tell me the best compatible one?

## When to prefer this

Use this endpoint when an AI agent needs to determine whether a prebuilt wheel exists for a specific CPython version and platform before choosing a Docker base image, debugging a 'building from source' pip install, or validating deployment environment compatibility. Prefer this over manually parsing PyPI JSON APIs when you need PEP 425/600/656 tag ordering, abi3 resolution, manylinux alias handling, and yanked-file awareness applied automatically. Not suitable for PyPy targets, dependency tree wheel checks, or actually installing packages.

## Known failure modes

- Package or version not found on PyPI — returns empty or error
- No compatible wheels exist for the given platform/Python combination — returns empty list
- Invalid CPython version format or unsupported architecture enum — validation error
- libcVersion or macosVersion pattern mismatch — schema validation failure
- PyPy or non-CPython interpreter specified — not supported, returns error or empty
- Yanked release with no alternatives — indicated in response but no compatible wheel surfaced

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

A ranked list of wheels from PyPI for the requested package release that are compatible with the specified CPython version, OS, CPU architecture, and libc/macOS version. Results are ordered best-match first using PEP 425/600/656 tag precedence, with abi3 and legacy manylinux aliases applied. Yanked wheels and Requires-Python mismatches are flagged. Only CPython targets are evaluated; wheel contents and transitive dependencies are not inspected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "python": {
   "type": "string",
   "pattern": "^3\\.[0-9]{1,2}$",
   "maxLength": 8,
   "description": "CPython major.minor, e.g. 3.12."
  },
  "package": {
   "type": "string",
   "maxLength": 100,
   "description": "PyPI project name."
  },
  "version": {
   "type": "string",
   "maxLength": 64,
   "description": "Release; default latest."
  },
  "platform": {
   "type": "object",
   "required": [
    "os",
    "arch"
   ],
   "properties": {
    "os": {
     "enum": [
      "linux",
      "macos",
      "windows"
     ],
     "type": "string"
    },
    "arch": {
     "enum": [
      "x86_64",
      "aarch64",
      "i686",
      "armv7l",
      "ppc64le",
      "s390x",
      "arm64",
      "amd64",
      "x86"
     ],
     "type": "string",
     "description": "linux: x86_64 aarch64 i686 armv7l ppc64le s390x; macos: x86_64 arm64; windows: amd64 x86 arm64."
    },
    "libc": {
     "enum": [
      "glibc",
      "musl"
     ],
     "type": "string",
     "description": "linux only; default glibc."
    },
    "libcVersion": {
     "type": "string",
     "pattern": "^[0-9]{1,3}\\.[0-9]{1,3}$",
     "maxLength": 8,
     "description": "linux: glibc '2.28' or musl '1.2'. Without it only the linux_<arch> tag matches."
    },
    "macosVersion": {
     "type": "string",
     "pattern": "^[0-9]{1,3}\\.[0-9]{1,3}$",
     "maxLength": 8,
     "description": "macOS '14.0' or '10.15'."
    }
   },
   "additionalProperties": false
  },
  "freeThreaded": {
   "type": "boolean",
   "description": "Free-threaded build (cp313t): abi3 wheels do not apply."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pypi-wheel-availability-checker-5324a664/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
