{"slug":"gateway-stride20k-com-dev-pypi-packagename-cdd917","title":"PyPI package health API","host":"gateway.stride20k.com","method":"GET","resource":"https://gateway.stride20k.com/dev/pypi/:packageName","category":"code","description":"PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — latest version, upload time, total releases, yank status, declared dependency count, requires-python constraint, license, summary, and weekly downloads (pypistats). Names are PEP 503-normalized (dots/underscores/hyph","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","pathParams":{"packageName":"requests"},"queryParams":{},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"pathParams":{"properties":{"packageName":{"description":"PyPI package name (PEP 503 normalized, e.g. 'requests', 'scikit-learn').","normalize":"lower","pattern":"[A-Za-z0-9]([A-Za-z0-9._-]*[A-Za-z0-9])?","type":"string"}},"required":["packageName"],"type":"object"},"queryParams":{"properties":{},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"dependencyCount":{"description":"Declared requires_dist entries for the latest release.","type":"integer"},"latestUploadedAt":{"description":"Upload time of the newest release files, ISO 8601.","type":"string"},"latestVersion":{"description":"Current release version.","type":"string"},"license":{"description":"Declared license (truncated to 120 chars), or null.","type":"string"},"package":{"description":"Canonical package name.","type":"string"},"requiresPython":{"description":"requires-python constraint (e.g. '>=3.10'), or null.","type":"string"},"summary":{"description":"One-line package summary.","type":"string"},"versionCount":{"description":"Total published releases.","type":"integer"},"weeklyDownloads":{"description":"Downloads in the last 7 days, or null if unavailable.","type":"integer"},"yanked":{"description":"Whether the latest release is yanked.","type":"boolean"}},"required":["package","latestVersion","yanked"],"type":"object"},"endpoint":{"description":"Always \"/dev/pypi/:packageName\".","type":"string"},"meta":{"properties":{"attribution":{"description":"Licensing attribution when the source requires it.","type":["string","null"]},"cached":{"description":"Whether this response was served from cache.","type":"boolean"},"fetchedAt":{"description":"ISO 8601 time the data was actually retrieved from the upstream.","type":"string"},"source":{"description":"Upstream source: PyPI JSON API + pypistats.","type":"string"}},"required":["source","cached","fetchedAt"],"type":"object"},"ok":{"description":"true on success.","type":"boolean"}},"required":["ok","endpoint","data","meta"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":20,"error":null}],"description_full":"PyPI package health API: dependency-hygiene facts from the official PyPI JSON API — latest version, upload time, total releases, yank status, declared dependency count, requires-python constraint, license, summary, and weekly downloads (pypistats). Names are PEP 503-normalized (dots/underscores/hyphens equivalent). Use for auditing requirements.txt and pyproject.toml, supply-chain security checks, and version freshness agents. Cached up to 1 hour per package.","last_updated":"2026-08-30T12:06:44.526Z","schemes":["exact"]}