{"uid":"cap_CbqDKhVhuv6oklpPKWibk","slug":"package-download-velocity-npm-pypi-4dbe75e2","name":"Package Download Velocity — npm & PyPI","description":"Real last-week/last-month (npm) or last-day/week/month (PyPI) download counts for any real package name. Pay 0.001 USDC on Base using the fresh PAYMENT-REQUIRED challenge and caller-authorized PAYMENT-SIGNATURE.","url":"https://mcp-x402.onrender.com/x402/package-velocity?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"type":"string"},"queryParams":{"type":"object","required":["ecosystem","package_name"],"properties":{"ecosystem":{"enum":["npm","pypi"],"type":"string"},"package_name":{"type":"string"}}}}},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oahiGVd2kjNtX_yX53rID","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real recent download counts (last day/week/month) for any npm or PyPI package, paid via x402 micropayment.","exampleAgentPrompt":"How many downloads did the 'requests' package get on PyPI last week and last month?","exampleUseCases":[{"title":"Tracking OSS library popularity","prompt":"Can you check how many downloads 'axios' got on npm last week and last month? I want to know if it's still growing."},{"title":"Evaluating a new dependency","prompt":"Before I add 'fastapi' to our Python project, can you pull its PyPI download stats for the last day, week, and month so I can see how actively it's being used?"},{"title":"Monitoring own package growth","prompt":"How is my npm package 'zod' performing? Grab the download counts for last week and last month so I can see the trend."}],"resultDescription":"A JSON object containing recent download counts for the specified package — broken down by time period (last day for PyPI, last week and last month for both npm and PyPI), along with the package name and ecosystem.","failureModes":["Package not found in the specified ecosystem — returns an error or zero counts","Invalid ecosystem value (not 'npm' or 'pypi') — schema validation error","Payment challenge expired or signature invalid — 402 payment required error","Rate limiting or upstream registry API unavailability — service unavailable","Misspelled package name returns no data or wrong package stats"],"whenToPreferThis":"Use this endpoint when you need real, current download statistics for a specific npm or PyPI package and want a simple per-call micropayment model instead of managing API keys or rate limits with the registries directly. It is ideal for agents doing dependency evaluation, OSS health checks, or competitive package analysis on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:15.814Z","isFirstParty":false,"canonicalSlug":"package-download-velocity-npm-pypi-4dbe75e2"}