{"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,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","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},"links":{"run":"https://pullrow.dev/v1/apis/api_db837a1ecf0a3cfab48714c2/run","openapi":"https://pullrow.dev/v1/apis/api_db837a1ecf0a3cfab48714c2/openapi.json","contract":"https://pullrow.dev/v1/apis/api_db837a1ecf0a3cfab48714c2/contract.json","page":"https://pullrow.dev/catalog/pypi-package-stats"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["You supply the package names; the API does not search or list PyPI, and at most 200 packages are read per run.","Download counts come from pypistats.org and cover the last day, week and month only; they exclude mirrors and can lag by a day. They are null when pypistats has no data for a package.","Requests are spaced out to respect the modest rate pypistats asks for, so a run takes about one second per package.","A package name that does not exist on PyPI is skipped.","Package metadata is as the maintainers published it: licence and home page are often empty or free text."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"name","label":"Name","description":"Package name as registered on PyPI.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The package's PyPI page.","group":"Links","shown":true,"written":false},{"name":"latest_version","label":"Latest released version","description":"","group":"Basics","shown":true,"written":false},{"name":"summary","label":"Summary","description":"One-line description from the package metadata.","group":"Basics","shown":true,"written":false},{"name":"license","label":"License","description":"Licence as declared by the maintainers (short text).","group":"Basics","shown":true,"written":false},{"name":"requires_python","label":"Requires python","description":"Python version requirement, such as >=3.9.","group":"Basics","shown":true,"written":false},{"name":"release_count","label":"Release count","description":"Number of released versions.","group":"Basics","shown":true,"written":false},{"name":"last_release_at","label":"Last release at","description":"When the latest file was uploaded (UTC).","group":"Dates","shown":true,"written":false},{"name":"downloads_day","label":"Downloads day","description":"Downloads in the last day.","group":"Basics","shown":true,"written":false},{"name":"downloads_week","label":"Downloads week","description":"Downloads in the last week.","group":"Basics","shown":true,"written":false},{"name":"downloads_month","label":"Downloads month","description":"Downloads in the last 30 days.","group":"Basics","shown":true,"written":false},{"name":"home_page","label":"Home page","description":"The project's home page link.","group":"Links","shown":true,"written":false},{"name":"project_urls","label":"Project links","description":"Named project links such as Source, Documentation and Issues.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"packages","label":"Packages","help":"PyPI package names to look up.","example":"requests, httpx","written":false}]}},"incidents":[]}