{"uid":"cap_6L3xJqOmJA6GPmg65dTWF","slug":"pypi-package-health-api-1f0a0c5d","name":"PyPI Package Health API","description":"PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — latest version, upload time, total releases, yank status, declared dependency count, requires-python constraint, license, summary, and weekly downloads (pypistats). Names are PEP 503-normalized (dots/underscores/hyphens equivalent). Use for auditing requirements.txt and pyproject.toml, supply-chain security checks, and version freshness agents. Cached up to 1 hour per package.","url":"https://gateway.stride20k.com/dev/pypi/:packageName","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RWWDB1degJr0cOwnExyhD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns dependency-hygiene facts for a PyPI package including latest version, upload time, release count, yank status, dependency count, Python constraint, license, summary, and weekly downloads","exampleAgentPrompt":"Can you pull up the PyPI health info for 'scikit-learn' — I want to know the latest version, whether it's been yanked, how many dependencies it has, and how many weekly downloads it gets?","exampleUseCases":null,"resultDescription":"A JSON object with the canonical package name, latest version string, upload timestamp of the newest release, total release count, yank status boolean, declared dependency count, requires-python constraint, license string (up to 120 chars), one-line summary, weekly downloads, plus metadata indicating cache status and data source.","failureModes":["Package not found on PyPI returns an error response","Package name typos result in not-found errors","pypistats weekly download data may be null if unavailable for that package","Cached responses up to 1 hour old may not reflect very recent releases","Rate limits or upstream PyPI API outages can cause failures"],"whenToPreferThis":"Use this endpoint when you need authoritative PyPI package metadata for a single package — especially for auditing requirements.txt or pyproject.toml files, supply-chain security checks, version freshness evaluation, or checking if a package has been yanked. Prefer this over scraping PyPI directly because it aggregates PyPI JSON API data with pypistats download counts in one call with PEP 503 normalization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:48.984Z","isFirstParty":false}