{"uid":"cap_FHsQYCKnG8522Yq010jZr","slug":"foundry-pypi-package-info-4744c759","name":"Foundry PyPI Package Info","description":"PyPI package info: latest version, license, Python requirement and recent downloads. Input: a package name.","url":"https://minty-sprout.onrender.com/v1/pypi-package?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"A PyPI package name"}}},"responseSchema":{"type":"json","example":{"name":"httpx","license":"BSD-3-Clause","summary":"The next generation HTTP client.","version":"0.28.1","home_page":"https://github.com/encode/httpx","requires_python":">=3.8","downloads_last_week":178937914,"downloads_last_month":618500392}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GzSScUOa_GGOS_LtsHOjE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves PyPI package metadata including latest version, license, Python requirement, and recent download counts for a given package name.","exampleAgentPrompt":"What's the latest version of the requests library on PyPI, what license does it use, and how many downloads did it get last week?","exampleUseCases":[{"title":"Dependency audit for open source compliance","prompt":"I need to check the license for the cryptography package on PyPI — can you look it up so I can confirm it's compatible with our project?"},{"title":"Popularity check before adopting a library","prompt":"Before we add httpx to our stack, can you pull its PyPI stats? I want to know the current version, how many downloads it got last month, and what Python versions it supports."},{"title":"Automated release monitoring for a package","prompt":"What's the current published version of pydantic on PyPI right now? I want to compare it against what we have pinned in our requirements file."}],"resultDescription":"Returns a JSON object with the package's canonical name, latest version string, SPDX license identifier, one-line summary description, home page URL, minimum Python version requirement, download count for the last week, and download count for the last month.","failureModes":["Package name not found on PyPI — returns an error or empty result","Typo in package name yields no match","PyPI API unavailable or rate-limited — upstream failure","Private or unlisted packages return no data","Package exists but has no license or Python requirement metadata — fields may be null"],"whenToPreferThis":"Use this endpoint when you need quick, structured PyPI metadata — version, license, download stats, and Python compatibility — for a single package without scraping PyPI directly or parsing RSS feeds. Prefer it over web search when you need machine-readable fields like download counts or SPDX license identifiers for automation, compliance checks, or dependency audits.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.620Z","isFirstParty":false,"canonicalSlug":"foundry-pypi-package-info-4744c759"}