---
title: "Get stats"
method: GET
path: "/stats"
---

# Get stats

`GET /stats`

Returns stats about the registry

## Response `200`

OK

- Stats
  - `newest` Package[], required — The newest packages.
    - `scope` string, required — The name of a scope. This must not be @ prefixed.
    - `name` string, required — The name of a package.
    - `description` string, required — The description of the package.
    - `runtimeCompat` RuntimeCompat
      - `browser` boolean, nullable — Whether the package is compatible with web browsers.
      - `deno` boolean, nullable — Whether the package is compatible with Deno.
      - `node` boolean, nullable — Whether the package is compatible with Node.js.
      - `workerd` boolean, nullable — Whether the package is compatible with workerd.
      - `bun` boolean, nullable — Whether the package is compatible with Bun.
    - `createdAt` string, date-time, required — The date and time when the package was created.
    - `updatedAt` string, date-time, required — The date and time when the package was last updated.
    - `githubRepository` GitHubRepository
      - `id` integer, required — The GitHub repository ID.
      - `owner` string, required — The GitHub user / organization of the repository.
      - `name` string, required — The GitHub repository name.
      - `createdAt` string, date-time, required — The date and time when the GitHub repository link was created.
      - `updatedAt` string, date-time, required — The date and time when the GitHub repository link was last updated.
    - `score` integer, nullable — The package score percentage (0-100).
    - `versionCount` integer, required — The number of versions of the package.
    - `dependencyCount` integer, required — The number of dependencies of the package.
    - `dependentCount` integer, required — The number of packages that depend on this package.
    - `latestVersion` string, nullable — The latest version of the package.
    - `whenFeatured` string, date-time, nullable — The date and time when the package was featured.
    - `isArchived` boolean, required — Whether the package is archived.
    - `readmeSource` 'readme' | 'jsdoc', required — The source of the package readme.
  - `updated` PackageVersion[], required — The recently uploaded package versions.
    - `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.
    - `yanked` boolean, required — Whether the version has been yanked.
    - `usesNpm` boolean, required — Whether the version uses npm dependencies.
    - `newerVersionsCount` integer, required — The number of newer versions.
    - `lifetimeDownloadCount` integer, required — The total number of downloads for this version.
    - `rekorLogId` string, nullable — Rekor log ID for the published package version.
    - `license` string, nullable — The license of the package version.
    - `readmePath` string, nullable — The path to the readme file in the package.
    - `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.
  - `featured` Package[], required — The featured packages
    - `scope` string, required — The name of a scope. This must not be @ prefixed.
    - `name` string, required — The name of a package.
    - `description` string, required — The description of the package.
    - `runtimeCompat` RuntimeCompat
      - `browser` boolean, nullable — Whether the package is compatible with web browsers.
      - `deno` boolean, nullable — Whether the package is compatible with Deno.
      - `node` boolean, nullable — Whether the package is compatible with Node.js.
      - `workerd` boolean, nullable — Whether the package is compatible with workerd.
      - `bun` boolean, nullable — Whether the package is compatible with Bun.
    - `createdAt` string, date-time, required — The date and time when the package was created.
    - `updatedAt` string, date-time, required — The date and time when the package was last updated.
    - `githubRepository` GitHubRepository
      - `id` integer, required — The GitHub repository ID.
      - `owner` string, required — The GitHub user / organization of the repository.
      - `name` string, required — The GitHub repository name.
      - `createdAt` string, date-time, required — The date and time when the GitHub repository link was created.
      - `updatedAt` string, date-time, required — The date and time when the GitHub repository link was last updated.
    - `score` integer, nullable — The package score percentage (0-100).
    - `versionCount` integer, required — The number of versions of the package.
    - `dependencyCount` integer, required — The number of dependencies of the package.
    - `dependentCount` integer, required — The number of packages that depend on this package.
    - `latestVersion` string, nullable — The latest version of the package.
    - `whenFeatured` string, date-time, nullable — The date and time when the package was featured.
    - `isArchived` boolean, required — Whether the package is archived.
    - `readmeSource` 'readme' | 'jsdoc', required — The source of the package readme.

## Changes

- **2026-02-06** `0c4e8d8a5c2a` — 2 breaking, 36 info
  - the response property `featured/items/score` became nullable for the status `200`
  - the response property `newest/items/score` became nullable for the status `200`
  - added the optional property `featured/items/latestVersion` to the response with the `200` status
  - added the optional property `featured/items/whenFeatured` to the response with the `200` status
  - …34 more
- **2025-03-11** `34299b1d5e46` — 1 breaking
  - the response property `updated/items/rekorLogId` became nullable for the status `200`
- **2024-07-03** `bdf10fdaec39` — 1 breaking, 4 info
  - removed the required property `updated/items/name` from the response with the `200` status
  - added the optional property `newest/items/score` to the response with the `200` status
  - added the optional property `updated/items/package` to the response with the `200` status
  - added the optional property `updated/items/rekorLogId` to the response with the `200` status
  - …1 more
- **2024-03-14** `cebb48e7803a` — 1 info
  - added the optional property `newest/items/runtimeCompat` to the response with the `200` status
- **2024-03-14** `a15e5ad40921` — 1 info
  - added the optional property `newest/items/githubRepository` to the response with the `200` status

[Full history](https://skmtc.dev/jsr-io/apis/jsr-api/changes/stats/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/0c4e8d8a5c2a/schema)
