{"openapi":"3.1.0","info":{"title":"Package Health","version":"1.0.0","description":"Open-source package health for npm, PyPI, Go, Maven, Cargo and NuGet computed from deps.dev, the npm downloads API and the PyPI JSON API: is it maintained, deprecated, copyleft, heavy, or built with provenance. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Package Health answers one question per call about an open-source package before an agent installs it: is it still maintained or likely abandoned (/package-health), what license class is it and does that conflict with commercial use (/package-license), how many transitive dependencies does it pull in (/package-deps), does the build carry provenance attestations (/package-provenance), is a PyPI release yanked (/pypi-yanked), how popular is it (/npm-downloads). Pass system as npm, pypi, go, maven, cargo or nuget. Each paid GET returns a computed verdict (such as ACTIVE, ABANDONED_RISK or STRONG_COPYLEFT) with the reasons, the source and what was NOT checked. Health signals are heuristics from public metadata, not a security audit; use the vulnerability shelf for advisories. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://package-health.x402tookit.com"}],"paths":{"/npm-downloads":{"get":{"operationId":"npm_downloads","summary":"npm package adoption: downloads last week and month, plus trend within the month and a popularity band.","description":"npm package adoption: downloads last week and month, plus trend within the month and a popularity band.","tags":["npm","downloads","popularity"],"parameters":[{"name":"name","in":"query","required":true,"description":"npm package name, e.g. express or @types/node","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"name":{"type":["null","string"]},"lastWeek":{"type":["null","number"]},"lastMonth":{"type":["null","number"]},"trendWithinMonthPct":{"type":["null","number"]},"band":{"type":["null","string"]},"thresholds":{"type":["null","object"],"properties":{"veryPopularWeekly":{"type":["null","number"]},"popularWeekly":{"type":["null","number"]},"moderateWeekly":{"type":["null","number"]},"lowWeekly":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"VERY_POPULAR","summary":"express: 143,244,952 downloads last week, 637,720,447 last month; second half of the month +10.5% vs the first.","reasons":["Downloads include CI and mirrors, so they overstate human users; they still separate popular from unused packages."],"name":"express","lastWeek":143244952,"lastMonth":637720447,"trendWithinMonthPct":10.5,"band":"VERY_POPULAR","thresholds":{"veryPopularWeekly":1000000,"popularWeekly":50000,"moderateWeekly":1000,"lowWeekly":50},"degraded":false,"notChecked":["unique users","dependents count","…1 more"],"source":"npm downloads API","sourceUrl":"https://api.npmjs.org/downloads","asOf":"2026-10-11T03:34:59.702Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/npm-downloads"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/npm-downloads"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/npm-downloads"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/npm-downloads"}}]}}},"/package-deps":{"get":{"operationId":"package_deps","summary":"Dependency weight of a package version: direct and transitive dependency counts and a light/moderate/heavy verdict.","description":"Dependency weight of a package version: direct and transitive dependency counts and a light/moderate/heavy verdict.","tags":["packages","dependencies","supply-chain"],"parameters":[{"name":"system","in":"query","required":true,"description":"npm, pypi, go, maven, cargo or nuget","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Package name","schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"Version; default is the registry's default version","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"system":{"type":["null","string"]},"name":{"type":["null","string"]},"version":{"type":["null","string"]},"direct":{"type":["null","number"]},"transitive":{"type":["null","number"]},"distinctPackages":{"type":["null","number"]},"unresolvedNodes":{"type":["null","number"]},"thresholds":{"type":["null","object"],"properties":{"lightUpTo":{"type":["null","number"]},"moderateUpTo":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"HEAVY","summary":"express@4.19.2: 31 direct and 39 transitive dependencies (69 distinct packages).","reasons":["Every extra dependency is extra supply-chain surface: each one is code and maintainers you also trust.","Graph resolved without errors."],"system":"npm","name":"express","version":"4.19.2","direct":31,"transitive":39,"distinctPackages":69,"unresolvedNodes":0,"thresholds":{"lightUpTo":10,"moderateUpTo":60},"degraded":false,"notChecked":["the health or vulnerabilities of each dependency","optional and dev dependencies not in the resolved graph"],"source":"deps.dev","sourceUrl":"https://api.deps.dev","asOf":"2026-10-11T03:35:00.252Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-deps"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-deps"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-deps"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-deps"}}]}}},"/package-health":{"get":{"operationId":"package_health","summary":"Package health for npm, PyPI, Go, Maven, Cargo or NuGet: maintained, stale or abandoned, deprecation, license, adoption.","description":"Package health for npm, PyPI, Go, Maven, Cargo or NuGet: maintained, stale or abandoned, deprecation, license, adoption.","tags":["packages","maintenance","supply-chain"],"parameters":[{"name":"system","in":"query","required":true,"description":"npm, pypi, go, maven, cargo or nuget","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Package name, e.g. express","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"system":{"type":["null","string"]},"name":{"type":["null","string"]},"defaultVersion":{"type":["null","string"]},"versions":{"type":["null","number"]},"firstPublished":{"type":["null","string"]},"lastReleased":{"type":["null","string"]},"daysSinceLastRelease":{"type":["null","number"]},"ageDays":{"type":["null","number"]},"medianDaysBetweenRecentReleases":{"type":["null","number"]},"deprecated":{"type":["boolean","null"]},"license":{"type":["null","object"],"properties":{"cls":{"type":["null","string"]},"ids":{"type":["array","null"],"items":{"type":"string"}}}},"advisoriesOnDefaultVersion":{"type":["null","number"]},"weeklyDownloads":{"type":["null","number"]},"thresholds":{"type":["null","object"],"properties":{"staleAfterDays":{"type":["null","number"]},"abandonedAfterDays":{"type":["null","number"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ACTIVE","summary":"express (npm): active. Last release 1 days ago. 290 versions since 2010-12-29; 143,244,952 downloads last week.","reasons":["Last release 1 days ago.","License: MIT (permissive).","…1 more"],"system":"npm","name":"express","defaultVersion":"5.3.0","versions":290,"firstPublished":"2010-12-29T19:38:25Z","lastReleased":"2026-10-09T12:56:54Z","daysSinceLastRelease":1,"ageDays":5764,"medianDaysBetweenRecentReleases":58,"deprecated":false,"license":{"cls":"PERMISSIVE","ids":["MIT"]},"advisoriesOnDefaultVersion":0,"weeklyDownloads":143244952,"thresholds":{"staleAfterDays":365,"abandonedAfterDays":730},"degraded":false,"notChecked":["code quality or security (see the vulnerability shelf)","maintainer identity or account takeover","…2 more"],"source":"deps.dev + npm downloads API","sourceUrl":"https://api.deps.dev","asOf":"2026-10-11T03:35:00.671Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0300"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-health"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-health"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-health"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-health"}}]}}},"/package-license":{"get":{"operationId":"package_license","summary":"License of a package version classed as permissive, weak, strong or network copyleft, with commercial-use notes.","description":"License of a package version classed as permissive, weak, strong or network copyleft, with commercial-use notes.","tags":["packages","license","compliance"],"parameters":[{"name":"system","in":"query","required":true,"description":"npm, pypi, go, maven, cargo or nuget","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Package name","schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"Version; default is the registry's default version","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"system":{"type":["null","string"]},"name":{"type":["null","string"]},"version":{"type":["null","string"]},"licenseIds":{"type":["array","null"],"items":{"type":"string"}},"licenseClass":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"PERMISSIVE","summary":"express@4.19.2: MIT (permissive).","reasons":["Permissive: generally usable in closed-source commercial software with attribution.","For an OR expression the most restrictive option is reported; you may be able to choose a looser one."],"system":"npm","name":"express","version":"4.19.2","licenseIds":["MIT"],"licenseClass":"PERMISSIVE","degraded":false,"notChecked":["the license text","licenses of dependencies","…2 more"],"source":"deps.dev","sourceUrl":"https://api.deps.dev","asOf":"2026-10-11T03:35:01.021Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-license"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-license"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-license"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-license"}}]}}},"/package-provenance":{"get":{"operationId":"package_provenance","summary":"Does a package version carry build provenance (SLSA/sigstore attestations)? Signals a verifiable build, not safety.","description":"Does a package version carry build provenance (SLSA/sigstore attestations)? Signals a verifiable build, not safety.","tags":["packages","provenance","slsa","supply-chain"],"parameters":[{"name":"system","in":"query","required":true,"description":"npm, pypi, go, maven, cargo or nuget","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Package name","schema":{"type":"string"}},{"name":"version","in":"query","required":false,"description":"Version; default is the registry's default version","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"system":{"type":["null","string"]},"name":{"type":["null","string"]},"version":{"type":["null","string"]},"slsaProvenances":{"type":["null","number"]},"attestations":{"type":["null","number"]},"relatedProjects":{"type":["array","null"],"items":{"type":"string"}},"publishedAt":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"NO_PROVENANCE_PUBLISHED","summary":"express@4.19.2: 0 SLSA provenance(s), 0 attestation(s).","reasons":["No provenance was found. Most packages still publish none; its absence is common and not a sign of malice.","Provenance proves where a build came from, not that the code is safe."],"system":"npm","name":"express","version":"4.19.2","slsaProvenances":0,"attestations":0,"relatedProjects":["github.com/expressjs/express","github.com/expressjs/express"],"publishedAt":"2024-03-25T14:30:36Z","degraded":false,"notChecked":["verifying the signatures","what the source code does","…1 more"],"source":"deps.dev","sourceUrl":"https://api.deps.dev","asOf":"2026-10-11T03:35:01.349Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-provenance"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-provenance"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-provenance"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-provenance"}}]}}},"/package-versions":{"get":{"operationId":"package_versions","summary":"Recent versions of a package with publish dates, deprecation flags and release cadence in days between releases.","description":"Recent versions of a package with publish dates, deprecation flags and release cadence in days between releases.","tags":["packages","versions","release-cadence"],"parameters":[{"name":"system","in":"query","required":true,"description":"npm, pypi, go, maven, cargo or nuget","schema":{"type":"string"}},{"name":"name","in":"query","required":true,"description":"Package name","schema":{"type":"string"}},{"name":"n","in":"query","required":false,"description":"How many recent versions, 1 to 30, default 10","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"total":{"type":["null","number"]},"medianDaysBetweenReleases":{"type":["null","number"]},"daysSinceLastRelease":{"type":["null","number"]},"recent":{"type":["array","null"],"items":{"type":"object","properties":{"version":{"type":["null","string"]},"publishedAt":{"type":["null","string"]},"deprecated":{"type":["boolean","null"]},"isDefault":{"type":["boolean","null"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"REGULAR_RELEASES","summary":"161 versions; newest 2.34.2 (149 days ago); median gap between the last 10 releases 8 days.","reasons":["Release rhythm matches recent history."],"total":161,"medianDaysBetweenReleases":8,"daysSinceLastRelease":149,"recent":[{"version":"2.34.2","publishedAt":"2026-05-14T19:25:26Z","deprecated":false,"isDefault":true},{"version":"2.34.1","publishedAt":"2026-05-13T19:20:22Z","deprecated":false,"isDefault":false}],"degraded":false,"notChecked":["what changed in each release","yanked versions on PyPI (see /pypi-yanked)"],"source":"deps.dev","sourceUrl":"https://api.deps.dev","asOf":"2026-10-11T03:35:01.660Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-versions"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-versions"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-versions"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/package-versions"}}]}}},"/pypi-package":{"get":{"operationId":"pypi_package","summary":"PyPI project facts: latest version, Python requirement, license, release freshness and whether the latest is yanked.","description":"PyPI project facts: latest version, Python requirement, license, release freshness and whether the latest is yanked.","tags":["pypi","python","packages"],"parameters":[{"name":"name","in":"query","required":true,"description":"PyPI project name, e.g. requests","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"name":{"type":["null","string"]},"latestVersion":{"type":["null","string"]},"description":{"type":["null","string"]},"requiresPython":{"type":["null","string"]},"license":{"type":["null","string"]},"releases":{"type":["null","number"]},"firstUpload":{"type":["null","string"]},"lastUpload":{"type":["null","string"]},"daysSinceLastUpload":{"type":["null","number"]},"yankedLatest":{"type":["boolean","null"]},"homePage":{},"dependencyCount":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ACTIVE","summary":"requests 2.34.2: active; last upload 2026-05-14 (149 days ago), 163 releases.","reasons":["Latest version is not yanked.","Release frequency is a proxy for maintenance."],"name":"requests","latestVersion":"2.34.2","description":"Python HTTP for Humans.","requiresPython":">=3.10","license":"Apache-2.0","releases":163,"firstUpload":"2011-02-14T08:49:42.641660Z","lastUpload":"2026-05-14T19:25:27.735762Z","daysSinceLastUpload":149,"yankedLatest":false,"homePage":null,"dependencyCount":6,"degraded":false,"notChecked":["security advisories (see the vulnerability shelf)","download counts","…1 more"],"source":"PyPI JSON API","sourceUrl":"https://pypi.org/pypi","asOf":"2026-10-11T03:35:01.974Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-package"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-package"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-package"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-package"}}]}}},"/pypi-yanked":{"get":{"operationId":"pypi_yanked","summary":"Was a PyPI release yanked? Exact version check with the maintainer's reason, upload date and file count.","description":"Was a PyPI release yanked? Exact version check with the maintainer's reason, upload date and file count.","tags":["pypi","yanked","python"],"parameters":[{"name":"name","in":"query","required":true,"description":"PyPI project name","schema":{"type":"string"}},{"name":"version","in":"query","required":true,"description":"Exact version, e.g. 2.19.0","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"name":{"type":["null","string"]},"version":{"type":["null","string"]},"yanked":{"type":["boolean","null"]},"yankedReason":{},"uploaded":{"type":["null","string"]},"files":{"type":["null","number"]},"requiresPython":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"NOT_YANKED","summary":"requests 2.19.0 is not yanked.","reasons":["Available for normal installation."],"name":"requests","version":"2.19.0","yanked":false,"yankedReason":null,"uploaded":"2018-06-12T14:46:15.289074Z","files":2,"requiresPython":">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*","degraded":false,"notChecked":["security advisories for this version","whether the files were later tampered with"],"source":"PyPI JSON API","sourceUrl":"https://pypi.org/pypi","asOf":"2026-10-11T03:35:02.278Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-yanked"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-yanked"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-yanked"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://package-health.x402tookit.com/pypi-yanked"}}]}}}}}