Firecrawl Alexandria

npm

npm, the JavaScript package registry: full-text and typeahead package search, package documents with dist-tags and version history, per-version dependencies and tarballs, download counts (totals, daily series, per version), dependents and packages by user or organization.

Try npm now.

Choose an example or ask your own question.

npm
TRY ASKING
1Request
stringRequired

Package name as on npm, e.g. `express` or `@types/node` (scoped names unencoded).

string

`last-day`, `last-week`, `last-month`, `last-year`, a single `YYYY-MM-DD` or a `YYYY-MM-DD:YYYY-MM-DD` range (npm caps ranges at 18 months). Counts lag the current day by 1-3 days.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "npmjs-com",
    capability: "packages/get_download_range",
    options: {
      package: "express",
      period: "last-week",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from npm.

end
2026-09-21
observed_at_ms
1790282754576
package
express
period
last-week
source_url
https://api.npmjs.org/downloads/range/last-week/express
start
2026-09-15
total
101489586
daydownloads
0
25426088
0
23305745
13679155
13971133
25107465
Browse the library
//
Get started
//
Give your agent npm.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options