{"uid":"cap_62j7N9EQCF7Mgpx8w1KlE","slug":"supremeai-pypi-package-lookup-df6475ab","name":"supremeai PyPI Package Lookup","description":"Pay-per-call tools for AI agents: x402 pre-flight checks (is this endpoint safe to pay?), web pages as clean markdown (with optional JavaScript rendering), Latin American tax-ID validation, npm/PyPI/GitHub lookups, and URL health checks. No API keys, no accounts — pay per request in USDC.","url":"https://agents.supremeai.ca/v1/pypi/package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"PyPI package name, e.g. 'requests'"}}},"responseSchema":{"type":"json","example":{"name":"requests","latest":"2.34.2","license":"Apache-2.0","summary":"Python HTTP for Humans.","releases":150,"dependencies":4,"requires_python":">=3.9"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SZK2mv9PtrIXybpQne6xZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured metadata for a PyPI package including latest version, license, summary, required Python version, dependency count, homepage, and release count.","exampleAgentPrompt":"Can you look up the PyPI metadata for the 'httpx' package — I want to know its latest version, license, required Python version, and how many dependencies it has?","exampleUseCases":[{"title":"Vetting a new Python dependency","prompt":"Before I add 'pydantic' to my project, can you pull its PyPI info so I can check the license, required Python version, and how many dependencies it brings in?"},{"title":"Auditing open source licenses","prompt":"I need to check whether 'cryptography' on PyPI uses an Apache or MIT license — can you look it up and also tell me the latest version?"},{"title":"Comparing package maturity","prompt":"Can you fetch PyPI metadata for 'aiohttp' so I can see how many total releases it has had and when the latest version was published?"}],"resultDescription":"A structured JSON object containing the package's latest version string, SPDX license identifier, one-line summary description, minimum required Python version, number of declared dependencies, homepage URL, and total number of historical releases on PyPI.","failureModes":["Package name not found on PyPI — returns an error or empty result","Typo in package name causes no-match response","Package exists but has incomplete metadata (e.g. missing license or homepage fields)","PyPI API upstream timeout causing delayed or failed response","Private or yanked packages may return incomplete data"],"whenToPreferThis":"Choose this endpoint when you need a quick, structured snapshot of a PyPI package's metadata in a single call — ideal for dependency vetting, license compliance checks, or Python version compatibility analysis. Prefer it over scraping PyPI manually or calling the raw PyPI JSON API when you need a normalized, agent-friendly response with key fields pre-extracted.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:37:53.757Z","isFirstParty":false,"canonicalSlug":"supremeai-pypi-package-lookup-df6475ab"}