{"uid":"cap_GgHbDmOjQ-HTgcWfbd1Q3","slug":"package-health-pypi-project-facts-0ce9cbdd","name":"Package Health – PyPI Project Facts","description":"PyPI project facts: latest version, Python requirement, license, release freshness and whether the latest is yanked.","url":"https://package-health.x402tookit.com/pypi-package?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"PyPI project name, e.g. requests"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"name":{"type":["null","string"]},"source":{"type":["null","string"]},"license":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"homePage":{},"releases":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"lastUpload":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"description":{"type":["null","string"]},"firstUpload":{"type":["null","string"]},"yankedLatest":{"type":["boolean","null"]},"latestVersion":{"type":["null","string"]},"requiresPython":{"type":["null","string"]},"dependencyCount":{"type":["null","number"]},"daysSinceLastUpload":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IzRXMdFVF_cvfwc1R5Qwd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns key health metadata for a PyPI package: latest version, Python requirement, license, release freshness, and whether the latest release was yanked.","exampleAgentPrompt":"Can you check the PyPI package health for 'httpx' — I want to know the latest version, whether it's been yanked, what Python version it requires, and when it was last updated?","exampleUseCases":[{"title":"Vetting a new Python dependency","prompt":"Before I add 'pydantic' to my project, can you pull its PyPI facts — latest version, license, Python requirement, and whether the latest release is yanked?"},{"title":"Checking if a package is abandoned","prompt":"I'm worried 'celery' might be going stale — can you look it up on PyPI and tell me how long it's been since the last release and what the health verdict is?"},{"title":"License compliance review","prompt":"I need to know what license 'cryptography' uses on PyPI before we ship it in our product — can you grab that along with the latest version number?"}],"resultDescription":"A JSON object containing: package name, latest version, Python requirement string, SPDX license identifier, upload dates (first and last), days since last upload, total release count, whether the latest version is yanked, a health verdict (e.g. maintained/stale/abandoned), a human-readable summary, reasons behind the verdict, dependency count, home page URL, source repository URL, and an asOf timestamp indicating data freshness.","failureModes":["Package name not found on PyPI — returns null fields or error","PyPI API unavailable — degraded flag set to true with partial data","Yanked release with no reason provided — reasons array empty","Package with no releases — most numeric fields null","Misspelled package name returns empty or irrelevant results"],"whenToPreferThis":"Use this endpoint when you need a quick, single-call summary of a PyPI package's health signals — version, license, freshness, and yank status — without scraping PyPI directly. Prefer it over the multi-ecosystem endpoint when you specifically need PyPI-only data with no overhead. Choose it over the version-history endpoint when you only need the latest release facts rather than a full release timeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:19.209Z","isFirstParty":false,"canonicalSlug":"package-health-pypi-project-facts-0ce9cbdd"}