# Strale PyPI Package Info

> Strale PyPI Package Info is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-15).

Look up metadata and details for a Python package by name from the PyPI registry

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/pypi-package-info
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-pypi-package-info-5c3deae2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vYpsm5XxbbjkEQIJk3F5v

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 strale-pypi-package-info-5c3deae2
```

Example prompt: Can you look up the PyPI package info for 'requests' — I want to know the latest version, license, and a short description?

## When to prefer this

Use this endpoint when you need authoritative, auditable PyPI package metadata with a cryptographic chain hash for compliance or trust purposes, and when operating within an x402 micropayment workflow. Prefer over direct PyPI API calls when auditability and multi-country data trust guarantees matter.

## Known failure modes

- Package not found on PyPI — returns an error or empty result
- Misspelled package name returns no match
- PyPI registry temporarily unavailable causes timeout or upstream error
- Payment failure (insufficient USDC balance) prevents the call from completing

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns PyPI package metadata including the package name, latest version, description, author, license, homepage URL, dependencies, and release history — with a cryptographic audit record attached to every response.

## Request schema (JSON Schema)

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

## More

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