---
title: "Get package usage for a package"
method: GET
path: "/usage/{ecosystem}/{package}"
---

# Get package usage for a package

`GET /usage/{ecosystem}/{package}`

## Request

- Base URL: `https://repos.ecosyste.ms/api/v1`
- URL: `https://repos.ecosyste.ms/api/v1/usage/{ecosystem}/{package}`
- Auth: none declared

## Path parameters

- `ecosystem` string, required
- `package` string, required

## Response `200`

OK

- PackageUsage
  - `ecosystem` string
  - `name` string
  - `dependents_count` integer
  - `package_usage_url` string
  - `dependencies_url` string

## Changes

- **2023-06-06** (v1) `f56c0b81a032`: 3 warning
  - removed the optional property `direct` from the response with the `200` status
  - removed the optional property `kind` from the response with the `200` status
  - removed the optional property `requirements` from the response with the `200` status
- **2023-01-07** (v1) `9df218e4d00b`: 1 info
  - added the optional property `dependencies_url` to the response with the `200` status
- **2022-10-03** (v1) `f5557474c590`: 1 info
  - endpoint added
- **2022-08-18** (v1) `7ded108004e5`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/ecosyste-ms/apis/ecosyste-ms-repos/changes/usage/:ecosystem/:package/get.md)

---

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