{"uid":"cap_KpHGLoho42ggyBL3Sv2Qu","slug":"forgemesh-python-package-version-lookup-27dc03e0","name":"ForgeMesh Python Package Version Lookup","description":"Returns the latest version, summary, license, and required Python version constraint for any package on the Python Package Index, plus its declared dependencies and yank status. A quick pre-install check for coding agents working in Python before they commit to a dependency.","url":"https://x402.forgemesh.io/python-package-version","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_0ifE3grj3EYvC9kXPjEGQ","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 the latest version, license, Python version constraint, declared dependencies, and yank status for any PyPI package — a quick pre-install metadata check for Python coding agents.","exampleAgentPrompt":"Before I add httpx to my requirements.txt, can you check what the latest PyPI version is, whether it's been yanked, what license it uses, and what Python version it requires?","exampleUseCases":null,"resultDescription":"Returns the latest published version, a short summary, SPDX license identifier, requires-python constraint, list of declared dependencies, and whether the package has been yanked from PyPI — all in a single response.","failureModes":["Package name not found on PyPI — returns an error or empty result","Typo in package name leads to wrong or missing package","PyPI API temporarily unavailable — upstream timeout or 5xx error","Package exists but has no metadata fields (e.g. no license declared) — fields may be null or absent"],"whenToPreferThis":"Use this endpoint when a coding agent needs to verify a Python package's current version, license compatibility, Python version requirements, or dependency tree before committing to using it — particularly useful for automated dependency resolution, security audits, or CI pipeline checks. Prefer this over scraping PyPI directly or using pip commands when operating in an agentic, serverless, or sandboxed environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:29.166Z","isFirstParty":false}