GeneralLive

Pypi Package Stats

Fetches the public PyPI JSON record for a Python package and returns summary, license, homepage, repository, documentation, issues URL, author, maintainer, classifiers, latest…

$0.00345USDC per call · settled on Base · no subscription, no API key

Overview

Fetches the public PyPI JSON record for a Python package and returns summary, license, homepage, repository, documentation, issues URL, author, maintainer, classifiers, latest version, total version count, recent versions with publish timestamps and yanked flags, age in days, and days_since_last_release. Also pulls last-day / last-week / last-month download counts from pypistats.org (Linehaul-derived). A quick companion to package-risk-pypi for cases where you just need the numbers, no risk write-up. Public PyPI + pypistats APIs, no auth. Use it for PyPI package stats, Python package registry lookup, pip package metadata, pypistats downloads, or Python ecosystem metadata.

Endpoint

MethodEndpointPriceDescription
POST/v1/marketplace/api/pypi-package-stats$0.00345Invoke Pypi Package Stats (General) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/pypi-package-stats \
  -H 'Content-Type: application/json' \
  -d '{}'

# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/pypi-package-stats \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <signed-payload>' \
  -d '{}'
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs