---
title: "Returns a list of Genres with counts for counts when Genre is on Series/Chapter"
method: POST
path: "/api/Metadata/genres-with-counts"
tags: ["Metadata"]
---

# Returns a list of Genres with counts for counts when Genre is on Series/Chapter

`POST /api/Metadata/genres-with-counts`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Metadata/genres-with-counts`
- Auth: API key in header `x-api-key`

## Request body

- UserParams
  - `pageNumber` integer
  - `pageSize` integer

## Response `200`

OK

- BrowseGenreDto[]
  - `id` integer
  - `title` string, nullable, required
  - `seriesCount` integer
  - `chapterCount` integer

## Changes

- **2025-06-14** `2dd2113f7ecd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Metadata/genres-with-counts/post.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)
