{"uid":"cap_yYF1fvZgx25EvP7y4VnoF","slug":"pypi-package-health-inspector-0f5a92ee","name":"PyPI Package Health Inspector","description":"PyPI package inspection API: latest version, summary, license, requires-python, dependency declarations, and yank status for any Python package. The pre-install hygiene check for Python coding agents.","url":"https://x402.forgemesh.io/pypi-package-health","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"package":{"type":"string","description":"package name, e.g. requests"}}},"responseSchema":{"type":"json","example":{"data":{"name":"requests","summary":"Python HTTP for Humans.","version":"2.32.3","requires_python":">=3.8"}}},"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_hM4wcsRF41irjhlevfp8C","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 latest version, summary, license, Python version requirements, dependency declarations, and yank status for any PyPI package by name.","exampleAgentPrompt":"Before we install it, can you check the PyPI metadata for the 'httpx' package — I want to know the latest version, its license, Python version requirements, any declared dependencies, and whether it's been yanked?","exampleUseCases":null,"resultDescription":"Returns a structured response with the package's latest version number, short summary description, license identifier, requires-python constraint, list of dependency declarations, and yank status (whether the release has been yanked from PyPI).","failureModes":["Package not found on PyPI — returns error indicating unknown package name","Network or PyPI API unavailability — upstream timeout or error","Malformed package name input — returns validation error","Package exists but has incomplete metadata — some fields may be null or empty"],"whenToPreferThis":"Use this endpoint when a Python coding agent needs to perform pre-install hygiene checks on a package — specifically to verify the latest version, confirm license compatibility, check Python version requirements, inspect declared dependencies, or confirm a release hasn't been yanked. Prefer this over scraping PyPI directly or using pip commands in an agent context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:00:35.942Z","isFirstParty":false}