{"api":{"id":"api_db837a1ecf0a3cfab48714c2","slug":"pypi-package-stats","name":"PyPI Package Info and Downloads API","description":"One record per Python package on PyPI: latest version, summary, licence, Python requirement, release count and date, plus recent daily, weekly and monthly download counts.","kind":"ready_made","visibility":"public","domain":"pypi.org","source_url":"https://pypi.org/pypi/{package}/json","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":13,"created_at":"2026-12-06T04:45:48.392Z","updated_at":"2026-12-06T04:45:48.392Z","runnable":true},"version":"1.0","contract_hash":"094e17c7d9e55e616115f3c1e44fe40f73db65d37c073bd0887c81cd0bc2e35c","fields":[{"name":"name","type":"string","description":"Package name as registered on PyPI.","required":true,"coverage":1,"example":"requests"},{"name":"url","type":"url","description":"The package's PyPI page.","required":false,"coverage":1,"example":"https://pypi.org/project/requests/"},{"name":"latest_version","type":"string","description":"Latest released version.","required":false,"coverage":1,"example":"2.34.2"},{"name":"summary","type":"string","description":"One-line description from the package metadata.","required":false,"coverage":1,"example":"Python HTTP for Humans."},{"name":"license","type":"string","description":"Licence as declared by the maintainers (short text).","required":false,"coverage":1,"example":"Apache-2.0"},{"name":"requires_python","type":"string","description":"Python version requirement, such as >=3.9.","required":false,"coverage":1,"example":">=3.10"},{"name":"release_count","type":"integer","description":"Number of released versions.","required":false,"coverage":1,"example":163},{"name":"last_release_at","type":"datetime","description":"When the latest file was uploaded (UTC).","required":false,"coverage":1,"example":"2026-05-14T19:25:27.735Z"},{"name":"downloads_day","type":"integer","description":"Downloads in the last day.","required":false,"coverage":1,"example":37836413},{"name":"downloads_week","type":"integer","description":"Downloads in the last week.","required":false,"coverage":1,"example":353309694},{"name":"downloads_month","type":"integer","description":"Downloads in the last 30 days.","required":false,"coverage":1,"example":1465092453},{"name":"home_page","type":"url","description":"The project's home page link.","required":false,"coverage":0.33,"example":"https://github.com/encode/httpx"},{"name":"project_urls","type":"object","description":"Named project links such as Source, Documentation and Issues.","required":false,"coverage":1,"example":{"Documentation":"https://requests.readthedocs.io","Source":"https://github.com/psf/requests"}}],"inputs":[{"name":"packages","type":"array","description":"PyPI package names to look up.","example":["requests","httpx"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"downloads_day":{"description":"Downloads in the last day.","type":"integer"},"downloads_month":{"description":"Downloads in the last 30 days.","type":"integer"},"downloads_week":{"description":"Downloads in the last week.","type":"integer"},"home_page":{"description":"The project's home page link.","format":"uri","type":"string"},"last_release_at":{"description":"When the latest file was uploaded (UTC).","format":"date-time","type":"string"},"latest_version":{"description":"Latest released version.","type":"string"},"license":{"description":"Licence as declared by the maintainers (short text).","type":"string"},"name":{"description":"Package name as registered on PyPI.","type":"string"},"project_urls":{"description":"Named project links such as Source, Documentation and Issues.","type":"object"},"release_count":{"description":"Number of released versions.","type":"integer"},"requires_python":{"description":"Python version requirement, such as >=3.9.","type":"string"},"summary":{"description":"One-line description from the package metadata.","type":"string"},"url":{"description":"The package's PyPI page.","format":"uri","type":"string"}},"required":["name"],"title":"PyPI Package Info and Downloads API","type":"object"},"samples":[{"name":"requests","url":"https://pypi.org/project/requests/","latest_version":"2.34.2","summary":"Python HTTP for Humans.","license":"Apache-2.0","requires_python":">=3.10","release_count":163,"last_release_at":"2026-05-14T19:25:27.735Z","downloads_day":37836413,"downloads_week":353309694,"downloads_month":1465092453,"home_page":null,"project_urls":{"Documentation":"https://requests.readthedocs.io","Source":"https://github.com/psf/requests"}},{"name":"httpx","url":"https://pypi.org/project/httpx/","latest_version":"0.29.0","summary":"The next generation HTTP client.","license":"BSD-3-Clause","requires_python":">=3.10","release_count":78,"last_release_at":"2026-11-26T15:58:37.028Z","downloads_day":24623294,"downloads_week":227865572,"downloads_month":859262662,"home_page":"https://github.com/encode/httpx","project_urls":{"Changelog":"https://github.com/encode/httpx/blob/master/CHANGELOG.md","Documentation":"https://www.python-httpx.org","Homepage":"https://github.com/encode/httpx","Source":"https://github.com/encode/httpx"}},{"name":"Flask","url":"https://pypi.org/project/Flask/","latest_version":"3.1.3","summary":"A simple framework for building complex web applications.","license":"BSD-3-Clause","requires_python":">=3.9","release_count":64,"last_release_at":"2026-02-19T05:00:57.678Z","downloads_day":3945059,"downloads_week":37877919,"downloads_month":169023765,"home_page":null,"project_urls":{"Changes":"https://flask.palletsprojects.com/page/changes/","Chat":"https://discord.gg/pallets","Documentation":"https://flask.palletsprojects.com/","Donate":"https://palletsprojects.com/donate","Source":"https://github.com/pallets/flask/"}}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"downloads_day":1,"downloads_month":1,"downloads_week":1,"home_page":0.33,"last_release_at":1,"latest_version":1,"license":1,"name":1,"project_urls":1,"release_count":1,"requires_python":1,"summary":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.392Z","activated_at":"2026-12-06T04:45:48.392Z","active":true,"contract_hash":"094e17c7d9e55e616115f3c1e44fe40f73db65d37c073bd0887c81cd0bc2e35c","fields_count":13}]}