---
title: "get a version of a package"
method: GET
path: "/registries/{registryName}/packages/{packageName}/versions/{versionNumber}"
tags: ["packages"]
---

# get a version of a package

`GET /registries/{registryName}/packages/{packageName}/versions/{versionNumber}`

## Request

- Base URL: `https://packages.ecosyste.ms/api/v1`
- URL: `https://packages.ecosyste.ms/api/v1/registries/{registryName}/packages/{packageName}/versions/{versionNumber}`
- Auth: none declared

## Path parameters

- `registryName` string, required
- `packageName` string, required
- `versionNumber` string, required

## Response `200`

OK

- VersionWithDependencies
  - `id` integer
  - `number` string, required
  - `published_at` string, nullable, required
  - `licenses` string, nullable, required
  - `integrity` string, nullable, required
  - `status` string, nullable, required
  - `download_url` string, nullable, required
  - `registry_url` string, nullable, required
  - `documentation_url` string, nullable, required
  - `install_command` string, nullable, required
  - `metadata` object, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `purl` string, required
  - `version_url` string, required
  - `codemeta_url` string, required
  - `related_tag` object, required
  - `latest` boolean, required
  - `dependencies` Dependency[], required
    - `id` integer, required
    - `ecosystem` string, required
    - `package_name` string, required
    - `requirements` string, nullable, required
    - `kind` string, nullable, required
    - `optional` boolean, nullable, required
  - `advisories` VersionAdvisory[], required
    - `uuid` string, nullable
    - `identifiers` string[], required
    - `url` string, nullable
    - `title` string, nullable
    - `severity` string, nullable
    - `affected` boolean, required
    - `fixed` boolean, required
    - `fixed_versions` string[], required

## Changes

- **2026-10-14** (v1) `8ab05a729410`: 1 info
  - added the required property `advisories` to the response with the `200` status
- **2025-11-22** (v1) `7acaf0550652`: 1 info
  - added the required property `codemeta_url` to the response with the `200` status
- **2024-05-13** (v1) `275884c3101a`: 4 info
  - added the optional property `id` to the response with the `200` status
  - added the required property `latest` to the response with the `200` status
  - added the required property `related_tag` to the response with the `200` status
  - added the required property `version_url` to the response with the `200` status
- **2024-05-13** (v1) `5fcad531d65a`: 1 info
  - added the required property `dependencies/items/id` to the response with the `200` status
- **2023-04-12** (v1) `f34896f8c36a`: 1 info
  - added the required property `dependencies/items/ecosystem` to the response with the `200` status

[Operation history](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/changes/registries/:registryName/packages/:packageName/versions/:versionNumber/get.md)

---

[API](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages.md) - [All operations](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/llms.txt) - [OpenAPI document](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-packages/revisions/b8fcfcb60191?raw)
