---
title: "Get top 250 facets report data"
method: POST
path: "/api/v11/reports/top-facets"
tags: ["Report"]
---

# Get top 250 facets report data

`POST /api/v11/reports/top-facets`

## Request

- Base URL: `https://indexing-dev.hawksearch.net`
- URL: `https://indexing-dev.hawksearch.net/api/v11/reports/top-facets`
- Auth: none declared. Required headers: `X-HawkSearch-ApiKey`
- TypeScript: <https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/docs/api/v11/reports/top-facets/post.ts> (a function with typed inputs; its response is checked against the schema)

Gets Top 250 Facets report data

## Headers

- `X-HawkSearch-ApiKey` string, required

## Request body

- ReportParamsBase: Basic report parameters with FromDate and ToDate.
  - `FromDate` string, date-time: Begining of report's period.
  - `ToDate` string, date-time: Ending of report's period.

## Response `200`

OK

- Top10FacetData[]
  - `NofSearches` integer
  - `Field` string
  - `FacetValue` string
  - `FacetName` string
  - `ItemClickCount` integer
  - `KeywordsList` FacetKeywordsData[]
    - `Keyword` string
    - `Count` integer

---

[API](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi.md) - [All operations](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hawksearch/apis/hawksearch-elasticsearch-indexingapi/revisions/24cba7bf3468?raw)
