---
title: "Get package downloads"
method: GET
path: "/scopes/{scope}/packages/{package}/downloads"
---

# Get package downloads

`GET /scopes/{scope}/packages/{package}/downloads`

Returns download statistics for a package over the last 90 days

## Path parameters

- `scope` string, required — The name of a scope. This must not be @ prefixed.
- `package` string, required — The name of a package.

## Response `200`

OK

- PackageDownloads
  - `total` DownloadDataPoint[], required — Total download data points for the package.
    - `timeBucket` string, date-time, required — The time bucket for this data point.
    - `kind` 'jsr_meta' | 'npm_tarball', required — The type of download.
    - `count` integer, required — The number of downloads in this time bucket.
  - `recentVersions` object[], required — Download data points for recent versions.
    - `version` string, required — A semantic version.
    - `downloads` DownloadDataPoint[], required
      - `timeBucket` string, date-time, required — The time bucket for this data point.
      - `kind` 'jsr_meta' | 'npm_tarball', required — The type of download.
      - `count` integer, required — The number of downloads in this time bucket.

## Other responses

- `400` — Invalid request
- `404` — Package not found

---

[API](https://skmtc.net/deno/apis/jsr.md) · [All operations](https://skmtc.net/deno/apis/jsr/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deno/jsr/versions/3d37ac9b68f7/schema)
