Get npm and PyPI package downloads and release stats
get_package_adoptionFetches npm and PyPI package download trends, versions, release dates, licenses, and deprecation data to compare adoption and maintenance status.
Instructions
Give npm or PyPI package names. Returns one row per package from the public registry APIs: downloads for the last day, 7, 30, 180, and 365 days, the 30 day trend against the prior 30 days, monthly totals, latest version, first and latest release dates, releases in the last 12 months, license, repository, homepage, maintainers count, deprecation, runtime requirement, dependencies count, and keywords. Pay per event on Apify: 0.003 USD per package row.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_package_adoption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npm_packages | No | npm package names or npmjs.com package URLs, for example express, @angular/core, or https://www.npmjs.com/package/react. One per line; one line can hold several names separated by commas. In Clay, put the column inside a one item list. | |
| pypi_packages | No | PyPI package names or pypi.org project URLs, for example requests, django, or https://pypi.org/project/httpx/. One per line; one line can hold several names separated by commas. | |
| max_charge_usd | No | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |