npm_downloads
$0.09 via x402: download counts for any npm package over the last day/week/month. Live from the npm registry stats API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package": "<package>"
},
"name": "npm_downloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | last-day|last-week|last-month | |
| package | Yes | ||
| x_payment | No |