---
title: "Returns reading history events for a give or all users, broken up by day, and format"
method: GET
path: "/api/Stats/reading-counts"
tags: ["Stats"]
---

# Returns reading history events for a give or all users, broken up by day, and format

`GET /api/Stats/reading-counts`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Stats/reading-counts`
- Auth: API key in header `x-api-key`

## Query parameters

- `StartDate` string, date-time
- `TimeZoneId` string
- `EndDate` string, date-time
- `Libraries` integer[]
- `userId` integer

## Response `200`

OK

- DateTimeStatCountWithFormat[]
  - `value` string, date-time
  - `count` integer
  - `format` 0 | 1 | 2 | 3 | 4: Members: - `0` — Image - `1` — Archive - `2` — Unknown - `3` — EPUB (Epub) - `4` — PDF (Pdf)

## Changes

- **2026-01-09** `cc298937f548`: 1 info
  - added the new optional `query` request parameter `TimeZoneId`
- **2025-12-19** `add8826dba01`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Stats/reading-counts/get.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
