---
title: "List package versions"
method: GET
path: "/scopes/{scope}/packages/{package}/versions"
---

# List package versions

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

Returns a list of versions of a package

## 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

- PackageVersion[]
  - `scope` string, required — The name of a scope. This must not be @ prefixed.
  - `package` string — The name of a package.
  - `version` string, required — A semantic version.
  - `yanked` boolean, required — Whether the version has been yanked.
  - `createdAt` string, date-time, required — The date and time when the package version was created.
  - `updatedAt` string, date-time, required — The date and time when the package version was last updated.
  - `rekorLogId` string — Rekor log ID for the published package version.

## Other responses

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

## Changes

- **2024-07-03** `bdf10fdaec39` — 1 breaking, 2 info
  - removed the required property `items/name` from the response with the `200` status
  - added the optional property `items/package` to the response with the `200` status
  - added the optional property `items/rekorLogId` to the response with the `200` status
- **2024-02-28** `f8d3b912d946` — 4 breaking, 5 warning, 2 info
  - removed the required property `items/lifetimeDownloadCount` from the response with the `200` status
  - removed the required property `items/newerVersionsCount` from the response with the `200` status
  - removed the required property `items/package` from the response with the `200` status
  - removed the required property `items/usesNpm` from the response with the `200` status
  - …7 more

[Change history](https://skmtc.dev/jsr-io/apis/jsr-api/changes/scopes/:scope/packages/:package/versions/get.md)

---

[API](https://skmtc.dev/jsr-io/apis/jsr-api.md) · [All operations](https://skmtc.dev/jsr-io/apis/jsr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jsr-io/jsr-api/revisions/bdf10fdaec39/schema)
