---
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
      - `owner` string — The GitHub user / organization of the repository.
      - `name` string — The GitHub repository name.
    - `score` number
  - `updated` PackageVersion[], required — The recently uploaded package versions.
    - `scope` string, required — The name of a scope. This must not be @ prefixed.
    - `package` string — The name of a package.
    - `version` string, required — A semantic version.
    - `yanked` boolean, required — Whether the version has been yanked.
    - `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.
    - `rekorLogId` string — Rekor log ID for the published package version.
  - `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
      - `owner` string — The GitHub user / organization of the repository.
      - `name` string — The GitHub repository name.
    - `score` number

## Changes

- **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
- **2024-02-28** `f8d3b912d946` — 2 breaking, 10 info
  - removed the required property `featured` from the response with the `200` status
  - removed the required property `updated/items/package` from the response with the `200` status
  - the `newest/items/name` response's property pattern `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` was added for the status `200`
  - the `newest/items/scope` response's property pattern `/^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/` was added for the status `200`
  - …8 more

[Change 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/bdf10fdaec39/schema)
