---
title: "Get newly-banned user counts"
method: GET
path: "/api/v1/banned_users/counts"
tags: ["Stats"]
---

# Get newly-banned user counts

`GET /api/v1/banned_users/counts`

Returns the number of distinct users whose trust level was newly set to "red" (banned/convicted) over the last day, week, and month.

## Response `200`

successful

- object
  - `day` integer, required
  - `week` integer, required
  - `month` integer, required

---

[API](https://skmtc.net/hackclub/apis/hackatime-api.md) · [All operations](https://skmtc.net/hackclub/apis/hackatime-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hackclub/hackatime-api/versions/4214f8ab061e/schema)
