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

# Get package usage for an ecosystem

`GET /usage/{ecosystem}`

## Request

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

## Path parameters

- `ecosystem` string, required

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

OK

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

## Changes

- **2025-11-26** (v1) `db9ac1a2c1c4`: 2 info
  - added the new optional `query` request parameter `page`
  - added the new optional `query` request parameter `per_page`
- **2023-06-06** (v1) `f56c0b81a032`: 3 warning
  - removed the optional property `items/direct` from the response with the `200` status
  - removed the optional property `items/kind` from the response with the `200` status
  - removed the optional property `items/requirements` from the response with the `200` status
- **2023-01-07** (v1) `9df218e4d00b`: 1 info
  - added the optional property `items/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/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)
