---
title: "List the dependencies of a package version"
method: GET
path: "/scopes/{scope}/packages/{package}/versions/{version}/dependencies"
---

# List the dependencies of a package version

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

Returns a list of dependencies 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.
- `version` string, required — A semantic version.

## Response `200`

OK

- Dependency[]
  - `kind` 'jsr' | 'npm', required — The kind of dependency.
  - `name` string, required — The fully qualified name of the dependency.
  - `constraint` string, required — The semver constraint of the dependency.
  - `path` string, required — The path being imported from the dependency. This may be the empty string if the "default entrypoint" is being imported.

## Other responses

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

## Changes

- **2026-02-06** `0c4e8d8a5c2a` — 2 warning
  - changed the pattern of the `path` request parameter `package` from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$`
  - changed the pattern of the `path` request parameter `scope` from `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` to `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$`
- **2024-02-28** `f8d3b912d946` — 2 warning
  - changed the pattern of the `path` request parameter `package` from `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$` to `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/`
  - changed the pattern of the `path` request parameter `scope` from `^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$` to `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/`

[Change history](https://skmtc.dev/jsr-io/apis/jsr-api/changes/scopes/:scope/packages/:package/versions/:version/dependencies/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/abb153728b13/schema)
