---
title: "Get Artifact Hub stats"
method: GET
path: "/stats"
tags: ["Stats"]
---

# Get Artifact Hub stats

`GET /stats`

## Request

- Base URL: `https://artifacthub.io/api/v1`
- URL: `https://artifacthub.io/api/v1/stats`
- Auth: none declared
- TypeScript: <https://skmtc.dev/artifacthub/apis/artifact-hub/docs/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Get Artifact Hub stats

## Response `200`

- object
  - `generated_at` integer, required
  - `packages` object, required
    - `total` integer, required
    - `running_total` array[]
      - integer[]
    - `created_monthly` array[]
      - integer[]
    - `views_daily` array[]
      - integer[]
  - `repositories` object, required
    - `total` integer, required
    - `running_total` array[]
      - integer[]
    - `created_monthly` array[]
      - integer[]
  - `snapshots` object, required
    - `total` integer, required
    - `running_total` array[]
      - integer[]
    - `created_monthly` array[]
      - integer[]
  - `organizations` object, required
    - `total` integer, required
    - `running_total` array[]
      - integer[]
  - `users` object, required
    - `total` integer, required
    - `running_total` array[]
      - integer[]

## Other responses

- `429`: The user has sent too many requests in a given amount of time
- `500`: The server encountered an unexpected condition that prevented it from fulfilling the request

---

[API](https://skmtc.dev/artifacthub/apis/artifact-hub.md) - [All operations](https://skmtc.dev/artifacthub/apis/artifact-hub/llms.txt) - [OpenAPI document](https://skmtc.dev/artifacthub/apis/artifact-hub/revisions/d2e9234264b1?raw)
