PyPI downloads API

Download counts for one PyPI package, as a total or a per-day series.

Ask your agent

“Call pypi/downloads with name requests and summarize what comes back.”

Works in any MCP client connected to https://data.openkrill.app/mcp. Install in one line.

Path
pypi/downloads
MCP tool
call_endpoint
Credits
1
Cache
30 min

Parameters

namestring, requiredPackage name, such as requests or better-sqlite3
periodstring, optionalday, week or month, default week
seriesstring, optionaltrue returns one row per day instead of a total

Response

data.resources[] uses the same keys as every other platform: author, engagement, metadata, with PyPI-only fields under extras. A failed upstream call is never billed.

More PyPI tools

Same downloads call on other platforms

PyPI downloads API | KrillData